1 LOCAL_PATH:= $(call my-dir) 2 3 # audio preprocessing wrapper 4 include $(CLEAR_VARS) 5 6 LOCAL_MODULE:= libaudiopreprocessing 7 LOCAL_MODULE_TAGS := optional 8 LOCAL_MODULE_PATH := $(TARGET_OUT_SHARED_LIBRARIES)/soundfx 9 10 LOCAL_SRC_FILES:= \ 11 PreProcessing.cpp 12 13 LOCAL_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 19 LOCAL_C_INCLUDES += $(call include-path-for, speex) 20 21 LOCAL_SHARED_LIBRARIES := \ 22 libwebrtc_audio_preprocessing \ 23 libspeexresampler \ 24 libutils \ 25 liblog 26 27 ifeq ($(TARGET_SIMULATOR),true) 28 LOCAL_LDLIBS += -ldl 29 else 30 LOCAL_SHARED_LIBRARIES += libdl 31 endif 32 33 LOCAL_CFLAGS += -fvisibility=hidden 34 35 include $(BUILD_SHARED_LIBRARY) 36