You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
967 B
45 lines
967 B
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",
|
|
],
|
|
}
|