aboutsummaryrefslogtreecommitdiff
path: root/Android.mk
diff options
context:
space:
mode:
authorAlexander Gutkin <agutkin@google.com>2012-08-20 16:27:22 +0100
committerAlexander Gutkin <agutkin@google.com>2012-08-21 16:37:02 +0100
commit6f12fff925188ced26e518cd2252aff3e93bb04e (patch)
tree531f32cdacd9c43e251e89bb0e0e4cb5e3ee7ab0 /Android.mk
parentcf20dbf9d2547baa8a0fb631f282109e7a58a6cc (diff)
downloadwebrtc-6f12fff925188ced26e518cd2252aff3e93bb04e.tar.gz
Added iSAC coder.
- Imported the floating point implementation of iSAC coder from stable public webRTC release: http://code.google.com/p/webrtc/source/browse/#svn%2Fstable - Added a reminder (in a TODO file) to switch from floating point to fixed point implementation. Please note that this is the minimal amount of functionality we (the speech text-to-speech team) require for delivering our unit selection algorithms for the Glass project. I'd be happy to address any comments you have. Change-Id: I20481680786ec5372258efcea69ea5c9750a321a
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk27
1 files changed, 27 insertions, 0 deletions
diff --git a/Android.mk b/Android.mk
index dc214e9768..a6e7a49671 100644
--- a/Android.mk
+++ b/Android.mk
@@ -20,6 +20,7 @@ include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/ns/Android.mk
include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_processing/utility/Android.mk
#include $(MY_WEBRTC_ROOT_PATH)/src/modules/utility/source/Android.mk
include $(MY_WEBRTC_ROOT_PATH)/src/system_wrappers/source/Android.mk
+include $(MY_WEBRTC_ROOT_PATH)/src/modules/audio_coding/codecs/isac/main/source/Android.mk
# build .so
LOCAL_PATH := $(call my-dir)
@@ -65,3 +66,29 @@ include external/stlport/libstlport.mk
endif
include $(BUILD_SHARED_LIBRARY)
+include $(CLEAR_VARS)
+include $(LOCAL_PATH)/../../external/webrtc/android-webrtc.mk
+
+LOCAL_ARM_MODE := arm
+LOCAL_MODULE := libwebrtc_audio_coding
+LOCAL_MODULE_TAGS := optional
+
+LOCAL_WHOLE_STATIC_LIBRARIES := \
+ libwebrtc_isac \
+ libwebrtc_spl \
+ libwebrtc_system_wrappers
+
+LOCAL_STATIC_LIBRARIES := \
+ libprotobuf-cpp-2.3.0-lite
+
+LOCAL_SHARED_LIBRARIES := \
+ libcutils \
+ libdl \
+ libstlport
+
+LOCAL_PRELINK_MODULE := false
+
+ifndef NDK_ROOT
+include external/stlport/libstlport.mk
+endif
+include $(BUILD_SHARED_LIBRARY)