From cba9e23bb19db123fa5b491b69b0b32ca5eca254 Mon Sep 17 00:00:00 2001 From: Jean Chalard Date: Wed, 13 Jul 2011 16:15:55 +0900 Subject: [PATCH] Activate the implementation for the new dictionary format. Bug: 4392433 Change-Id: I20b05d012b1fb193002312792d0309d36c89d16a --- CleanSpec.mk | 1 + native/Android.mk | 3 +++ 2 files changed, 4 insertions(+) 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 \