2009-03-13 22:11:42 +00:00
|
|
|
LOCAL_PATH := $(call my-dir)
|
|
|
|
include $(CLEAR_VARS)
|
|
|
|
|
|
|
|
LOCAL_C_INCLUDES += $(LOCAL_PATH)/src
|
|
|
|
|
|
|
|
LOCAL_SRC_FILES := \
|
2010-12-01 12:22:15 +00:00
|
|
|
jni/com_android_inputmethod_latin_BinaryDictionary.cpp \
|
|
|
|
src/bigram_dictionary.cpp \
|
|
|
|
src/char_utils.cpp \
|
|
|
|
src/dictionary.cpp \
|
|
|
|
src/unigram_dictionary.cpp
|
2009-03-13 22:11:42 +00:00
|
|
|
|
2010-12-01 06:37:31 +00:00
|
|
|
#FLAG_DBG := true
|
|
|
|
|
2010-12-27 20:26:01 +00:00
|
|
|
ifneq ($(TARGET_ARCH),x86)
|
2010-12-01 06:37:31 +00:00
|
|
|
ifneq ($(FLAG_DBG), true)
|
|
|
|
LOCAL_NDK_VERSION := 4
|
|
|
|
endif
|
|
|
|
|
2010-09-03 13:43:10 +00:00
|
|
|
LOCAL_SDK_VERSION := 8
|
2010-12-29 22:55:20 +00:00
|
|
|
endif #TARGET_ARCH = x86
|
2009-03-13 22:11:42 +00:00
|
|
|
|
|
|
|
LOCAL_MODULE := libjni_latinime
|
|
|
|
|
|
|
|
LOCAL_MODULE_TAGS := user
|
|
|
|
|
2010-12-01 06:37:31 +00:00
|
|
|
ifeq ($(FLAG_DBG), true)
|
|
|
|
$(warning "Making debug build.")
|
|
|
|
LOCAL_CFLAGS += -DFLAG_DBG
|
|
|
|
LOCAL_SHARED_LIBRARIES := libcutils libutils
|
|
|
|
endif
|
|
|
|
|
2009-03-13 22:11:42 +00:00
|
|
|
include $(BUILD_SHARED_LIBRARY)
|