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
|
|
|
|
|
2011-01-04 15:39:41 +00:00
|
|
|
TARGETING_UNBUNDLED_FROYO := true
|
|
|
|
|
|
|
|
ifeq ($(TARGET_ARCH), x86)
|
|
|
|
TARGETING_UNBUNDLED_FROYO := false
|
2010-12-01 06:37:31 +00:00
|
|
|
endif
|
|
|
|
|
2011-01-04 15:39:41 +00:00
|
|
|
ifeq ($(FLAG_DBG), true)
|
|
|
|
TARGETING_UNBUNDLED_FROYO := false
|
|
|
|
endif
|
|
|
|
|
|
|
|
ifeq ($(TARGETING_UNBUNDLED_FROYO), true)
|
|
|
|
LOCAL_NDK_VERSION := 4
|
|
|
|
LOCAL_SDK_VERSION := 8
|
|
|
|
endif
|
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)
|
2011-01-09 07:32:58 +00:00
|
|
|
$(warning Making debug version of native library)
|
2010-12-01 06:37:31 +00:00
|
|
|
LOCAL_CFLAGS += -DFLAG_DBG
|
|
|
|
LOCAL_SHARED_LIBRARIES := libcutils libutils
|
|
|
|
endif
|
|
|
|
|
2009-03-13 22:11:42 +00:00
|
|
|
include $(BUILD_SHARED_LIBRARY)
|