1package {
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
18cc_defaults {
19    name: "bpf_defaults",
20    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*",
32        "-cert-err34-c",
33        "clang-analyzer-security*",
34        // Disabling due to many unavoidable warnings from POSIX API usage.
35        "-google-runtime-int",
36    ],
37}
38