aboutsummaryrefslogtreecommitdiffstats
path: root/native/Android.mk
diff options
context:
space:
mode:
Diffstat (limited to 'native/Android.mk')
-rw-r--r--native/Android.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/native/Android.mk b/native/Android.mk
index c8342e31f..4727b1e39 100644
--- a/native/Android.mk
+++ b/native/Android.mk
@@ -3,6 +3,11 @@ include $(CLEAR_VARS)
LOCAL_C_INCLUDES += $(LOCAL_PATH)/src
+LOCAL_CFLAGS += -Werror -Wall
+
+# To suppress compiler warnings for unused variables/functions used for debug features etc.
+LOCAL_CFLAGS += -Wno-unused-parameter -Wno-unused-function
+
LOCAL_SRC_FILES := \
jni/com_android_inputmethod_keyboard_ProximityInfo.cpp \
jni/com_android_inputmethod_latin_BinaryDictionary.cpp \