Dan Willemsen | 154fce4 | 2018-11-16 23:15:45 -0800 | [diff] [blame] | 1 | // audio preprocessing wrapper |
| 2 | cc_library_shared { |
Saketh Sathuvalli | 0833703 | 2020-09-22 21:13:45 +0530 | [diff] [blame] | 3 | name: "libaudiopreprocessing_legacy", |
Dan Willemsen | 154fce4 | 2018-11-16 23:15:45 -0800 | [diff] [blame] | 4 | |
| 5 | vendor: true, |
| 6 | |
| 7 | relative_install_path: "soundfx", |
| 8 | |
| 9 | srcs: ["PreProcessing.cpp"], |
| 10 | |
Dan Willemsen | 154fce4 | 2018-11-16 23:15:45 -0800 | [diff] [blame] | 11 | shared_libs: [ |
| 12 | "libwebrtc_audio_preprocessing", |
| 13 | "libspeexresampler", |
| 14 | "libutils", |
| 15 | "liblog", |
| 16 | ], |
| 17 | |
| 18 | cflags: [ |
| 19 | "-DWEBRTC_POSIX", |
Saketh Sathuvalli | 0833703 | 2020-09-22 21:13:45 +0530 | [diff] [blame] | 20 | "-DWEBRTC_LEGACY", |
Dan Willemsen | 154fce4 | 2018-11-16 23:15:45 -0800 | [diff] [blame] | 21 | "-fvisibility=hidden", |
| 22 | "-Wall", |
| 23 | "-Werror", |
| 24 | ], |
| 25 | |
| 26 | header_libs: [ |
| 27 | "libaudioeffects", |
| 28 | "libhardware_headers", |
| 29 | ], |
| 30 | } |
Saketh Sathuvalli | 0833703 | 2020-09-22 21:13:45 +0530 | [diff] [blame] | 31 | |
| 32 | cc_library_shared { |
| 33 | name: "libaudiopreprocessing", |
| 34 | vendor: true, |
| 35 | relative_install_path: "soundfx", |
| 36 | srcs: ["PreProcessing.cpp"], |
| 37 | local_include_dirs: [ |
| 38 | ".", |
| 39 | ], |
| 40 | cflags: [ |
| 41 | "-Wall", |
| 42 | "-Werror", |
| 43 | "-Wextra", |
| 44 | "-Wno-unused-parameter", |
| 45 | ], |
| 46 | |
| 47 | shared_libs: [ |
| 48 | "liblog", |
| 49 | "libutils", |
| 50 | ], |
| 51 | |
| 52 | static_libs: [ |
| 53 | "webrtc_audio_processing", |
| 54 | ], |
| 55 | |
| 56 | header_libs: [ |
| 57 | "libaudioeffects", |
| 58 | "libhardware_headers", |
| 59 | "libwebrtc_absl_headers", |
| 60 | ], |
| 61 | } |