blob: 5fb39667e9c67a28e54288b2d51785d41cdc790a [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: [
121 "liblog",
122 ],
Shunkai Yaob870cd22022-12-07 05:28:10 +0000123 cflags: [
124 "-Wthread-safety",
125 ],
Shunkai Yao9e6cca82023-02-02 01:26:10 +0000126 relative_install_path: "soundfx",
Shunkai Yao1b7c6ad2022-10-23 17:12:12 +0000127 visibility: [
128 "//hardware/interfaces/audio/aidl/default",
129 ],
Shraddha Basantwani68cfef22022-12-29 19:44:01 +0530130}
131
132cc_library_shared {
133 name: "libreverbaidl",
134 srcs: [
135 "Reverb/aidl/ReverbContext.cpp",
136 "Reverb/aidl/EffectReverb.cpp",
137 ":effectCommonFile",
138 ],
139 static_libs: ["libreverb"],
140 defaults: [
Shunkai Yaocbe90d02023-12-14 02:35:55 +0000141 "aidlaudioeffectservice_defaults",
Shraddha Basantwani68cfef22022-12-29 19:44:01 +0530142 ],
143 local_include_dirs: ["Reverb/aidl"],
144 header_libs: [
145 "libaudioeffects",
146 "libhardware_headers",
147 ],
148 shared_libs: [
149 "libbase",
150 "libaudioutils",
151 "libcutils",
152 "liblog",
153 ],
154 cflags: [
155 "-Wthread-safety",
156 ],
Shunkai Yao9e6cca82023-02-02 01:26:10 +0000157 relative_install_path: "soundfx",
Shraddha Basantwani68cfef22022-12-29 19:44:01 +0530158 visibility: [
159 "//hardware/interfaces/audio/aidl/default",
160 ],
161}