From: Chih-Hung Hsieh Date: Mon, 2 Oct 2017 22:03:42 +0000 (-0700) Subject: Use -Werror in system/hardware/interfaces X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=47040c3486;p=android-x86%2Fsystem-hardware-interfaces.git Use -Werror in system/hardware/interfaces Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I7c629d61dd0b04a83ce4d895eedcb8e54f22f12f --- 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", ], }