diff --git a/CleanSpec.mk b/CleanSpec.mk index 44ff0a29d..9b498f449 100644 --- a/CleanSpec.mk +++ b/CleanSpec.mk @@ -47,6 +47,7 @@ $(call add-clean-step, rm -rf $(OUT_DIR)/target/common/obj/APPS/LatinIME*) $(call add-clean-step, rm -rf $(PRODUCT_OUT)/system/app/LatinIME.apk) +$(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libjni_latinime_intermediates) $(call add-clean-step, rm -rf $(PRODUCT_OUT)/obj/SHARED_LIBRARIES/libjni_latinime_intermediates) # ************************************************ # NEWER CLEAN STEPS MUST BE AT THE END OF THE LIST diff --git a/native/Android.mk b/native/Android.mk index c22191319..fc6f19671 100644 --- a/native/Android.mk +++ b/native/Android.mk @@ -8,6 +8,9 @@ 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 +# Use the new dictionary format +LOCAL_CFLAGS += -DNEW_DICTIONARY_FORMAT + LOCAL_SRC_FILES := \ jni/com_android_inputmethod_keyboard_ProximityInfo.cpp \ jni/com_android_inputmethod_latin_BinaryDictionary.cpp \