blob: 3be355326e25a09c4e0cafc421b6643a5c1b53be [file] [log] [blame]
Eric Laurenta9390d42011-06-17 20:17:17 -07001LOCAL_PATH:= $(call my-dir)
2
3# audio preprocessing wrapper
4include $(CLEAR_VARS)
5
Eric Laurent6debec12017-05-15 18:09:47 -07006LOCAL_VENDOR_MODULE := true
Eric Laurenta9390d42011-06-17 20:17:17 -07007LOCAL_MODULE:= libaudiopreprocessing
8LOCAL_MODULE_TAGS := optional
Colin Cross7d6fc5e2014-01-24 21:00:32 -08009LOCAL_MODULE_RELATIVE_PATH := soundfx
Eric Laurenta9390d42011-06-17 20:17:17 -070010
11LOCAL_SRC_FILES:= \
12 PreProcessing.cpp
13
14LOCAL_C_INCLUDES += \
Alex Luebs9718b7d2015-11-24 14:33:14 -080015 external/webrtc \
Alex Luebs3f11ef02016-01-15 15:51:58 -080016 external/webrtc/webrtc/modules/include \
Alex Luebs9718b7d2015-11-24 14:33:14 -080017 external/webrtc/webrtc/modules/audio_processing/include \
Glenn Kasten33b38392012-03-13 15:59:35 -070018 $(call include-path-for, audio-effects)
Eric Laurenta9390d42011-06-17 20:17:17 -070019
Eric Laurenta9390d42011-06-17 20:17:17 -070020LOCAL_SHARED_LIBRARIES := \
21 libwebrtc_audio_preprocessing \
22 libspeexresampler \
Ying Wangecba7482013-04-09 21:53:49 -070023 libutils \
24 liblog
Eric Laurenta9390d42011-06-17 20:17:17 -070025
Eric Laurenta9390d42011-06-17 20:17:17 -070026LOCAL_SHARED_LIBRARIES += libdl
Alex Luebs9718b7d2015-11-24 14:33:14 -080027
28LOCAL_CFLAGS += \
29 -DWEBRTC_POSIX
30
Marco Nelissen7f16b192012-10-25 16:05:57 -070031LOCAL_CFLAGS += -fvisibility=hidden
Glenn Kastenef225072016-10-05 11:38:32 -070032LOCAL_CFLAGS += -Wall -Werror
Marco Nelissen7f16b192012-10-25 16:05:57 -070033
Eric Laurenta9390d42011-06-17 20:17:17 -070034include $(BUILD_SHARED_LIBRARY)