blob: 44b7d97b58b179213e6ce3ace27084d55875c9ad [file] [log] [blame]
Dan Willemsen154fce42018-11-16 23:15:45 -08001// audio preprocessing wrapper
Bob Badour948e6aa2021-02-12 21:02:31 -08002package {
Ronish Kaliab5dd44b2024-02-14 14:32:32 +00003 default_team: "trendy_team_media_framework_audio",
Bob Badour948e6aa2021-02-12 21:02:31 -08004 default_applicable_licenses: [
5 "frameworks_av_media_libeffects_preprocessing_license",
6 ],
7}
8
9// Added automatically by a large-scale-change
10// See: http://go/android-license-faq
11license {
12 name: "frameworks_av_media_libeffects_preprocessing_license",
13 visibility: [":__subpackages__"],
14 license_kinds: [
15 "SPDX-license-identifier-Apache-2.0",
16 ],
17 license_text: [
18 "NOTICE",
19 ],
20}
21
Harish Mahendrakar70036ac2021-03-16 17:42:59 -070022cc_defaults {
23 name: "libaudiopreprocessing-defaults",
Saketh Sathuvalli08337032020-09-22 21:13:45 +053024 vendor: true,
Rivukanta Bhattacharya013e02e2021-03-12 05:50:55 +053025 host_supported: true,
Saketh Sathuvalli08337032020-09-22 21:13:45 +053026 cflags: [
27 "-Wall",
28 "-Werror",
29 "-Wextra",
30 "-Wno-unused-parameter",
31 ],
32
33 shared_libs: [
34 "liblog",
35 "libutils",
36 ],
37
38 static_libs: [
39 "webrtc_audio_processing",
40 ],
41
42 header_libs: [
43 "libaudioeffects",
44 "libhardware_headers",
Saketh Sathuvalli08337032020-09-22 21:13:45 +053045 ],
Harish Mahendrakar217c9682021-03-15 15:12:25 -070046 target: {
47 darwin: {
48 enabled: false,
49 },
50 },
Saketh Sathuvalli08337032020-09-22 21:13:45 +053051}
Harish Mahendrakar70036ac2021-03-16 17:42:59 -070052
53cc_library {
54 name: "libaudiopreprocessing",
55 defaults: ["libaudiopreprocessing-defaults"],
56 relative_install_path: "soundfx",
57 srcs: ["PreProcessing.cpp"],
58 header_libs: [
59 "libwebrtc_absl_headers",
60 ],
61}
Shraddha Basantwanice054522023-01-20 23:36:54 +053062
63cc_library_shared {
64 name: "libpreprocessingaidl",
65 srcs: [
Shraddha Basantwanice054522023-01-20 23:36:54 +053066 ":effectCommonFile",
Andy Hunga159e4b2024-03-15 11:48:57 -070067 "aidl/EffectPreProcessing.cpp",
68 "aidl/PreProcessingContext.cpp",
Shraddha Basantwanice054522023-01-20 23:36:54 +053069 ],
70 defaults: [
Shunkai Yaocbe90d02023-12-14 02:35:55 +000071 "aidlaudioeffectservice_defaults",
Shraddha Basantwanice054522023-01-20 23:36:54 +053072 ],
73 local_include_dirs: ["aidl"],
74 shared_libs: [
Andy Hunga159e4b2024-03-15 11:48:57 -070075 "libaudioutils",
Shraddha Basantwanice054522023-01-20 23:36:54 +053076 "liblog",
77 "libutils",
Shraddha Basantwanice054522023-01-20 23:36:54 +053078 ],
79 static_libs: [
80 "webrtc_audio_processing",
81 ],
82 header_libs: [
Shraddha Basantwanice054522023-01-20 23:36:54 +053083 "libaudioeffects",
84 "libhardware_headers",
Andy Hunga159e4b2024-03-15 11:48:57 -070085 "libwebrtc_absl_headers",
Shraddha Basantwanice054522023-01-20 23:36:54 +053086 ],
87 cflags: [
Shraddha Basantwanice054522023-01-20 23:36:54 +053088 "-Wno-unused-parameter",
Andy Hunga159e4b2024-03-15 11:48:57 -070089 "-Wthread-safety",
Shraddha Basantwanice054522023-01-20 23:36:54 +053090 ],
91 relative_install_path: "soundfx",
92 visibility: [
Deyao Ren76db0d72023-09-29 02:49:24 +000093 "//hardware/interfaces/audio/aidl/default:__subpackages__",
Shraddha Basantwanice054522023-01-20 23:36:54 +053094 ],
95}