OSDN Git Service

Use -Werror in system/hardware/interfaces
authorChih-Hung Hsieh <chh@google.com>
Mon, 2 Oct 2017 22:03:42 +0000 (15:03 -0700)
committerChih-Hung Hsieh <chh@google.com>
Mon, 2 Oct 2017 22:05:53 +0000 (15:05 -0700)
Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: I7c629d61dd0b04a83ce4d895eedcb8e54f22f12f

wifi/keystore/1.0/Android.bp
wifi/keystore/1.0/vts/functional/Android.bp

index ab4d027..97d2815 100644 (file)
@@ -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++"],
 }
index b96c645..cd591ec 100644 (file)
@@ -33,5 +33,7 @@ cc_test {
     cflags: [
         "-O0",
         "-g",
+        "-Wall",
+        "-Werror",
     ],
 }