blob: 84b49f2ac77cfa6fecf18beb239351231c3f6214 [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: [
Dan Willemsen154fce42018-11-16 23:15:45 -080054 "libaudioeffects",
Andy Hunge59246e2024-03-15 11:48:57 -070055 "libhardware_headers",
Dan Willemsen154fce42018-11-16 23:15:45 -080056 ],
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: [
Dan Willemsen154fce42018-11-16 23:15:45 -080095 "libaudioeffects",
Andy Hunge59246e2024-03-15 11:48:57 -070096 "libhardware_headers",
Dan Willemsen154fce42018-11-16 23:15:45 -080097 ],
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: [
Andy Hunge59246e2024-03-15 11:48:57 -0700107 ":effectCommonFile",
Shunkai Yao1b7c6ad2022-10-23 17:12:12 +0000108 "Aidl/BundleContext.cpp",
109 "Aidl/EffectBundleAidl.cpp",
Shunkai Yao1b7c6ad2022-10-23 17:12:12 +0000110 ],
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",
Shunkai Yao1b7c6ad2022-10-23 17:12:12 +0000123 "liblog",
Shraddha Basantwani74714782023-12-11 14:08:45 +0000124 "libstagefright_foundation",
Shunkai Yao1b7c6ad2022-10-23 17:12:12 +0000125 ],
Shunkai Yaob870cd22022-12-07 05:28:10 +0000126 cflags: [
Shraddha Basantwani74714782023-12-11 14:08:45 +0000127 "-DBACKEND_NDK",
Andy Hunge59246e2024-03-15 11:48:57 -0700128 "-Wthread-safety",
Shunkai Yaob870cd22022-12-07 05:28:10 +0000129 ],
Shunkai Yao9e6cca82023-02-02 01:26:10 +0000130 relative_install_path: "soundfx",
Shunkai Yao1b7c6ad2022-10-23 17:12:12 +0000131 visibility: [
Deyao Ren76db0d72023-09-29 02:49:24 +0000132 "//hardware/interfaces/audio/aidl/default:__subpackages__",
Shunkai Yao1b7c6ad2022-10-23 17:12:12 +0000133 ],
Shraddha Basantwani68cfef22022-12-29 19:44:01 +0530134}
135
136cc_library_shared {
137 name: "libreverbaidl",
138 srcs: [
Shraddha Basantwani68cfef22022-12-29 19:44:01 +0530139 ":effectCommonFile",
Andy Hunge59246e2024-03-15 11:48:57 -0700140 "Reverb/aidl/EffectReverb.cpp",
141 "Reverb/aidl/ReverbContext.cpp",
Shraddha Basantwani68cfef22022-12-29 19:44:01 +0530142 ],
143 static_libs: ["libreverb"],
144 defaults: [
Shunkai Yaocbe90d02023-12-14 02:35:55 +0000145 "aidlaudioeffectservice_defaults",
Shraddha Basantwani68cfef22022-12-29 19:44:01 +0530146 ],
147 local_include_dirs: ["Reverb/aidl"],
148 header_libs: [
149 "libaudioeffects",
150 "libhardware_headers",
151 ],
152 shared_libs: [
Shraddha Basantwani68cfef22022-12-29 19:44:01 +0530153 "libaudioutils",
Andy Hunge59246e2024-03-15 11:48:57 -0700154 "libbase",
Shraddha Basantwani68cfef22022-12-29 19:44:01 +0530155 "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: [
Deyao Ren76db0d72023-09-29 02:49:24 +0000163 "//hardware/interfaces/audio/aidl/default:__subpackages__",
Shraddha Basantwani68cfef22022-12-29 19:44:01 +0530164 ],
165}