summaryrefslogtreecommitdiffstats
path: root/light
diff options
context:
space:
mode:
authorChih-Hung Hsieh2017-11-20 16:06:42 -0600
committerChih-hung Hsieh2017-11-28 11:13:03 -0600
commit1b275a2c416fc00a9227e9fb0937f2aaea01bda6 (patch)
tree8296ab566c112f552a5f0ad23701721bde31788c /light
parent6a5daf8cac8fdec6a1d48a4d699f22c82e448165 (diff)
downloadplatform-hardware-interfaces-1b275a2c416fc00a9227e9fb0937f2aaea01bda6.tar.gz
platform-hardware-interfaces-1b275a2c416fc00a9227e9fb0937f2aaea01bda6.tar.xz
platform-hardware-interfaces-1b275a2c416fc00a9227e9fb0937f2aaea01bda6.zip
Use -Werror in hardware/interfaces/light/2.0
Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: If922bef89eba554c37b74a574bb0a042cfad46c7 Merged-In: I15c4779a7c9eea39fb20746f69800dcf20670275
Diffstat (limited to 'light')
-rw-r--r--light/2.0/default/Android.mk4
1 files changed, 4 insertions, 0 deletions
diff --git a/light/2.0/default/Android.mk b/light/2.0/default/Android.mk
index 1f44e664..da75e1a6 100644
--- a/light/2.0/default/Android.mk
+++ b/light/2.0/default/Android.mk
@@ -7,6 +7,8 @@ LOCAL_MODULE_RELATIVE_PATH := hw
7LOCAL_SRC_FILES := \ 7LOCAL_SRC_FILES := \
8 Light.cpp \ 8 Light.cpp \
9 9
10LOCAL_CFLAGS := -Wall -Werror
11
10LOCAL_SHARED_LIBRARIES := \ 12LOCAL_SHARED_LIBRARIES := \
11 libhidlbase \ 13 libhidlbase \
12 libhidltransport \ 14 libhidltransport \
@@ -28,6 +30,8 @@ LOCAL_INIT_RC := android.hardware.light@2.0-service.rc
28LOCAL_SRC_FILES := \ 30LOCAL_SRC_FILES := \
29 service.cpp \ 31 service.cpp \
30 32
33LOCAL_CFLAGS := -Wall -Werror
34
31LOCAL_SHARED_LIBRARIES := \ 35LOCAL_SHARED_LIBRARIES := \
32 liblog \ 36 liblog \
33 libcutils \ 37 libcutils \