summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPrzemyslaw Szczepaniak <pszczepaniak@google.com>2013-10-26 14:02:14 +0100
committerPrzemyslaw Szczepaniak <pszczepaniak@google.com>2013-10-26 14:02:14 +0100
commita31d378bff575b0a1eb4eee7a59c58eb80f0cff4 (patch)
tree3da6a3c92f7cf976920a0b42ccf87b0f298a4bdf
parentfb7db5853ffb841a4d32fea8b5c3a43e6b875cae (diff)
downloadandroid_external_speex-a31d378bff575b0a1eb4eee7a59c58eb80f0cff4.tar.gz
android_external_speex-a31d378bff575b0a1eb4eee7a59c58eb80f0cff4.tar.bz2
android_external_speex-a31d378bff575b0a1eb4eee7a59c58eb80f0cff4.zip
Introduce libspeex_googletts, with more speex code.
libspeex_googletts is a static library, intended for linking against googletts (vendor/unbundled_google/packages/GoogleTTS). This removes the need for a separate speex repository in googletts repo. Change-Id: I8e129c188bd15b7ea06fab8da6a7cfccb4f202d3
-rw-r--r--Android.mk61
1 files changed, 60 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index d33e184..ee45b84 100644
--- a/Android.mk
+++ b/Android.mk
@@ -31,7 +31,7 @@ LOCAL_MODULE:= libspeex
LOCAL_CFLAGS+= -DEXPORT= -DFLOATING_POINT -DUSE_SMALLFT -DVAR_ARRAYS
-LOCAL_CFLAGS+= -O3 -fstrict-aliasing -fprefetch-loop-arrays
+LOCAL_CFLAGS+= -O3 -fstrict-aliasing -fprefetch-loop-arrays
LOCAL_C_INCLUDES += \
$(LOCAL_PATH)/include
@@ -59,3 +59,62 @@ LOCAL_C_INCLUDES += \
$(LOCAL_PATH)/include
include $(BUILD_SHARED_LIBRARY)
+
+include $(CLEAR_VARS)
+
+LOCAL_ARM_MODE := arm
+
+LOCAL_SRC_FILES += \
+ libspeex/bits.c \
+ libspeex/cb_search.c \
+ libspeex/exc_10_16_table.c \
+ libspeex/exc_10_32_table.c \
+ libspeex/exc_20_32_table.c \
+ libspeex/exc_5_256_table.c \
+ libspeex/exc_5_64_table.c \
+ libspeex/exc_8_128_table.c \
+ libspeex/fftwrap.c \
+ libspeex/filterbank.c \
+ libspeex/filters.c \
+ libspeex/gain_table.c \
+ libspeex/gain_table_lbr.c \
+ libspeex/hexc_10_32_table.c \
+ libspeex/hexc_table.c \
+ libspeex/high_lsp_tables.c \
+ libspeex/kiss_fft.c \
+ libspeex/kiss_fftr.c \
+ libspeex/lpc.c \
+ libspeex/lsp.c \
+ libspeex/lsp_tables_nb.c \
+ libspeex/ltp.c \
+ libspeex/mdf.c \
+ libspeex/modes.c \
+ libspeex/modes_wb.c \
+ libspeex/nb_celp.c \
+ libspeex/preprocess.c \
+ libspeex/quant_lsp.c \
+ libspeex/sb_celp.c \
+ libspeex/smallft.c \
+ libspeex/speex.c \
+ libspeex/speex_callbacks.c \
+ libspeex/speex_header.c \
+ libspeex/vbr.c \
+ libspeex/vq.c \
+ libspeex/window.c \
+ libspeex/buffer.c \
+ libspeex/resample.c \
+ libspeex/scal.c
+
+LOCAL_MODULE:= libspeex_googletts
+LOCAL_SDK_VERSION := 14
+
+LOCAL_CFLAGS+= -DEXPORT= -DFLOATING_POINT -DUSE_SMALLFT -DVAR_ARRAYS
+LOCAL_CFLAGS+= -O3 -fstrict-aliasing -fprefetch-loop-arrays
+
+LOCAL_C_INCLUDES += \
+ $(LOCAL_PATH)/include
+
+include $(BUILD_STATIC_LIBRARY)
+
+
+