• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1// Music bundle
2package {
3    default_applicable_licenses: [
4        "frameworks_av_media_libeffects_lvm_lib_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_lib_license",
12    visibility: [":__subpackages__"],
13    license_kinds: [
14        "SPDX-license-identifier-Apache-2.0",
15    ],
16    license_text: [
17        "NOTICE",
18    ],
19}
20
21cc_library_static {
22    name: "libmusicbundle",
23
24    arch: {
25        arm: {
26            instruction_set: "arm",
27        },
28    },
29
30    vendor: true,
31    host_supported: true,
32    srcs: [
33        "StereoWidening/src/LVCS_BypassMix.cpp",
34        "StereoWidening/src/LVCS_Control.cpp",
35        "StereoWidening/src/LVCS_Equaliser.cpp",
36        "StereoWidening/src/LVCS_Init.cpp",
37        "StereoWidening/src/LVCS_Process.cpp",
38        "StereoWidening/src/LVCS_ReverbGenerator.cpp",
39        "StereoWidening/src/LVCS_StereoEnhancer.cpp",
40        "StereoWidening/src/LVCS_Tables.cpp",
41        "Bass/src/LVDBE_Control.cpp",
42        "Bass/src/LVDBE_Init.cpp",
43        "Bass/src/LVDBE_Process.cpp",
44        "Bass/src/LVDBE_Tables.cpp",
45        "Bundle/src/LVM_API_Specials.cpp",
46        "Bundle/src/LVM_Buffers.cpp",
47        "Bundle/src/LVM_Init.cpp",
48        "Bundle/src/LVM_Process.cpp",
49        "Bundle/src/LVM_Tables.cpp",
50        "Bundle/src/LVM_Control.cpp",
51        "SpectrumAnalyzer/src/LVPSA_Control.cpp",
52        "SpectrumAnalyzer/src/LVPSA_Init.cpp",
53        "SpectrumAnalyzer/src/LVPSA_Process.cpp",
54        "SpectrumAnalyzer/src/LVPSA_QPD_Init.cpp",
55        "SpectrumAnalyzer/src/LVPSA_QPD_Process.cpp",
56        "SpectrumAnalyzer/src/LVPSA_Tables.cpp",
57        "Eq/src/LVEQNB_CalcCoef.cpp",
58        "Eq/src/LVEQNB_Control.cpp",
59        "Eq/src/LVEQNB_Init.cpp",
60        "Eq/src/LVEQNB_Process.cpp",
61        "Eq/src/LVEQNB_Tables.cpp",
62        "Common/src/DC_2I_D16_TRC_WRA_01.cpp",
63        "Common/src/DC_2I_D16_TRC_WRA_01_Init.cpp",
64        "Common/src/Copy_16.cpp",
65        "Common/src/MonoTo2I_32.cpp",
66        "Common/src/dB_to_Lin32.cpp",
67        "Common/src/Shift_Sat_v16xv16.cpp",
68        "Common/src/Shift_Sat_v32xv32.cpp",
69        "Common/src/From2iToMono_32.cpp",
70        "Common/src/Mult3s_32x16.cpp",
71        "Common/src/NonLinComp_D16.cpp",
72        "Common/src/DelayMix_16x16.cpp",
73        "Common/src/MSTo2i_Sat_16x16.cpp",
74        "Common/src/From2iToMS_16x16.cpp",
75        "Common/src/Mac3s_Sat_32x16.cpp",
76        "Common/src/Add2_Sat_32x32.cpp",
77        "Common/src/LVC_MixSoft_1St_2i_D16C31_SAT.cpp",
78        "Common/src/LVC_MixSoft_1St_D16C31_SAT.cpp",
79        "Common/src/LVC_Mixer_VarSlope_SetTimeConstant.cpp",
80        "Common/src/LVC_Mixer_SetTimeConstant.cpp",
81        "Common/src/LVC_Mixer_SetTarget.cpp",
82        "Common/src/LVC_Mixer_GetTarget.cpp",
83        "Common/src/LVC_Mixer_Init.cpp",
84        "Common/src/LVC_Core_MixHard_1St_2i_D16C31_SAT.cpp",
85        "Common/src/LVC_Core_MixSoft_1St_2i_D16C31_WRA.cpp",
86        "Common/src/LVC_Core_MixInSoft_D16C31_SAT.cpp",
87        "Common/src/LVC_Mixer_GetCurrent.cpp",
88        "Common/src/LVC_MixSoft_2St_D16C31_SAT.cpp",
89        "Common/src/LVC_Core_MixSoft_1St_D16C31_WRA.cpp",
90        "Common/src/LVC_Core_MixHard_2St_D16C31_SAT.cpp",
91        "Common/src/LVC_MixInSoft_D16C31_SAT.cpp",
92        "Common/src/AGC_MIX_VOL_2St1Mon_D32_WRA.cpp",
93        "Common/src/LVM_Timer.cpp",
94        "Common/src/LVM_Timer_Init.cpp",
95    ],
96
97    local_include_dirs: [
98        "Eq/lib",
99        "Eq/src",
100        "Bass/lib",
101        "Bass/src",
102        "Common/src",
103        "Bundle/src",
104        "SpectrumAnalyzer/lib",
105        "SpectrumAnalyzer/src",
106        "StereoWidening/src",
107        "StereoWidening/lib",
108    ],
109    export_include_dirs: [
110        "Common/lib",
111        "Bundle/lib",
112    ],
113    shared_libs: [
114        "liblog",
115    ],
116    static_libs: [
117        "libaudioutils",
118    ],
119    header_libs: [
120        "libhardware_headers",
121    ],
122    cppflags: [
123        "-fvisibility=hidden",
124        "-Wall",
125        "-Werror",
126    ],
127
128}
129
130// Reverb library
131cc_library_static {
132    name: "libreverb",
133
134    arch: {
135        arm: {
136            instruction_set: "arm",
137        },
138    },
139
140    vendor: true,
141    host_supported: true,
142    srcs: [
143        "Reverb/src/LVREV_ApplyNewSettings.cpp",
144        "Reverb/src/LVREV_ClearAudioBuffers.cpp",
145        "Reverb/src/LVREV_GetControlParameters.cpp",
146        "Reverb/src/LVREV_GetInstanceHandle.cpp",
147        "Reverb/src/LVREV_Process.cpp",
148        "Reverb/src/LVREV_SetControlParameters.cpp",
149        "Reverb/src/LVREV_Tables.cpp",
150        "Common/src/From2iToMono_32.cpp",
151        "Common/src/Mult3s_32x16.cpp",
152        "Common/src/Copy_16.cpp",
153        "Common/src/Mac3s_Sat_32x16.cpp",
154        "Common/src/Shift_Sat_v32xv32.cpp",
155        "Common/src/Add2_Sat_32x32.cpp",
156        "Common/src/JoinTo2i_32x32.cpp",
157        "Common/src/MonoTo2I_32.cpp",
158        "Common/src/LVM_FO_HPF.cpp",
159        "Common/src/LVM_FO_LPF.cpp",
160        "Common/src/LVM_Polynomial.cpp",
161        "Common/src/LVM_Power10.cpp",
162        "Common/src/LVM_GetOmega.cpp",
163        "Common/src/MixSoft_2St_D32C31_SAT.cpp",
164        "Common/src/MixSoft_1St_D32C31_WRA.cpp",
165        "Common/src/MixInSoft_D32C31_SAT.cpp",
166        "Common/src/LVM_Mixer_TimeConstant.cpp",
167        "Common/src/Core_MixHard_2St_D32C31_SAT.cpp",
168        "Common/src/Core_MixSoft_1St_D32C31_WRA.cpp",
169        "Common/src/Core_MixInSoft_D32C31_SAT.cpp",
170    ],
171
172    local_include_dirs: [
173        "Reverb/src",
174        "Common/src",
175    ],
176    export_include_dirs: [
177        "Reverb/lib",
178        "Common/lib",
179    ],
180    static_libs: [
181        "libaudioutils",
182    ],
183    cppflags: [
184        "-fvisibility=hidden",
185        "-Wall",
186        "-Werror",
187    ],
188}
189