1package {
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
11filegroup {
12    name: "bionic-gensyscalls",
13    srcs: ["gensyscalls.py"],
14}
15
16// Generate the C++ policy sources for app and system seccomp-bpf filters.
17python_binary_host {
18    name: "genseccomp",
19    main: "genseccomp.py",
20
21    srcs: [
22        "genseccomp.py",
23        "gensyscalls.py",
24    ],
25
26    data: [
27        ":all_kernel_uapi_headers",
28    ],
29}
30
31python_binary_host {
32    name: "genfunctosyscallnrs",
33    main: "genfunctosyscallnrs.py",
34
35    srcs: [
36        "genseccomp.py",
37        "genfunctosyscallnrs.py",
38        "gensyscalls.py",
39    ],
40
41    data: [
42        ":all_kernel_uapi_headers",
43    ],
44}
45