2018-10-17 05:31:52 +02:00
|
|
|
cc_defaults {
|
|
|
|
name: "bpf_defaults",
|
|
|
|
cpp_std: "c++17",
|
|
|
|
cflags: [
|
|
|
|
"-Wall",
|
|
|
|
"-Werror",
|
|
|
|
"-Wnullable-to-nonnull-conversion",
|
|
|
|
"-Wthread-safety",
|
|
|
|
"-Wunused-parameter",
|
|
|
|
],
|
|
|
|
tidy: true,
|
|
|
|
tidy_checks: [
|
|
|
|
"android-*",
|
|
|
|
"cert-*",
|
|
|
|
"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
|
|
|
],
|
|
|
|
}
|