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
|
|
|
],
|
|
|
|
}
|