blob: c8c1681bcb0b65925994e8dad9cd1585818adace [file] [log] [blame]
Bob Badourdcbf8ca2021-02-03 22:55:55 -08001package {
2 default_applicable_licenses: ["system_bpf_license"],
3}
4
5// Added automatically by a large-scale-change
6// http://go/android-license-faq
7license {
8 name: "system_bpf_license",
9 visibility: [":__subpackages__"],
10 license_kinds: [
11 "SPDX-license-identifier-Apache-2.0",
12 ],
13 license_text: [
14 "NOTICE",
15 ],
16}
17
Chenbo Feng4c9e9ec2018-10-16 20:31:52 -070018cc_defaults {
19 name: "bpf_defaults",
Chenbo Feng4c9e9ec2018-10-16 20:31:52 -070020 cflags: [
21 "-Wall",
22 "-Werror",
23 "-Wnullable-to-nonnull-conversion",
24 "-Wthread-safety",
25 "-Wunused-parameter",
26 ],
27 tidy: true,
28 tidy_checks: [
29 "android-*",
30 "cert-*",
31 "clang-analyzer-security*",
Chenbo Feng1f20ad32018-11-26 15:18:46 -080032 "-cert-err34-c",
Chenbo Feng249e2f82018-11-20 17:37:00 -080033 "clang-analyzer-security*",
Bernie Innocentib2515ff2018-10-25 22:12:07 +090034 // Disabling due to many unavoidable warnings from POSIX API usage.
35 "-google-runtime-int",
Chenbo Feng4c9e9ec2018-10-16 20:31:52 -070036 ],
37}