blob: 60030acf690a7728bf45a72a897cff8c199e5f35 [file] [log] [blame]
Eric Laurenta9390d42011-06-17 20:17:17 -07001LOCAL_PATH:= $(call my-dir)
2
3# audio preprocessing wrapper
4include $(CLEAR_VARS)
5
6LOCAL_MODULE:= libaudiopreprocessing
7LOCAL_MODULE_TAGS := optional
Colin Cross7d6fc5e2014-01-24 21:00:32 -08008LOCAL_MODULE_RELATIVE_PATH := soundfx
Eric Laurenta9390d42011-06-17 20:17:17 -07009
10LOCAL_SRC_FILES:= \
11 PreProcessing.cpp
12
13LOCAL_C_INCLUDES += \
Alex Luebs9718b7d2015-11-24 14:33:14 -080014 external/webrtc \
Alex Luebs3f11ef02016-01-15 15:51:58 -080015 external/webrtc/webrtc/modules/include \
Alex Luebs9718b7d2015-11-24 14:33:14 -080016 external/webrtc/webrtc/modules/audio_processing/include \
Glenn Kasten33b38392012-03-13 15:59:35 -070017 $(call include-path-for, audio-effects)
Eric Laurenta9390d42011-06-17 20:17:17 -070018
Eric Laurenta9390d42011-06-17 20:17:17 -070019LOCAL_SHARED_LIBRARIES := \
20 libwebrtc_audio_preprocessing \
21 libspeexresampler \
Ying Wangecba7482013-04-09 21:53:49 -070022 libutils \
23 liblog
Eric Laurenta9390d42011-06-17 20:17:17 -070024
Eric Laurenta9390d42011-06-17 20:17:17 -070025LOCAL_SHARED_LIBRARIES += libdl
Alex Luebs9718b7d2015-11-24 14:33:14 -080026
27LOCAL_CFLAGS += \
28 -DWEBRTC_POSIX
29
Marco Nelissen7f16b192012-10-25 16:05:57 -070030LOCAL_CFLAGS += -fvisibility=hidden
Glenn Kastenef225072016-10-05 11:38:32 -070031LOCAL_CFLAGS += -Wall -Werror
Marco Nelissen7f16b192012-10-25 16:05:57 -070032
Eric Laurenta9390d42011-06-17 20:17:17 -070033include $(BUILD_SHARED_LIBRARY)