Fix the sandbox build & get rid of ICU dependency.
Changed package name from com.android.inputmethod.latin2 to com.google.android.inputmethod.latin2.
Copied LatinIME's current dictionaries from master's vendor directory.
Confirmed latin_tolower() function returns the result identical to ICU's u_tolower().
- Note that I will merge the ICU dependency removal change to master.
Change-Id: Ia85bd3e88ce5159934684e2228d8b0c5a8885296
diff --git a/native/Android.mk b/native/Android.mk
index 6a9a3c5..260ca30 100644
--- a/native/Android.mk
+++ b/native/Android.mk
@@ -5,10 +5,10 @@
LOCAL_SRC_FILES := \
jni/com_android_inputmethod_latin_BinaryDictionary.cpp \
- src/dictionary.cpp
+ src/dictionary.cpp \
+ src/char_utils.cpp
LOCAL_C_INCLUDES += \
- external/icu4c/common \
$(JNI_H_INCLUDE)
LOCAL_LDLIBS := -lm
@@ -18,11 +18,10 @@
LOCAL_SHARED_LIBRARIES := \
libandroid_runtime \
libcutils \
- libutils \
- libicuuc
+ libutils
LOCAL_MODULE := libjni_latinime2
-LOCAL_MODULE_TAGS := user
+LOCAL_MODULE_TAGS := optional
include $(BUILD_SHARED_LIBRARY)