Merge "Use -Werror in device/linaro/hikey"
am: be188a852e
Change-Id: Ie12d771f6c2a531de875b9f7f394306df7af93bc
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",