summaryrefslogtreecommitdiffstats
path: root/pico/tts/Android.mk
diff options
context:
space:
mode:
authorJoe Onorato <joeo@google.com>2012-08-17 00:12:05 -0700
committerAndroid Git Automerger <android-git-automerger@android.com>2012-08-17 00:12:05 -0700
commit0256c986f7ff678bee07ca0462505e1de18efa62 (patch)
treed713f51faced6e17f95e7b53ea9b463c4cd94692 /pico/tts/Android.mk
parentea66e3bf3510df7ab3051c90a740b8e11de42e92 (diff)
parent79622ebe5dd09754be0a5643413d11ecca300336 (diff)
downloadexternal_svox-0256c986f7ff678bee07ca0462505e1de18efa62.zip
external_svox-0256c986f7ff678bee07ca0462505e1de18efa62.tar.gz
external_svox-0256c986f7ff678bee07ca0462505e1de18efa62.tar.bz2
am 79622ebe: Merge "use LOCAL_PATH properly"
* commit '79622ebe5dd09754be0a5643413d11ecca300336': use LOCAL_PATH properly
Diffstat (limited to 'pico/tts/Android.mk')
-rw-r--r--pico/tts/Android.mk54
1 files changed, 54 insertions, 0 deletions
diff --git a/pico/tts/Android.mk b/pico/tts/Android.mk
new file mode 100644
index 0000000..b492021
--- /dev/null
+++ b/pico/tts/Android.mk
@@ -0,0 +1,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)
+
+
+
+