Eric Laurent | a9390d4 | 2011-06-17 20:17:17 -0700 | [diff] [blame] | 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 |
Colin Cross | 7d6fc5e | 2014-01-24 21:00:32 -0800 | [diff] [blame] | 8 | LOCAL_MODULE_RELATIVE_PATH := soundfx |
Eric Laurent | a9390d4 | 2011-06-17 20:17:17 -0700 | [diff] [blame] | 9 | |
| 10 | LOCAL_SRC_FILES:= \ |
| 11 | PreProcessing.cpp |
| 12 | |
| 13 | LOCAL_C_INCLUDES += \ |
Alex Luebs | 9718b7d | 2015-11-24 14:33:14 -0800 | [diff] [blame] | 14 | external/webrtc \ |
Alex Luebs | 3f11ef0 | 2016-01-15 15:51:58 -0800 | [diff] [blame] | 15 | external/webrtc/webrtc/modules/include \ |
Alex Luebs | 9718b7d | 2015-11-24 14:33:14 -0800 | [diff] [blame] | 16 | external/webrtc/webrtc/modules/audio_processing/include \ |
Glenn Kasten | 33b3839 | 2012-03-13 15:59:35 -0700 | [diff] [blame] | 17 | $(call include-path-for, audio-effects) |
Eric Laurent | a9390d4 | 2011-06-17 20:17:17 -0700 | [diff] [blame] | 18 | |
Eric Laurent | a9390d4 | 2011-06-17 20:17:17 -0700 | [diff] [blame] | 19 | LOCAL_SHARED_LIBRARIES := \ |
| 20 | libwebrtc_audio_preprocessing \ |
| 21 | libspeexresampler \ |
Ying Wang | ecba748 | 2013-04-09 21:53:49 -0700 | [diff] [blame] | 22 | libutils \ |
| 23 | liblog |
Eric Laurent | a9390d4 | 2011-06-17 20:17:17 -0700 | [diff] [blame] | 24 | |
Eric Laurent | a9390d4 | 2011-06-17 20:17:17 -0700 | [diff] [blame] | 25 | LOCAL_SHARED_LIBRARIES += libdl |
Alex Luebs | 9718b7d | 2015-11-24 14:33:14 -0800 | [diff] [blame] | 26 | |
| 27 | LOCAL_CFLAGS += \ |
| 28 | -DWEBRTC_POSIX |
| 29 | |
Marco Nelissen | 7f16b19 | 2012-10-25 16:05:57 -0700 | [diff] [blame] | 30 | LOCAL_CFLAGS += -fvisibility=hidden |
Glenn Kasten | ef22507 | 2016-10-05 11:38:32 -0700 | [diff] [blame^] | 31 | LOCAL_CFLAGS += -Wall -Werror |
Marco Nelissen | 7f16b19 | 2012-10-25 16:05:57 -0700 | [diff] [blame] | 32 | |
Eric Laurent | a9390d4 | 2011-06-17 20:17:17 -0700 | [diff] [blame] | 33 | include $(BUILD_SHARED_LIBRARY) |