1LOCAL_PATH := $(call my-dir)
2
3### shared library
4
5include $(CLEAR_VARS)
6
7LOCAL_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
26LOCAL_C_INCLUDES += $(JNI_H_INCLUDE)
27LOCAL_LDLIBS += -lpthread
28LOCAL_MODULE := libjni_pinyinime
29LOCAL_SHARED_LIBRARIES := libcutils libutils
30LOCAL_MODULE_TAGS := optional
31
32include $(BUILD_SHARED_LIBRARY)
33