291f98a66d
Bug: http://b/198619163 Test: treehugger Change-Id: I8a6e9e179aef45e1b0622a2e15f80f92041f9736
44 lines
969 B
Text
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",
|
|
],
|
|
}
|