summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-10-12 21:44:14 +0000
committerandroid-build-merger <android-build-merger@google.com>2017-10-12 21:44:14 +0000
commit082a0a936cd43cff1017b2cd2a294822bb42f4a4 (patch)
tree53c25f78e01f7b07cf1d66c027a8c9f7187b569f
parent3d825a7e5eef96cffb090b98faf9b75a19f88d06 (diff)
parentbe188a852e655bb5be1807dd70eca02d750be7ea (diff)
downloadhikey-082a0a936cd43cff1017b2cd2a294822bb42f4a4.tar.gz
Merge "Use -Werror in device/linaro/hikey"
am: be188a852e Change-Id: Ie12d771f6c2a531de875b9f7f394306df7af93bc
-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",