summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTreehugger Robot <treehugger-gerrit@google.com>2017-10-12 21:34:36 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2017-10-12 21:34:36 +0000
commitbe188a852e655bb5be1807dd70eca02d750be7ea (patch)
tree4b2c35b432f2f203fa94004e549784c10e230670
parent61831749a4187e0d2373e9c18ad4925b1aebf499 (diff)
parentf006a41cc9992969f47ec0acc160854f2528dd18 (diff)
downloadhikey-be188a852e655bb5be1807dd70eca02d750be7ea.tar.gz
Merge "Use -Werror in device/linaro/hikey"
-rw-r--r--bluetooth/Android.bp7
1 files changed, 7 insertions, 0 deletions
diff --git a/bluetooth/Android.bp b/bluetooth/Android.bp
index 142ced28..ab128eee 100644
--- a/bluetooth/Android.bp
+++ b/bluetooth/Android.bp
@@ -25,6 +25,13 @@ cc_binary {
"hci_protocol.cc",
"service.cc",
],
+ cflags: [
+ "-Wall",
+ "-Werror",
+ "-Wno-error=unused-const-variable",
+ "-Wno-error=unused-function",
+ "-Wno-error=unused-lambda-capture",
+ ],
shared_libs: [
"android.hardware.bluetooth@1.0",
"libbase",