summaryrefslogtreecommitdiff
path: root/Android.bp
diff options
context:
space:
mode:
authorChenbo Feng <fengc@google.com>2018-11-20 17:37:00 -0800
committerChenbo Feng <fengc@google.com>2018-11-21 12:11:55 -0800
commit249e2f869e111a21749da7edcb8351b7119a6356 (patch)
tree959c10b50ae890f760b9686813888b871eaeeafc /Android.bp
parent79a4da2d1ed7ce4b4a95514fb2f416503baf7d22 (diff)
downloadbpf-249e2f869e111a21749da7edcb8351b7119a6356.tar.gz
Skip the bpf native tests on old devices
For older devices that doesn't have bpf support, skip the bpf native tests so we don't get false alarms. Fixed some compiler warning and added the clang-format check. Test: ./libnetdbpf_test/libnetdbpf_test Bug: 119526856 Change-Id: Icb73a8ee9b9dff9a0da28b96578e1245f1f3724f
Diffstat (limited to 'Android.bp')
-rw-r--r--Android.bp2
1 files changed, 2 insertions, 0 deletions
diff --git a/Android.bp b/Android.bp
index deaf71e..7d635d1 100644
--- a/Android.bp
+++ b/Android.bp
@@ -13,6 +13,8 @@ cc_defaults {
"android-*",
"cert-*",
"clang-analyzer-security*",
+ "-cert-err34-c",
+ "clang-analyzer-security*",
// Disabling due to many unavoidable warnings from POSIX API usage.
"-google-runtime-int",
],