1LOCAL_PATH := $(call my-dir) 2 3# Build static library containing all PICO code 4# excluding the compatibility code. This is identical 5# to the rule below / except that it builds a shared 6# library. 7include $(CLEAR_VARS) 8 9LOCAL_MODULE := libttspico_engine 10 11LOCAL_SRC_FILES := \ 12 com_svox_picottsengine.cpp \ 13 svox_ssml_parser.cpp 14 15LOCAL_C_INCLUDES += \ 16 external/svox/pico/lib \ 17 external/svox/pico/compat/include 18 19LOCAL_STATIC_LIBRARIES := libsvoxpico 20 21LOCAL_SHARED_LIBRARIES := \ 22 libcutils \ 23 libexpat \ 24 libutils 25 26LOCAL_ARM_MODE := arm 27 28include $(BUILD_STATIC_LIBRARY) 29 30 31# Build Pico Shared Library. This rule is used by the 32# compatibility code, which opens this shared library 33# using dlsym. This is essentially the same as the rule 34# above, except that it packages things a shared library. 35include $(CLEAR_VARS) 36 37LOCAL_MODULE := libttspico 38 39LOCAL_SRC_FILES := \ 40 com_svox_picottsengine.cpp \ 41 svox_ssml_parser.cpp 42 43LOCAL_C_INCLUDES += \ 44 external/svox/pico/lib \ 45 external/svox/pico/compat/include 46 47LOCAL_STATIC_LIBRARIES := libsvoxpico 48LOCAL_SHARED_LIBRARIES := libcutils libexpat libutils 49 50include $(BUILD_SHARED_LIBRARY) 51 52 53 54 55