2912c654b4
Change-Id: If048354f9b80bcaa1e97df5c31c3df80231eb612
33 lines
683 B
Makefile
33 lines
683 B
Makefile
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/bigram_dictionary.cpp \
|
|
src/char_utils.cpp \
|
|
src/dictionary.cpp \
|
|
src/unigram_dictionary.cpp
|
|
|
|
#FLAG_DBG := true
|
|
|
|
ifneq ($(TARGET_ARCH),x86)
|
|
ifneq ($(FLAG_DBG), true)
|
|
LOCAL_NDK_VERSION := 4
|
|
endif
|
|
|
|
LOCAL_SDK_VERSION := 8
|
|
endif #TARGET_ARCH = x86
|
|
|
|
LOCAL_MODULE := libjni_latinime
|
|
|
|
LOCAL_MODULE_TAGS := user
|
|
|
|
ifeq ($(FLAG_DBG), true)
|
|
$(warning "Making debug build.")
|
|
LOCAL_CFLAGS += -DFLAG_DBG
|
|
LOCAL_SHARED_LIBRARIES := libcutils libutils
|
|
endif
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|