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