blob: 38465acf3c7aedddf626c6ef4e0866156932605e [file] [log] [blame]
The Android Open Source Project923bf412009-03-13 15:11:42 -07001LOCAL_PATH := $(call my-dir)
2include $(CLEAR_VARS)
3
4LOCAL_C_INCLUDES += $(LOCAL_PATH)/src
5
6LOCAL_SRC_FILES := \
satok30088252010-12-01 21:22:15 +09007 jni/com_android_inputmethod_latin_BinaryDictionary.cpp \
8 src/bigram_dictionary.cpp \
9 src/char_utils.cpp \
10 src/dictionary.cpp \
11 src/unigram_dictionary.cpp
The Android Open Source Project923bf412009-03-13 15:11:42 -070012
satok15dc33d2010-12-01 15:37:31 +090013#FLAG_DBG := true
14
Ken Wakasa458249e2011-01-05 00:39:41 +090015TARGETING_UNBUNDLED_FROYO := true
16
17ifeq ($(TARGET_ARCH), x86)
18 TARGETING_UNBUNDLED_FROYO := false
satok15dc33d2010-12-01 15:37:31 +090019endif
20
Ken Wakasa458249e2011-01-05 00:39:41 +090021ifeq ($(FLAG_DBG), true)
22 TARGETING_UNBUNDLED_FROYO := false
23endif
24
25ifeq ($(TARGETING_UNBUNDLED_FROYO), true)
26 LOCAL_NDK_VERSION := 4
27 LOCAL_SDK_VERSION := 8
28endif
The Android Open Source Project923bf412009-03-13 15:11:42 -070029
30LOCAL_MODULE := libjni_latinime
31
32LOCAL_MODULE_TAGS := user
33
satok15dc33d2010-12-01 15:37:31 +090034ifeq ($(FLAG_DBG), true)
35 $(warning "Making debug build.")
36 LOCAL_CFLAGS += -DFLAG_DBG
37 LOCAL_SHARED_LIBRARIES := libcutils libutils
38endif
39
The Android Open Source Project923bf412009-03-13 15:11:42 -070040include $(BUILD_SHARED_LIBRARY)