summaryrefslogtreecommitdiffstats
path: root/media/libeffects/preprocessing/Android.mk
diff options
context:
space:
mode:
authorEric Laurent <elaurent@google.com>2011-06-17 20:17:17 -0700
committerEric Laurent <elaurent@google.com>2011-07-17 14:33:52 -0700
commita9390d4d571817cdb1d659b4b22b04130dc77a48 (patch)
tree39ba390b75da952b52edcad8e7afab12a3803656 /media/libeffects/preprocessing/Android.mk
parente0b5bb23f0a26d248275d203885b820659da7320 (diff)
downloadframeworks_av-a9390d4d571817cdb1d659b4b22b04130dc77a48.zip
frameworks_av-a9390d4d571817cdb1d659b4b22b04130dc77a48.tar.gz
frameworks_av-a9390d4d571817cdb1d659b4b22b04130dc77a48.tar.bz2
Audio preprocessing wrapper for webrtc.
This wrapper implements the interworking layer between the audio effect interface defined by the effect framework for audio preprocessing and the native interface of webrtc audio processing module. Change-Id: I3f9319730c102599cdf0dda520a53d90b4165114
Diffstat (limited to 'media/libeffects/preprocessing/Android.mk')
-rwxr-xr-xmedia/libeffects/preprocessing/Android.mk32
1 files changed, 32 insertions, 0 deletions
diff --git a/media/libeffects/preprocessing/Android.mk b/media/libeffects/preprocessing/Android.mk
new file mode 100755
index 0000000..77d40b6
--- /dev/null
+++ b/media/libeffects/preprocessing/Android.mk
@@ -0,0 +1,32 @@
+LOCAL_PATH:= $(call my-dir)
+
+# audio preprocessing wrapper
+include $(CLEAR_VARS)
+
+LOCAL_MODULE:= libaudiopreprocessing
+LOCAL_MODULE_TAGS := optional
+LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/soundfx
+
+LOCAL_SRC_FILES:= \
+ PreProcessing.cpp
+
+LOCAL_C_INCLUDES += \
+ external/webrtc/src \
+ external/webrtc/src/modules/interface \
+ external/webrtc/src/modules/audio_processing/main/interface \
+ system/media/audio_effects/include
+
+LOCAL_C_INCLUDES += $(call include-path-for, speex)
+
+LOCAL_SHARED_LIBRARIES := \
+ libwebrtc_audio_preprocessing \
+ libspeexresampler \
+ libutils
+
+ifeq ($(TARGET_SIMULATOR),true)
+LOCAL_LDLIBS += -ldl
+else
+LOCAL_SHARED_LIBRARIES += libdl
+endif
+
+include $(BUILD_SHARED_LIBRARY)