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