Merge "BPF: rename bpf_defaults to bpf_cc_defaults" into main

This commit is contained in:
Maciej Żenczykowski 2024-09-13 22:15:27 +00:00 • committed by Gerrit Code Review
commit 9daf0afa3d
2 changed files with 4 additions and 10 deletions

View file

@ -48,11 +48,10 @@ cc_test {
"BpfMapTest.cpp",
"BpfRingbufTest.cpp",
],
defaults: ["bpf_defaults"],
defaults: ["bpf_cc_defaults"],
cflags: [
"-Wall",
"-Werror",
"-Wno-error=unused-variable",
"-Wno-unused-variable",
"-Wno-sign-compare",
],
header_libs: ["bpf_headers"],
static_libs: ["libgmock"],

View file

@ -33,12 +33,7 @@ install_symlink {
cc_binary {
name: "netbpfload",
defaults: ["bpf_defaults"],
cflags: [
"-Wall",
"-Werror",
"-Wthread-safety",
],
defaults: ["bpf_cc_defaults"],
sanitize: {
integer_overflow: true,
},