From fab2c3c0eab1b8f2cebfbe4d28fb44549dcfca59 Mon Sep 17 00:00:00 2001 From: Chih-Hung Hsieh Date: Thu, 2 Nov 2017 10:18:54 -0700 Subject: [PATCH] Use -Werror in packages/inputmethods/LatinIME/native/jni Bug: 66996870 Test: build with WITH_TIDY=1 Change-Id: I6b91302908e147077bb4fd0a8718c39357337133 --- native/jni/HostUnitTests.mk | 1 + 1 file changed, 1 insertion(+) 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