summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-10-02 15:03:42 -0700
committerChih-Hung Hsieh <chh@google.com>2017-10-02 15:05:53 -0700
commit47040c34864b61ba00de92e8c044b6d58d6f4a0a (patch)
treecfa452aa9a6c59ee14aa931ec33de5dbeb85451f
parent9df7e12951779f4284927a686c7b60964976523f (diff)
downloadinterfaces-47040c34864b61ba00de92e8c044b6d58d6f4a0a.tar.gz
Use -Werror in system/hardware/interfaces
Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I7c629d61dd0b04a83ce4d895eedcb8e54f22f12f
-rw-r--r--wifi/keystore/1.0/Android.bp1
-rw-r--r--wifi/keystore/1.0/vts/functional/Android.bp2
2 files changed, 3 insertions, 0 deletions
diff --git a/wifi/keystore/1.0/Android.bp b/wifi/keystore/1.0/Android.bp
index ab4d027..97d2815 100644
--- a/wifi/keystore/1.0/Android.bp
+++ b/wifi/keystore/1.0/Android.bp
@@ -132,5 +132,6 @@ cc_test {
"android.system.wifi.keystore@1.0",
"android.system.wifi.keystore@1.0-adapter-helper",
],
+ cflags: ["-Wall", "-Werror"],
generated_sources: ["android.system.wifi.keystore@1.0-adapter_genc++"],
}
diff --git a/wifi/keystore/1.0/vts/functional/Android.bp b/wifi/keystore/1.0/vts/functional/Android.bp
index b96c645..cd591ec 100644
--- a/wifi/keystore/1.0/vts/functional/Android.bp
+++ b/wifi/keystore/1.0/vts/functional/Android.bp
@@ -33,5 +33,7 @@ cc_test {
cflags: [
"-O0",
"-g",
+ "-Wall",
+ "-Werror",
],
}