summaryrefslogtreecommitdiffstats
path: root/contexthub
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-10-25 16:18:46 -0700
committerChih-Hung Hsieh <chh@google.com>2017-10-25 16:20:45 -0700
commitcd769859090b02d23d01990a73d300ccaf026fe3 (patch)
treef0c84e3923ab7fc450fbad2996817630c30ee3dd /contexthub
parentd5a3ac60f3d083e4c218fa436206c7da67298e10 (diff)
downloadplatform_hardware_interfaces-cd769859090b02d23d01990a73d300ccaf026fe3.tar.gz
platform_hardware_interfaces-cd769859090b02d23d01990a73d300ccaf026fe3.tar.bz2
platform_hardware_interfaces-cd769859090b02d23d01990a73d300ccaf026fe3.zip
Use -Werror in hardware/interfaces
Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I2b8572a3480434f9dad2ae4f8a608ed82281cc68
Diffstat (limited to 'contexthub')
-rw-r--r--contexthub/1.0/default/Android.bp1
1 files changed, 1 insertions, 0 deletions
diff --git a/contexthub/1.0/default/Android.bp b/contexthub/1.0/default/Android.bp
index 9f5131d6e3..d1db6a66c4 100644
--- a/contexthub/1.0/default/Android.bp
+++ b/contexthub/1.0/default/Android.bp
@@ -39,6 +39,7 @@ cc_binary {
proprietary: true,
init_rc: ["android.hardware.contexthub@1.0-service.rc"],
srcs: ["service.cpp"],
+ cflags: ["-Wall", "-Werror"],
shared_libs: [
"libbase",