Use -Werror in hardware/interfaces/light/2.0

Bug: 66996870
Test: build with WITH_TIDY=1
Change-Id: If922bef89eba554c37b74a574bb0a042cfad46c7
Merged-In: I15c4779a7c9eea39fb20746f69800dcf20670275
This commit is contained in:
Chih-Hung Hsieh 2017-11-20 14:06:42 -08:00 committed by Chih-hung Hsieh
parent 6a5daf8cac
commit 1b275a2c41

View file

@ -7,6 +7,8 @@ LOCAL_MODULE_RELATIVE_PATH := hw
LOCAL_SRC_FILES := \
Light.cpp \
LOCAL_CFLAGS := -Wall -Werror
LOCAL_SHARED_LIBRARIES := \
libhidlbase \
libhidltransport \
@ -28,6 +30,8 @@ LOCAL_INIT_RC := android.hardware.light@2.0-service.rc
LOCAL_SRC_FILES := \
service.cpp \
LOCAL_CFLAGS := -Wall -Werror
LOCAL_SHARED_LIBRARIES := \
liblog \
libcutils \