blob: 73c913bdc5aa1933f1114dd5474da0f139821d43 [file] [log] [blame]
Dan Willemsen154fce42018-11-16 23:15:45 -08001// Music bundle
2cc_library_static {
3 name: "libmusicbundle",
4
5 arch: {
6 arm: {
7 instruction_set: "arm",
8 },
9 },
10
11 vendor: true,
Harish Mahendrakarceb74de2021-02-10 14:06:06 -080012 host_supported: true,
Dan Willemsen154fce42018-11-16 23:15:45 -080013 srcs: [
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053014 "StereoWidening/src/LVCS_BypassMix.cpp",
15 "StereoWidening/src/LVCS_Control.cpp",
16 "StereoWidening/src/LVCS_Equaliser.cpp",
17 "StereoWidening/src/LVCS_Init.cpp",
18 "StereoWidening/src/LVCS_Process.cpp",
19 "StereoWidening/src/LVCS_ReverbGenerator.cpp",
20 "StereoWidening/src/LVCS_StereoEnhancer.cpp",
21 "StereoWidening/src/LVCS_Tables.cpp",
22 "Bass/src/LVDBE_Control.cpp",
23 "Bass/src/LVDBE_Init.cpp",
24 "Bass/src/LVDBE_Process.cpp",
25 "Bass/src/LVDBE_Tables.cpp",
26 "Bundle/src/LVM_API_Specials.cpp",
27 "Bundle/src/LVM_Buffers.cpp",
28 "Bundle/src/LVM_Init.cpp",
29 "Bundle/src/LVM_Process.cpp",
30 "Bundle/src/LVM_Tables.cpp",
31 "Bundle/src/LVM_Control.cpp",
32 "SpectrumAnalyzer/src/LVPSA_Control.cpp",
33 "SpectrumAnalyzer/src/LVPSA_Init.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053034 "SpectrumAnalyzer/src/LVPSA_Process.cpp",
35 "SpectrumAnalyzer/src/LVPSA_QPD_Init.cpp",
36 "SpectrumAnalyzer/src/LVPSA_QPD_Process.cpp",
37 "SpectrumAnalyzer/src/LVPSA_Tables.cpp",
38 "Eq/src/LVEQNB_CalcCoef.cpp",
39 "Eq/src/LVEQNB_Control.cpp",
40 "Eq/src/LVEQNB_Init.cpp",
41 "Eq/src/LVEQNB_Process.cpp",
42 "Eq/src/LVEQNB_Tables.cpp",
43 "Common/src/InstAlloc.cpp",
44 "Common/src/DC_2I_D16_TRC_WRA_01.cpp",
45 "Common/src/DC_2I_D16_TRC_WRA_01_Init.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053046 "Common/src/Copy_16.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053047 "Common/src/MonoTo2I_32.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053048 "Common/src/LoadConst_32.cpp",
49 "Common/src/dB_to_Lin32.cpp",
50 "Common/src/Shift_Sat_v16xv16.cpp",
51 "Common/src/Shift_Sat_v32xv32.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053052 "Common/src/From2iToMono_32.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053053 "Common/src/Mult3s_32x16.cpp",
54 "Common/src/NonLinComp_D16.cpp",
55 "Common/src/DelayMix_16x16.cpp",
56 "Common/src/MSTo2i_Sat_16x16.cpp",
57 "Common/src/From2iToMS_16x16.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053058 "Common/src/Mac3s_Sat_32x16.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053059 "Common/src/Add2_Sat_32x32.cpp",
60 "Common/src/LVC_MixSoft_1St_2i_D16C31_SAT.cpp",
61 "Common/src/LVC_MixSoft_1St_D16C31_SAT.cpp",
62 "Common/src/LVC_Mixer_VarSlope_SetTimeConstant.cpp",
63 "Common/src/LVC_Mixer_SetTimeConstant.cpp",
64 "Common/src/LVC_Mixer_SetTarget.cpp",
65 "Common/src/LVC_Mixer_GetTarget.cpp",
66 "Common/src/LVC_Mixer_Init.cpp",
67 "Common/src/LVC_Core_MixHard_1St_2i_D16C31_SAT.cpp",
68 "Common/src/LVC_Core_MixSoft_1St_2i_D16C31_WRA.cpp",
69 "Common/src/LVC_Core_MixInSoft_D16C31_SAT.cpp",
70 "Common/src/LVC_Mixer_GetCurrent.cpp",
71 "Common/src/LVC_MixSoft_2St_D16C31_SAT.cpp",
72 "Common/src/LVC_Core_MixSoft_1St_D16C31_WRA.cpp",
73 "Common/src/LVC_Core_MixHard_2St_D16C31_SAT.cpp",
74 "Common/src/LVC_MixInSoft_D16C31_SAT.cpp",
75 "Common/src/AGC_MIX_VOL_2St1Mon_D32_WRA.cpp",
76 "Common/src/LVM_Timer.cpp",
77 "Common/src/LVM_Timer_Init.cpp",
Dan Willemsen154fce42018-11-16 23:15:45 -080078 ],
79
80 local_include_dirs: [
81 "Eq/lib",
82 "Eq/src",
83 "Bass/lib",
84 "Bass/src",
85 "Common/src",
86 "Bundle/src",
87 "SpectrumAnalyzer/lib",
88 "SpectrumAnalyzer/src",
89 "StereoWidening/src",
90 "StereoWidening/lib",
91 ],
92 export_include_dirs: [
93 "Common/lib",
94 "Bundle/lib",
95 ],
Saketh Sathuvallib99e1bc2018-02-21 17:10:34 +053096 shared_libs: [
97 "liblog",
98 ],
Rivukanta Bhattacharyac3b65792020-12-01 18:28:52 +053099 static_libs: [
100 "libaudioutils",
101 ],
Saketh Sathuvalli7b66e3b2019-02-08 15:18:54 +0530102 header_libs: [
Harish Mahendrakar0bbbe072020-10-01 23:28:48 +0530103 "libhardware_headers",
Saketh Sathuvalli7b66e3b2019-02-08 15:18:54 +0530104 ],
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +0530105 cppflags: [
Dan Willemsen154fce42018-11-16 23:15:45 -0800106 "-fvisibility=hidden",
Dan Willemsen154fce42018-11-16 23:15:45 -0800107 "-Wall",
108 "-Werror",
109 ],
110
111}
112
113// Reverb library
114cc_library_static {
115 name: "libreverb",
116
117 arch: {
118 arm: {
119 instruction_set: "arm",
120 },
121 },
122
123 vendor: true,
124 srcs: [
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +0530125 "Reverb/src/LVREV_ApplyNewSettings.cpp",
126 "Reverb/src/LVREV_ClearAudioBuffers.cpp",
127 "Reverb/src/LVREV_GetControlParameters.cpp",
128 "Reverb/src/LVREV_GetInstanceHandle.cpp",
129 "Reverb/src/LVREV_GetMemoryTable.cpp",
130 "Reverb/src/LVREV_Process.cpp",
131 "Reverb/src/LVREV_SetControlParameters.cpp",
132 "Reverb/src/LVREV_Tables.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +0530133 "Common/src/InstAlloc.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +0530134 "Common/src/LoadConst_32.cpp",
135 "Common/src/From2iToMono_32.cpp",
136 "Common/src/Mult3s_32x16.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +0530137 "Common/src/Copy_16.cpp",
138 "Common/src/Mac3s_Sat_32x16.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +0530139 "Common/src/Shift_Sat_v32xv32.cpp",
140 "Common/src/Add2_Sat_32x32.cpp",
141 "Common/src/JoinTo2i_32x32.cpp",
142 "Common/src/MonoTo2I_32.cpp",
143 "Common/src/LVM_FO_HPF.cpp",
144 "Common/src/LVM_FO_LPF.cpp",
145 "Common/src/LVM_Polynomial.cpp",
146 "Common/src/LVM_Power10.cpp",
147 "Common/src/LVM_GetOmega.cpp",
148 "Common/src/MixSoft_2St_D32C31_SAT.cpp",
149 "Common/src/MixSoft_1St_D32C31_WRA.cpp",
150 "Common/src/MixInSoft_D32C31_SAT.cpp",
151 "Common/src/LVM_Mixer_TimeConstant.cpp",
152 "Common/src/Core_MixHard_2St_D32C31_SAT.cpp",
153 "Common/src/Core_MixSoft_1St_D32C31_WRA.cpp",
154 "Common/src/Core_MixInSoft_D32C31_SAT.cpp",
Dan Willemsen154fce42018-11-16 23:15:45 -0800155 ],
156
157 local_include_dirs: [
158 "Reverb/src",
159 "Common/src",
160 ],
161 export_include_dirs: [
162 "Reverb/lib",
163 "Common/lib",
164 ],
Rivukanta Bhattacharya04587642020-12-14 18:07:29 +0530165 static_libs: [
166 "libaudioutils",
167 ],
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +0530168 cppflags: [
Dan Willemsen154fce42018-11-16 23:15:45 -0800169 "-fvisibility=hidden",
Dan Willemsen154fce42018-11-16 23:15:45 -0800170 "-Wall",
171 "-Werror",
172 ],
173}