diff options
author | Chenbo Feng <fengc@google.com> | 2018-11-20 17:37:00 -0800 |
---|---|---|
committer | Chenbo Feng <fengc@google.com> | 2018-11-21 12:11:55 -0800 |
commit | 249e2f869e111a21749da7edcb8351b7119a6356 (patch) | |
tree | 959c10b50ae890f760b9686813888b871eaeeafc /Android.bp | |
parent | 79a4da2d1ed7ce4b4a95514fb2f416503baf7d22 (diff) | |
download | bpf-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.bp | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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", ], |