blob: da5346f33896815202a9764c27338f7650713ef1 [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: [
Shunkai Yaocbe90d02023-12-14 02:35:55 +0000113 "aidlaudioeffectservice_defaults",
Shunkai Yao1b7c6ad2022-10-23 17:12:12 +0000114 ],
115 local_include_dirs: ["Aidl"],
116 header_libs: [
117 "libaudioeffects",
118 "libhardware_headers",
119 ],
120 shared_libs: [
Shraddha Basantwani74714782023-12-11 14:08:45 +0000121 "libaudio_aidl_conversion_common_ndk",
122 "libaudioutils",
123 "libbinder",
Shunkai Yao1b7c6ad2022-10-23 17:12:12 +0000124 "liblog",
Shraddha Basantwani74714782023-12-11 14:08:45 +0000125 "libstagefright_foundation",
Shunkai Yao1b7c6ad2022-10-23 17:12:12 +0000126 ],
Shunkai Yaob870cd22022-12-07 05:28:10 +0000127 cflags: [
128 "-Wthread-safety",
Shraddha Basantwani74714782023-12-11 14:08:45 +0000129 "-DBACKEND_NDK",
Shunkai Yaob870cd22022-12-07 05:28:10 +0000130 ],
Shunkai Yao9e6cca82023-02-02 01:26:10 +0000131 relative_install_path: "soundfx",
Shunkai Yao1b7c6ad2022-10-23 17:12:12 +0000132 visibility: [
133 "//hardware/interfaces/audio/aidl/default",
134 ],
Shraddha Basantwani68cfef22022-12-29 19:44:01 +0530135}
136
137cc_library_shared {
138 name: "libreverbaidl",
139 srcs: [
140 "Reverb/aidl/ReverbContext.cpp",
141 "Reverb/aidl/EffectReverb.cpp",
142 ":effectCommonFile",
143 ],
144 static_libs: ["libreverb"],
145 defaults: [
Shunkai Yaocbe90d02023-12-14 02:35:55 +0000146 "aidlaudioeffectservice_defaults",
Shraddha Basantwani68cfef22022-12-29 19:44:01 +0530147 ],
148 local_include_dirs: ["Reverb/aidl"],
149 header_libs: [
150 "libaudioeffects",
151 "libhardware_headers",
152 ],
153 shared_libs: [
154 "libbase",
155 "libaudioutils",
156 "libcutils",
157 "liblog",
158 ],
159 cflags: [
160 "-Wthread-safety",
161 ],
Shunkai Yao9e6cca82023-02-02 01:26:10 +0000162 relative_install_path: "soundfx",
Shraddha Basantwani68cfef22022-12-29 19:44:01 +0530163 visibility: [
164 "//hardware/interfaces/audio/aidl/default",
165 ],
166}