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