The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 1 | LOCAL_PATH := $(call my-dir) |
| 2 | include $(CLEAR_VARS) |
| 3 | |
| 4 | LOCAL_C_INCLUDES += $(LOCAL_PATH)/src |
| 5 | |
| 6 | LOCAL_SRC_FILES := \ |
satok | 3008825 | 2010-12-01 21:22:15 +0900 | [diff] [blame^] | 7 | 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 Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 12 | |
satok | 15dc33d | 2010-12-01 15:37:31 +0900 | [diff] [blame] | 13 | #FLAG_DBG := true |
| 14 | |
| 15 | ifneq ($(FLAG_DBG), true) |
| 16 | LOCAL_NDK_VERSION := 4 |
| 17 | endif |
| 18 | |
Ken Wakasa | 9b195dd | 2010-09-03 22:43:10 +0900 | [diff] [blame] | 19 | LOCAL_SDK_VERSION := 8 |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 20 | |
| 21 | LOCAL_MODULE := libjni_latinime |
| 22 | |
| 23 | LOCAL_MODULE_TAGS := user |
| 24 | |
satok | 15dc33d | 2010-12-01 15:37:31 +0900 | [diff] [blame] | 25 | ifeq ($(FLAG_DBG), true) |
| 26 | $(warning "Making debug build.") |
| 27 | LOCAL_CFLAGS += -DFLAG_DBG |
| 28 | LOCAL_SHARED_LIBRARIES := libcutils libutils |
| 29 | endif |
| 30 | |
The Android Open Source Project | 923bf41 | 2009-03-13 15:11:42 -0700 | [diff] [blame] | 31 | include $(BUILD_SHARED_LIBRARY) |