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 10LOCAL_MULTILIB := 32 11 12LOCAL_SRC_FILES := \ 13 com_svox_picottsengine.cpp \ 14 svox_ssml_parser.cpp 15 16LOCAL_C_INCLUDES += \ 17 external/svox/pico/lib \ 18 external/svox/pico/compat/include 19 20LOCAL_STATIC_LIBRARIES := libsvoxpico 21 22LOCAL_SHARED_LIBRARIES := \ 23 libcutils \ 24 libexpat \ 25 libutils \ 26 liblog 27 28LOCAL_ARM_MODE := arm 29 30include $(BUILD_STATIC_LIBRARY) 31 32 33# Build Pico Shared Library. This rule is used by the 34# compatibility code, which opens this shared library 35# using dlsym. This is essentially the same as the rule 36# above, except that it packages things a shared library. 37include $(CLEAR_VARS) 38 39LOCAL_MODULE := libttspico 40LOCAL_MULTILIB := 32 41 42LOCAL_SRC_FILES := \ 43 com_svox_picottsengine.cpp \ 44 svox_ssml_parser.cpp 45 46LOCAL_C_INCLUDES += \ 47 external/svox/pico/lib \ 48 external/svox/pico/compat/include 49 50LOCAL_STATIC_LIBRARIES := libsvoxpico 51LOCAL_SHARED_LIBRARIES := libcutils libexpat libutils liblog 52 53include $(BUILD_SHARED_LIBRARY) 54