1LOCAL_PATH:= $(call my-dir) 2 3# audio preprocessing wrapper 4include $(CLEAR_VARS) 5 6LOCAL_MODULE:= libaudiopreprocessing 7LOCAL_MODULE_TAGS := optional 8LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/soundfx 9 10LOCAL_SRC_FILES:= \ 11 PreProcessing.cpp 12 13LOCAL_C_INCLUDES += \ 14 external/webrtc/src \ 15 external/webrtc/src/modules/interface \ 16 external/webrtc/src/modules/audio_processing/interface \ 17 $(call include-path-for, audio-effects) 18 19LOCAL_C_INCLUDES += $(call include-path-for, speex) 20 21LOCAL_SHARED_LIBRARIES := \ 22 libwebrtc_audio_preprocessing \ 23 libspeexresampler \ 24 libutils 25 26ifeq ($(TARGET_SIMULATOR),true) 27LOCAL_LDLIBS += -ldl 28else 29LOCAL_SHARED_LIBRARIES += libdl 30endif 31 32include $(BUILD_SHARED_LIBRARY) 33