2021-02-04 07:55:55 +01:00
|
|
|
package {
|
|
|
|
default_applicable_licenses: ["system_bpf_license"],
|
|
|
|
}
|
|
|
|
|
|
|
|
// Added automatically by a large-scale-change
|
|
|
|
// http://go/android-license-faq
|
|
|
|
license {
|
|
|
|
name: "system_bpf_license",
|
|
|
|
visibility: [":__subpackages__"],
|
|
|
|
license_kinds: [
|
|
|
|
"SPDX-license-identifier-Apache-2.0",
|
|
|
|
],
|
|
|
|
license_text: [
|
|
|
|
"NOTICE",
|
|
|
|
],
|
|
|
|
}
|
|
|
|
|
2018-10-17 05:31:52 +02:00
|
|
|
cc_defaults {
|
|
|
|
name: "bpf_defaults",
|
|
|
|
cflags: [
|
|
|
|
"-Wall",
|
|
|
|
"-Werror",
|
|
|
|
"-Wnullable-to-nonnull-conversion",
|
|
|
|
"-Wthread-safety",
|
|
|
|
"-Wunused-parameter",
|
|
|
|
],
|
|
|
|
tidy: true,
|
|
|
|
tidy_checks: [
|
|
|
|
"android-*",
|
|
|
|
"cert-*",
|
|
|
|
"clang-analyzer-security*",
|
2018-11-27 00:18:46 +01:00
|
|
|
"-cert-err34-c",
|
2018-11-21 02:37:00 +01:00
|
|
|
"clang-analyzer-security*",
|
2018-10-25 15:12:07 +02:00
|
|
|
// Disabling due to many unavoidable warnings from POSIX API usage.
|
|
|
|
"-google-runtime-int",
|
2018-10-17 05:31:52 +02:00
|
|
|
],
|
|
|
|
}
|