Chenbo Feng | 4c9e9ec | 2018-10-16 20:31:52 -0700 | [diff] [blame] | 1 | cc_defaults { |
| 2 | name: "bpf_defaults", |
| 3 | cpp_std: "c++17", |
| 4 | cflags: [ |
| 5 | "-Wall", |
| 6 | "-Werror", |
| 7 | "-Wnullable-to-nonnull-conversion", |
| 8 | "-Wthread-safety", |
| 9 | "-Wunused-parameter", |
| 10 | ], |
| 11 | tidy: true, |
| 12 | tidy_checks: [ |
| 13 | "android-*", |
| 14 | "cert-*", |
| 15 | "clang-analyzer-security*", |
Bernie Innocenti | b2515ff | 2018-10-25 22:12:07 +0900 | [diff] [blame] | 16 | // Disabling due to many unavoidable warnings from POSIX API usage. |
| 17 | "-google-runtime-int", |
Chenbo Feng | 4c9e9ec | 2018-10-16 20:31:52 -0700 | [diff] [blame] | 18 | ], |
| 19 | } |