summaryrefslogtreecommitdiffstats
path: root/native/Android.mk
diff options
context:
space:
mode:
authorAmith Yamasani <yamasani@google.com>2010-03-09 12:46:57 -0800
committerAmith Yamasani <yamasani@google.com>2010-03-09 15:01:09 -0800
commit07b1603a3f9611f6d15dd7fcedf883d6ef8e5817 (patch)
tree3a88daaee27b886909a5af8a646b41dfb794a9f8 /native/Android.mk
parent81c52293f84ce475ac6b1661f4a4b92703405247 (diff)
downloadandroid_packages_inputmethods_LatinIME-07b1603a3f9611f6d15dd7fcedf883d6ef8e5817.tar.gz
android_packages_inputmethods_LatinIME-07b1603a3f9611f6d15dd7fcedf883d6ef8e5817.tar.bz2
android_packages_inputmethods_LatinIME-07b1603a3f9611f6d15dd7fcedf883d6ef8e5817.zip
Don't let the native code target be included twice when unbundling.
Move java code to a different directory so that the unbundled version doesn't try to compile the native code again. Change-Id: I05cf9e643824ddc448821f69805ccb0240c5b986
Diffstat (limited to 'native/Android.mk')
-rw-r--r--native/Android.mk28
1 files changed, 28 insertions, 0 deletions
diff --git a/native/Android.mk b/native/Android.mk
new file mode 100644
index 000000000..9ba9f75ec
--- /dev/null
+++ b/native/Android.mk
@@ -0,0 +1,28 @@
+LOCAL_PATH := $(call my-dir)
+include $(CLEAR_VARS)
+
+LOCAL_C_INCLUDES += $(LOCAL_PATH)/src
+
+LOCAL_SRC_FILES := \
+ jni/com_android_inputmethod_latin_BinaryDictionary.cpp \
+ src/dictionary.cpp
+
+LOCAL_C_INCLUDES += \
+ external/icu4c/common \
+ $(JNI_H_INCLUDE)
+
+LOCAL_LDLIBS := -lm
+
+LOCAL_PRELINK_MODULE := false
+
+LOCAL_SHARED_LIBRARIES := \
+ libandroid_runtime \
+ libcutils \
+ libutils \
+ libicuuc
+
+LOCAL_MODULE := libjni_latinime
+
+LOCAL_MODULE_TAGS := user
+
+include $(BUILD_SHARED_LIBRARY)