From cd769859090b02d23d01990a73d300ccaf026fe3 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Wed, 25 Oct 2017 16:18:46 -0700 Subject: Use -Werror in hardware/interfaces Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I2b8572a3480434f9dad2ae4f8a608ed82281cc68 --- contexthub/1.0/default/Android.bp | 1 + 1 file changed, 1 insertion(+) (limited to 'contexthub') 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", -- cgit v1.2.3