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 := \
|
|
|
|
jni/com_android_inputmethod_latin_BinaryDictionary.cpp \
|
2010-08-20 06:35:02 +01:00
|
|
|
src/dictionary.cpp \
|
|
|
|
src/char_utils.cpp
|
2009-03-13 22:11:42 +00:00
|
|
|
|
2010-12-01 06:37:31 +00:00
|
|
|
#FLAG_DBG := true
|
|
|
|
|
|
|
|
ifneq ($(FLAG_DBG), true)
|
|
|
|
LOCAL_NDK_VERSION := 4
|
|
|
|
endif
|
|
|
|
|
2010-09-03 14:43:10 +01:00
|
|
|
LOCAL_SDK_VERSION := 8
|
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)
|