blob: 0ac9aa312972d0c94278899b3e04b0d5a5a5fd3a [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,
12 srcs: [
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053013 "StereoWidening/src/LVCS_BypassMix.cpp",
14 "StereoWidening/src/LVCS_Control.cpp",
15 "StereoWidening/src/LVCS_Equaliser.cpp",
16 "StereoWidening/src/LVCS_Init.cpp",
17 "StereoWidening/src/LVCS_Process.cpp",
18 "StereoWidening/src/LVCS_ReverbGenerator.cpp",
19 "StereoWidening/src/LVCS_StereoEnhancer.cpp",
20 "StereoWidening/src/LVCS_Tables.cpp",
21 "Bass/src/LVDBE_Control.cpp",
22 "Bass/src/LVDBE_Init.cpp",
23 "Bass/src/LVDBE_Process.cpp",
24 "Bass/src/LVDBE_Tables.cpp",
25 "Bundle/src/LVM_API_Specials.cpp",
26 "Bundle/src/LVM_Buffers.cpp",
27 "Bundle/src/LVM_Init.cpp",
28 "Bundle/src/LVM_Process.cpp",
29 "Bundle/src/LVM_Tables.cpp",
30 "Bundle/src/LVM_Control.cpp",
31 "SpectrumAnalyzer/src/LVPSA_Control.cpp",
32 "SpectrumAnalyzer/src/LVPSA_Init.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053033 "SpectrumAnalyzer/src/LVPSA_Process.cpp",
34 "SpectrumAnalyzer/src/LVPSA_QPD_Init.cpp",
35 "SpectrumAnalyzer/src/LVPSA_QPD_Process.cpp",
36 "SpectrumAnalyzer/src/LVPSA_Tables.cpp",
37 "Eq/src/LVEQNB_CalcCoef.cpp",
38 "Eq/src/LVEQNB_Control.cpp",
39 "Eq/src/LVEQNB_Init.cpp",
40 "Eq/src/LVEQNB_Process.cpp",
41 "Eq/src/LVEQNB_Tables.cpp",
42 "Common/src/InstAlloc.cpp",
43 "Common/src/DC_2I_D16_TRC_WRA_01.cpp",
44 "Common/src/DC_2I_D16_TRC_WRA_01_Init.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053045 "Common/src/Copy_16.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053046 "Common/src/MonoTo2I_32.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053047 "Common/src/LoadConst_32.cpp",
48 "Common/src/dB_to_Lin32.cpp",
49 "Common/src/Shift_Sat_v16xv16.cpp",
50 "Common/src/Shift_Sat_v32xv32.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053051 "Common/src/From2iToMono_32.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053052 "Common/src/Mult3s_32x16.cpp",
53 "Common/src/NonLinComp_D16.cpp",
54 "Common/src/DelayMix_16x16.cpp",
55 "Common/src/MSTo2i_Sat_16x16.cpp",
56 "Common/src/From2iToMS_16x16.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053057 "Common/src/Mac3s_Sat_32x16.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +053058 "Common/src/Add2_Sat_32x32.cpp",
59 "Common/src/LVC_MixSoft_1St_2i_D16C31_SAT.cpp",
60 "Common/src/LVC_MixSoft_1St_D16C31_SAT.cpp",
61 "Common/src/LVC_Mixer_VarSlope_SetTimeConstant.cpp",
62 "Common/src/LVC_Mixer_SetTimeConstant.cpp",
63 "Common/src/LVC_Mixer_SetTarget.cpp",
64 "Common/src/LVC_Mixer_GetTarget.cpp",
65 "Common/src/LVC_Mixer_Init.cpp",
66 "Common/src/LVC_Core_MixHard_1St_2i_D16C31_SAT.cpp",
67 "Common/src/LVC_Core_MixSoft_1St_2i_D16C31_WRA.cpp",
68 "Common/src/LVC_Core_MixInSoft_D16C31_SAT.cpp",
69 "Common/src/LVC_Mixer_GetCurrent.cpp",
70 "Common/src/LVC_MixSoft_2St_D16C31_SAT.cpp",
71 "Common/src/LVC_Core_MixSoft_1St_D16C31_WRA.cpp",
72 "Common/src/LVC_Core_MixHard_2St_D16C31_SAT.cpp",
73 "Common/src/LVC_MixInSoft_D16C31_SAT.cpp",
74 "Common/src/AGC_MIX_VOL_2St1Mon_D32_WRA.cpp",
75 "Common/src/LVM_Timer.cpp",
76 "Common/src/LVM_Timer_Init.cpp",
Dan Willemsen154fce42018-11-16 23:15:45 -080077 ],
78
79 local_include_dirs: [
80 "Eq/lib",
81 "Eq/src",
82 "Bass/lib",
83 "Bass/src",
84 "Common/src",
85 "Bundle/src",
86 "SpectrumAnalyzer/lib",
87 "SpectrumAnalyzer/src",
88 "StereoWidening/src",
89 "StereoWidening/lib",
90 ],
91 export_include_dirs: [
92 "Common/lib",
93 "Bundle/lib",
94 ],
Saketh Sathuvallib99e1bc2018-02-21 17:10:34 +053095 shared_libs: [
96 "liblog",
97 ],
Rivukanta Bhattacharyac3b65792020-12-01 18:28:52 +053098 static_libs: [
99 "libaudioutils",
100 ],
Saketh Sathuvalli7b66e3b2019-02-08 15:18:54 +0530101 header_libs: [
Harish Mahendrakar0bbbe072020-10-01 23:28:48 +0530102 "libhardware_headers",
Saketh Sathuvalli7b66e3b2019-02-08 15:18:54 +0530103 ],
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +0530104 cppflags: [
Dan Willemsen154fce42018-11-16 23:15:45 -0800105 "-fvisibility=hidden",
Dan Willemsen154fce42018-11-16 23:15:45 -0800106 "-Wall",
107 "-Werror",
108 ],
109
110}
111
112// Reverb library
113cc_library_static {
114 name: "libreverb",
115
116 arch: {
117 arm: {
118 instruction_set: "arm",
119 },
120 },
121
122 vendor: true,
123 srcs: [
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +0530124 "Reverb/src/LVREV_ApplyNewSettings.cpp",
125 "Reverb/src/LVREV_ClearAudioBuffers.cpp",
126 "Reverb/src/LVREV_GetControlParameters.cpp",
127 "Reverb/src/LVREV_GetInstanceHandle.cpp",
128 "Reverb/src/LVREV_GetMemoryTable.cpp",
129 "Reverb/src/LVREV_Process.cpp",
130 "Reverb/src/LVREV_SetControlParameters.cpp",
131 "Reverb/src/LVREV_Tables.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +0530132 "Common/src/InstAlloc.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +0530133 "Common/src/LoadConst_32.cpp",
134 "Common/src/From2iToMono_32.cpp",
135 "Common/src/Mult3s_32x16.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +0530136 "Common/src/Copy_16.cpp",
137 "Common/src/Mac3s_Sat_32x16.cpp",
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +0530138 "Common/src/Shift_Sat_v32xv32.cpp",
139 "Common/src/Add2_Sat_32x32.cpp",
140 "Common/src/JoinTo2i_32x32.cpp",
141 "Common/src/MonoTo2I_32.cpp",
142 "Common/src/LVM_FO_HPF.cpp",
143 "Common/src/LVM_FO_LPF.cpp",
144 "Common/src/LVM_Polynomial.cpp",
145 "Common/src/LVM_Power10.cpp",
146 "Common/src/LVM_GetOmega.cpp",
147 "Common/src/MixSoft_2St_D32C31_SAT.cpp",
148 "Common/src/MixSoft_1St_D32C31_WRA.cpp",
149 "Common/src/MixInSoft_D32C31_SAT.cpp",
150 "Common/src/LVM_Mixer_TimeConstant.cpp",
151 "Common/src/Core_MixHard_2St_D32C31_SAT.cpp",
152 "Common/src/Core_MixSoft_1St_D32C31_WRA.cpp",
153 "Common/src/Core_MixInSoft_D32C31_SAT.cpp",
Dan Willemsen154fce42018-11-16 23:15:45 -0800154 ],
155
156 local_include_dirs: [
157 "Reverb/src",
158 "Common/src",
159 ],
160 export_include_dirs: [
161 "Reverb/lib",
162 "Common/lib",
163 ],
Rivukanta Bhattacharya04587642020-12-14 18:07:29 +0530164 static_libs: [
165 "libaudioutils",
166 ],
Saketh Sathuvalli2b7eb6b2019-03-12 18:28:58 +0530167 cppflags: [
Dan Willemsen154fce42018-11-16 23:15:45 -0800168 "-fvisibility=hidden",
Dan Willemsen154fce42018-11-16 23:15:45 -0800169 "-Wall",
170 "-Werror",
171 ],
172}