1 LOCAL_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. 7 include $(CLEAR_VARS) 8 9 LOCAL_MODULE := libttspico_engine 10 11 LOCAL_SRC_FILES := \ 12 com_svox_picottsengine.cpp \ 13 svox_ssml_parser.cpp 14 15 LOCAL_C_INCLUDES += \ 16 external/svox/pico/lib \ 17 external/svox/pico/compat/include 18 19 LOCAL_STATIC_LIBRARIES := libsvoxpico 20 21 LOCAL_SHARED_LIBRARIES := \ 22 libcutils \ 23 libexpat \ 24 libutils 25 26 LOCAL_ARM_MODE := arm 27 28 include $(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. 35 include $(CLEAR_VARS) 36 37 LOCAL_MODULE := libttspico 38 39 LOCAL_SRC_FILES := \ 40 com_svox_picottsengine.cpp \ 41 svox_ssml_parser.cpp 42 43 LOCAL_C_INCLUDES += \ 44 external/svox/pico/lib \ 45 external/svox/pico/compat/include 46 47 LOCAL_STATIC_LIBRARIES := libsvoxpico 48 LOCAL_SHARED_LIBRARIES := libcutils libexpat libutils 49 50 include $(BUILD_SHARED_LIBRARY) 51 52 53 54 55