Dan Willemsen | 154fce4 | 2018-11-16 23:15:45 -0800 | [diff] [blame] | 1 | // audio preprocessing wrapper |
Bob Badour | 948e6aa | 2021-02-12 21:02:31 -0800 | [diff] [blame] | 2 | package { |
| 3 | default_applicable_licenses: [ |
| 4 | "frameworks_av_media_libeffects_preprocessing_license", |
| 5 | ], |
| 6 | } |
| 7 | |
| 8 | // Added automatically by a large-scale-change |
| 9 | // See: http://go/android-license-faq |
| 10 | license { |
| 11 | name: "frameworks_av_media_libeffects_preprocessing_license", |
| 12 | visibility: [":__subpackages__"], |
| 13 | license_kinds: [ |
| 14 | "SPDX-license-identifier-Apache-2.0", |
| 15 | ], |
| 16 | license_text: [ |
| 17 | "NOTICE", |
| 18 | ], |
| 19 | } |
| 20 | |
Harish Mahendrakar | 70036ac | 2021-03-16 17:42:59 -0700 | [diff] [blame] | 21 | cc_defaults { |
| 22 | name: "libaudiopreprocessing-defaults", |
Saketh Sathuvalli | 0833703 | 2020-09-22 21:13:45 +0530 | [diff] [blame] | 23 | vendor: true, |
Rivukanta Bhattacharya | 013e02e | 2021-03-12 05:50:55 +0530 | [diff] [blame] | 24 | host_supported: true, |
Saketh Sathuvalli | 0833703 | 2020-09-22 21:13:45 +0530 | [diff] [blame] | 25 | cflags: [ |
| 26 | "-Wall", |
| 27 | "-Werror", |
| 28 | "-Wextra", |
| 29 | "-Wno-unused-parameter", |
| 30 | ], |
| 31 | |
| 32 | shared_libs: [ |
| 33 | "liblog", |
| 34 | "libutils", |
| 35 | ], |
| 36 | |
| 37 | static_libs: [ |
| 38 | "webrtc_audio_processing", |
| 39 | ], |
| 40 | |
| 41 | header_libs: [ |
| 42 | "libaudioeffects", |
| 43 | "libhardware_headers", |
Saketh Sathuvalli | 0833703 | 2020-09-22 21:13:45 +0530 | [diff] [blame] | 44 | ], |
Harish Mahendrakar | 217c968 | 2021-03-15 15:12:25 -0700 | [diff] [blame] | 45 | target: { |
| 46 | darwin: { |
| 47 | enabled: false, |
| 48 | }, |
| 49 | }, |
Saketh Sathuvalli | 0833703 | 2020-09-22 21:13:45 +0530 | [diff] [blame] | 50 | } |
Harish Mahendrakar | 70036ac | 2021-03-16 17:42:59 -0700 | [diff] [blame] | 51 | |
| 52 | cc_library { |
| 53 | name: "libaudiopreprocessing", |
| 54 | defaults: ["libaudiopreprocessing-defaults"], |
| 55 | relative_install_path: "soundfx", |
| 56 | srcs: ["PreProcessing.cpp"], |
| 57 | header_libs: [ |
| 58 | "libwebrtc_absl_headers", |
| 59 | ], |
| 60 | } |