blob: fa300d21d71525134e8a49808cb60c5cdf79bd0e [file] [log] [blame]
Dan Willemsen154fce42018-11-16 23:15:45 -08001// music bundle wrapper
Bob Badour948e6aa2021-02-12 21:02:31 -08002package {
3 default_applicable_licenses: [
4 "frameworks_av_media_libeffects_lvm_wrapper_license",
5 ],
6}
7
8// Added automatically by a large-scale-change
9// See: http://go/android-license-faq
10license {
11 name: "frameworks_av_media_libeffects_lvm_wrapper_license",
12 visibility: [":__subpackages__"],
13 license_kinds: [
14 "SPDX-license-identifier-Apache-2.0",
15 ],
16 license_text: [
17 "NOTICE",
18 ],
19}
20
Harish Mahendrakar46c01482020-10-23 04:58:47 +053021cc_library {
Dan Willemsen154fce42018-11-16 23:15:45 -080022 name: "libbundlewrapper",
23
24 arch: {
25 arm: {
26 instruction_set: "arm",
27 },
28 },
29
30 vendor: true,
Harish Mahendrakarceb74de2021-02-10 14:06:06 -080031 host_supported: true,
Dan Willemsen154fce42018-11-16 23:15:45 -080032 srcs: ["Bundle/EffectBundle.cpp"],
33
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053034 cppflags: [
Dan Willemsen154fce42018-11-16 23:15:45 -080035 "-fvisibility=hidden",
Dan Willemsen154fce42018-11-16 23:15:45 -080036
37 "-Wall",
38 "-Werror",
39 ],
40
41 relative_install_path: "soundfx",
42
43 static_libs: ["libmusicbundle"],
44
45 shared_libs: [
46 "libaudioutils",
47 "libcutils",
Dan Willemsen154fce42018-11-16 23:15:45 -080048 "liblog",
49 ],
50
51 local_include_dirs: ["Bundle"],
52
53 header_libs: [
54 "libhardware_headers",
55 "libaudioeffects",
56 ],
57}
58
59// reverb wrapper
Harish Mahendrakar3a3fcfe2020-12-30 14:54:04 -080060cc_library {
Dan Willemsen154fce42018-11-16 23:15:45 -080061 name: "libreverbwrapper",
62
63 arch: {
64 arm: {
65 instruction_set: "arm",
66 },
67 },
68
69 vendor: true,
Harish Mahendrakar6d2e79b2021-02-17 13:47:44 -080070 host_supported: true,
Dan Willemsen154fce42018-11-16 23:15:45 -080071 srcs: ["Reverb/EffectReverb.cpp"],
72
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053073 cppflags: [
Dan Willemsen154fce42018-11-16 23:15:45 -080074 "-fvisibility=hidden",
Dan Willemsen154fce42018-11-16 23:15:45 -080075
76 "-Wall",
77 "-Werror",
78 ],
79
80 relative_install_path: "soundfx",
81
82 static_libs: ["libreverb"],
83
84 shared_libs: [
85 "libaudioutils",
86 "libcutils",
Dan Willemsen154fce42018-11-16 23:15:45 -080087 "liblog",
88 ],
89
90 local_include_dirs: ["Reverb"],
91
Ray Essick23e36932022-01-30 11:58:23 -080092 export_include_dirs: ["Reverb"],
93
Dan Willemsen154fce42018-11-16 23:15:45 -080094 header_libs: [
95 "libhardware_headers",
96 "libaudioeffects",
97 ],
98
99 sanitize: {
100 integer_overflow: true,
101 },
102}
Shunkai Yao1b7c6ad2022-10-23 17:12:12 +0000103
104cc_library_shared {
105 name: "libbundleaidl",
106 srcs: [
107 "Aidl/BundleContext.cpp",
108 "Aidl/EffectBundleAidl.cpp",
109 ":effectCommonFile",
110 ],
111 static_libs: ["libmusicbundle"],
112 defaults: [
113 "aidlaudioservice_defaults",
114 "latest_android_hardware_audio_effect_ndk_shared",
115 "latest_android_media_audio_common_types_ndk_shared",
116 ],
117 local_include_dirs: ["Aidl"],
118 header_libs: [
119 "libaudioeffects",
120 "libhardware_headers",
121 ],
122 shared_libs: [
123 "liblog",
124 ],
Shunkai Yaob870cd22022-12-07 05:28:10 +0000125 cflags: [
126 "-Wthread-safety",
127 ],
Shunkai Yao9e6cca82023-02-02 01:26:10 +0000128 relative_install_path: "soundfx",
Shunkai Yao1b7c6ad2022-10-23 17:12:12 +0000129 visibility: [
130 "//hardware/interfaces/audio/aidl/default",
131 ],
Shraddha Basantwani68cfef22022-12-29 19:44:01 +0530132}
133
134cc_library_shared {
135 name: "libreverbaidl",
136 srcs: [
137 "Reverb/aidl/ReverbContext.cpp",
138 "Reverb/aidl/EffectReverb.cpp",
139 ":effectCommonFile",
140 ],
141 static_libs: ["libreverb"],
142 defaults: [
143 "aidlaudioservice_defaults",
144 "latest_android_hardware_audio_effect_ndk_shared",
145 "latest_android_media_audio_common_types_ndk_shared",
146 ],
147 local_include_dirs: ["Reverb/aidl"],
148 header_libs: [
149 "libaudioeffects",
150 "libhardware_headers",
151 ],
152 shared_libs: [
153 "libbase",
154 "libaudioutils",
155 "libcutils",
156 "liblog",
157 ],
158 cflags: [
159 "-Wthread-safety",
160 ],
Shunkai Yao9e6cca82023-02-02 01:26:10 +0000161 relative_install_path: "soundfx",
Shraddha Basantwani68cfef22022-12-29 19:44:01 +0530162 visibility: [
163 "//hardware/interfaces/audio/aidl/default",
164 ],
165}