-
Notifications
You must be signed in to change notification settings - Fork 1
/
Android.bp
38 lines (36 loc) · 977 Bytes
/
Android.bp
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
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",
],
}
cc_defaults {
name: "bpf_defaults",
cflags: [
"-Wall",
"-Werror",
"-Wnullable-to-nonnull-conversion",
"-Wthread-safety",
"-Wunused-parameter",
],
tidy: true,
tidy_checks: [
"android-*",
"cert-*",
"-cert-err34-c",
"clang-analyzer-security*",
// Many calls to snprintf/sscanf/memset/memcpy in libbpf.c have the following warning.
"-clang-analyzer-security.insecureAPI.DeprecatedOrUnsafeBufferHandling",
// Disabling due to many unavoidable warnings from POSIX API usage.
"-google-runtime-int",
],
}