blob: 575a31a9a7e678476d7b4ea15544010644f4140c [file] [log] [blame]
Bob Badouraa7d8352021-02-19 13:06:22 -08001package {
2 // See: http://go/android-license-faq
3 // A large-scale-change added 'default_applicable_licenses' to import
4 // all of the 'license_kinds' from "bionic_libc_license"
5 // to get the below license kinds:
6 // SPDX-license-identifier-Apache-2.0
7 // legacy_unencumbered
8 default_applicable_licenses: ["bionic_libc_license"],
9}
10
Elliott Hughes782c4852019-04-16 12:31:00 -070011filegroup {
12 name: "bionic-gensyscalls",
Chris Parsons98b92e02021-02-23 15:27:58 -050013 srcs: ["gensyscalls.py"],
14 bazel_module: { bp2build_available: true },
Elliott Hughes782c4852019-04-16 12:31:00 -070015}
Jingwen Chenca366332021-01-29 05:16:32 -050016
17// Generate the C++ policy sources for app and system seccomp-bpf filters.
18python_binary_host {
19 name: "genseccomp",
20 main: "genseccomp.py",
21
22 srcs: [
23 "genseccomp.py",
24 "gensyscalls.py",
25 ],
26
27 data: [
28 ":all_kernel_uapi_headers",
29 ],
Jingwen Chenca366332021-01-29 05:16:32 -050030}
31
32python_binary_host {
33 name: "genfunctosyscallnrs",
34 main: "genfunctosyscallnrs.py",
35
36 srcs: [
37 "genseccomp.py",
38 "genfunctosyscallnrs.py",
39 "gensyscalls.py",
40 ],
41
42 data: [
43 ":all_kernel_uapi_headers",
44 ],
Jingwen Chenca366332021-01-29 05:16:32 -050045}