Home | History | Annotate | Download | only in tts
      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 	liblog
     26 
     27 LOCAL_ARM_MODE := arm
     28 
     29 include $(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.
     36 include $(CLEAR_VARS)
     37 
     38 LOCAL_MODULE := libttspico
     39 	
     40 LOCAL_SRC_FILES := \
     41 	com_svox_picottsengine.cpp \
     42 	svox_ssml_parser.cpp
     43 
     44 LOCAL_C_INCLUDES += \
     45 	external/svox/pico/lib \
     46 	external/svox/pico/compat/include
     47 
     48 LOCAL_STATIC_LIBRARIES := libsvoxpico
     49 LOCAL_SHARED_LIBRARIES := libcutils libexpat libutils liblog
     50 
     51 include $(BUILD_SHARED_LIBRARY)
     52