platform_bionic/libc/tools/Android.bp
Elliott Hughes 291f98a66d Switch to the more common idiom for scripts in genrules.
Bug: http://b/198619163
Test: treehugger
Change-Id: I8a6e9e179aef45e1b0622a2e15f80f92041f9736
2022-06-30 23:35:11 +00:00

44 lines
969 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"],
}
python_binary_host {
name: "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",
],
}