Use -Werror in packages/inputmethods/LatinIME/native/jni
Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I6b91302908e147077bb4fd0a8718c39357337133main
parent
f3681fed6d
commit
fab2c3c0ea
|
@ -42,6 +42,7 @@ include $(CLEAR_VARS)
|
||||||
LATIN_IME_TEST_SRC_DIR := tests
|
LATIN_IME_TEST_SRC_DIR := tests
|
||||||
LOCAL_ADDRESS_SANITIZER := true
|
LOCAL_ADDRESS_SANITIZER := true
|
||||||
LOCAL_CFLAGS += -Wno-unused-parameter -Wno-unused-function
|
LOCAL_CFLAGS += -Wno-unused-parameter -Wno-unused-function
|
||||||
|
LOCAL_CFLAGS += -Wall -Werror
|
||||||
LOCAL_CXX_STL := libc++
|
LOCAL_CXX_STL := libc++
|
||||||
LOCAL_C_INCLUDES += $(LOCAL_PATH)/$(LATIN_IME_SRC_DIR)
|
LOCAL_C_INCLUDES += $(LOCAL_PATH)/$(LATIN_IME_SRC_DIR)
|
||||||
LOCAL_MODULE := liblatinime_host_unittests
|
LOCAL_MODULE := liblatinime_host_unittests
|
||||||
|
|
Loading…
Reference in New Issue