Merge "Use -Werror in packages/inputmethods/LatinIME/native/jni"

main
Chih-hung Hsieh 2017-11-03 00:47:18 +00:00 committed by Gerrit Code Review
commit a3addf1187
1 changed files with 1 additions and 0 deletions

View File

@ -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