platform_system_bpf/Android.bp
Chenbo Feng 4c9e9ecc57 Fix the build problem with bpf project
Add the necessary Android.bp file and fix the compile error for the new
bpf project.

Fix the run time restart false alarm in bpf loader.

Bug: 112334572

Test: device boot and dumpsys netd show eBPF object okay, runtime
      restart netd and no bpfloader error showed in logcat.
Change-Id: Iae193bda45e50b7d22479086d6403e3c4fb185c4
2018-10-16 21:17:12 -07:00

17 lines
339 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*",
],
}