Merge "Use -Werror in device/linaro/hikey" am: be188a852e
am: 082a0a936c

Change-Id: I561a0b1e25aa06cba5711d065ea69320c6aa0fc6
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",