Merge "Use -Werror in device/linaro/hikey" am: be188a852e am: 082a0a936c
am: 5de1c20b38
Change-Id: I4ca48423c2da450946f323ac7add7e2accbf6be8
diff --git a/bluetooth/Android.bp b/bluetooth/Android.bp
index 142ced2..ab128ee 100644
--- a/bluetooth/Android.bp
+++ b/bluetooth/Android.bp
@@ -25,6 +25,13 @@
"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",