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",