platform_bionic/libc/tools/Android.bp
Jingwen Chen c57947860d bp2build: remove some bp2build_available props, use package_allowlist instead.
Test: build/bazel/scripts/milestone-2/demo.sh full

Test: bazel query //bionic/...
Change-Id: I737574766be898279d8bf6f3f0adb43dcc40c220
2021-03-19 02:06:27 -04:00

44 lines
967 B
Text

package {
// See: http://go/android-license-faq
// A large-scale-change added 'default_applicable_licenses' to import
// all of the 'license_kinds' from "bionic_libc_license"
// to get the below license kinds:
// SPDX-license-identifier-Apache-2.0
// legacy_unencumbered
default_applicable_licenses: ["bionic_libc_license"],
}
filegroup {
name: "bionic-gensyscalls",
srcs: ["gensyscalls.py"],
}
// Generate the C++ policy sources for app and system seccomp-bpf filters.
python_binary_host {
name: "genseccomp",
main: "genseccomp.py",
srcs: [
"genseccomp.py",
"gensyscalls.py",
],
data: [
":all_kernel_uapi_headers",
],
}
python_binary_host {
name: "genfunctosyscallnrs",
main: "genfunctosyscallnrs.py",
srcs: [
"genseccomp.py",
"genfunctosyscallnrs.py",
"gensyscalls.py",
],
data: [
":all_kernel_uapi_headers",
],
}