platform_system_bpf/Android.bp
Bernie Innocenti b2515ff7ce Disable noisy clang-tidy warning for int and long types
These are hard to avoid when working with POSIX APIs:

  warning: consider replacing 'unsigned int' with 'uint32' [google-runtime-int]

Change-Id: I30047ff05ff680a9337671368e6b82ba88244f79
2018-10-25 22:12:07 +09:00

19 lines
446 B
Text

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*",
// Disabling due to many unavoidable warnings from POSIX API usage.
"-google-runtime-int",
],
}