1 LOCAL_PATH := $(call my-dir) 2 3 ### shared library 4 5 include $(CLEAR_VARS) 6 7 LOCAL_SRC_FILES := \ 8 android/com_android_inputmethod_pinyin_PinyinDecoderService.cpp \ 9 share/dictbuilder.cpp \ 10 share/dictlist.cpp \ 11 share/dicttrie.cpp \ 12 share/lpicache.cpp \ 13 share/matrixsearch.cpp \ 14 share/mystdlib.cpp \ 15 share/ngram.cpp \ 16 share/pinyinime.cpp \ 17 share/searchutility.cpp \ 18 share/spellingtable.cpp \ 19 share/spellingtrie.cpp \ 20 share/splparser.cpp \ 21 share/userdict.cpp \ 22 share/utf16char.cpp \ 23 share/utf16reader.cpp \ 24 share/sync.cpp 25 26 LOCAL_C_INCLUDES += $(JNI_H_INCLUDE) 27 LOCAL_LDLIBS += -lpthread 28 LOCAL_MODULE := libjni_pinyinime 29 LOCAL_SHARED_LIBRARIES := libcutils libutils 30 LOCAL_MODULE_TAGS := optional 31 32 include $(BUILD_SHARED_LIBRARY) 33