34 lines
735 B
Makefile
34 lines
735 B
Makefile
LOCAL_PATH:= $(call my-dir)
|
|
|
|
# audio preprocessing wrapper
|
|
include $(CLEAR_VARS)
|
|
|
|
LOCAL_MODULE:= libaudiopreprocessing
|
|
LOCAL_MODULE_TAGS := optional
|
|
LOCAL_MODULE_RELATIVE_PATH := soundfx
|
|
|
|
LOCAL_SRC_FILES:= \
|
|
PreProcessing.cpp
|
|
|
|
LOCAL_C_INCLUDES += \
|
|
external/webrtc \
|
|
external/webrtc/webrtc/modules/include \
|
|
external/webrtc/webrtc/modules/audio_processing/include \
|
|
$(call include-path-for, audio-effects)
|
|
|
|
LOCAL_C_INCLUDES += $(call include-path-for, speex)
|
|
|
|
LOCAL_SHARED_LIBRARIES := \
|
|
libwebrtc_audio_preprocessing \
|
|
libspeexresampler \
|
|
libutils \
|
|
liblog
|
|
|
|
LOCAL_SHARED_LIBRARIES += libdl
|
|
|
|
LOCAL_CFLAGS += \
|
|
-DWEBRTC_POSIX
|
|
|
|
LOCAL_CFLAGS += -fvisibility=hidden
|
|
|
|
include $(BUILD_SHARED_LIBRARY)
|