blob: 2fda45f786059688c0c9664082c3688f24524f99 [file] [log] [blame]
Chris Parsons8b768d32020-09-29 02:44:25 -04001# This file added for experimental interoperability with Bazel.
2package(
3 default_visibility = ["@//:__pkg__"],
4)
5
6genrule(
7 name = "syscalls-arm",
8 outs = ["syscalls-arm.S"],
9 srcs = ["SYSCALLS.TXT"],
10 tools = ["//bionic/libc/tools:bionic-gensyscalls"],
11 cmd = "$(location //bionic/libc/tools:bionic-gensyscalls) arm $< > $@",
12)
13
14genrule(
15 name = "syscalls-arm64",
16 outs = ["syscalls-arm64.S"],
17 srcs = ["SYSCALLS.TXT"],
18 tools = ["//bionic/libc/tools:bionic-gensyscalls"],
19 cmd = "$(location //bionic/libc/tools:bionic-gensyscalls) arm64 $< > $@",
20)
21
22genrule(
23 name = "syscalls-x86",
24 outs = ["syscalls-x86.S"],
25 srcs = ["SYSCALLS.TXT"],
26 tools = ["//bionic/libc/tools:bionic-gensyscalls"],
27 cmd = "$(location //bionic/libc/tools:bionic-gensyscalls) x86 $< > $@",
28)
29
30genrule(
31 name = "syscalls-x86_64",
32 outs = ["syscalls-x86_64.S"],
33 srcs = ["SYSCALLS.TXT"],
34 tools = ["//bionic/libc/tools:bionic-gensyscalls"],
35 cmd = "$(location //bionic/libc/tools:bionic-gensyscalls) x86_64 $< > $@",
36)