Use -Werror in device/google/wahoo

am: 20197b4ece

Change-Id: Ib285db2339bbf4a29267539bc3ad371d97d9143d
This commit is contained in:
Chih-Hung Hsieh
2017-11-07 02:03:28 +00:00
committed by android-build-merger
3 changed files with 3 additions and 1 deletions

View File

@@ -13,6 +13,8 @@ LOCAL_C_INCLUDES :=
LOCAL_CFLAGS := $(common_flags) -DLOG_TAG=\"folio_daemon\" -DLOG_NDEBUG=0
LOCAL_CFLAGS += -Wall -Werror
LOCAL_CLANG := true
LOCAL_MODULE := folio_daemon
LOCAL_MODULE_TAGS := optional

View File

@@ -23,6 +23,7 @@ LOCAL_SHARED_LIBRARIES := libc libcutils liblog
LOCAL_CFLAGS := $(common_flags) \
-DLOG_TAG=\"qdlights\" \
-DDEFAULT_LOW_PERSISTENCE_MODE_BRIGHTNESS=$(DEFAULT_LOW_PERSISTENCE_MODE_BRIGHTNESS)
LOCAL_CFLAGS += -Wall -Werror
LOCAL_CLANG := true
LOCAL_MODULE := lights.$(TARGET_DEVICE)
LOCAL_MODULE_TAGS := optional

View File

@@ -219,7 +219,6 @@ set_speaker_light_locked(struct light_device_t* dev,
struct light_state_t const* state)
{
int red, green, blue;
int blink;
int onMS, offMS;
unsigned int colorRGB;