aboutsummaryrefslogtreecommitdiffstats
path: root/native
diff options
context:
space:
mode:
authorChih-Hung Hsieh <chh@google.com>2017-11-02 10:18:54 -0700
committerChih-Hung Hsieh <chh@google.com>2017-11-02 10:18:54 -0700
commitfab2c3c0eab1b8f2cebfbe4d28fb44549dcfca59 (patch)
tree3271cb2a2a1b5300823fcda64accc894d8ddb506 /native
parentf3681fed6d7df5450537ca4c8717ce077ec58770 (diff)
downloadlatinime-fab2c3c0eab1b8f2cebfbe4d28fb44549dcfca59.tar.gz
latinime-fab2c3c0eab1b8f2cebfbe4d28fb44549dcfca59.tar.xz
latinime-fab2c3c0eab1b8f2cebfbe4d28fb44549dcfca59.zip
Use -Werror in packages/inputmethods/LatinIME/native/jni
Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I6b91302908e147077bb4fd0a8718c39357337133
Diffstat (limited to 'native')
-rw-r--r--native/jni/HostUnitTests.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/native/jni/HostUnitTests.mk b/native/jni/HostUnitTests.mk
index baf1cace3..94cd764b4 100644
--- a/native/jni/HostUnitTests.mk
+++ b/native/jni/HostUnitTests.mk
@@ -42,6 +42,7 @@ include $(CLEAR_VARS)
LATIN_IME_TEST_SRC_DIR := tests
LOCAL_ADDRESS_SANITIZER := true
LOCAL_CFLAGS += -Wno-unused-parameter -Wno-unused-function
+LOCAL_CFLAGS += -Wall -Werror
LOCAL_CXX_STL := libc++
LOCAL_C_INCLUDES += $(LOCAL_PATH)/$(LATIN_IME_SRC_DIR)
LOCAL_MODULE := liblatinime_host_unittests