Dan Willemsen | 154fce4 | 2018-11-16 23:15:45 -0800 | [diff] [blame] | 1 | // Music bundle |
| 2 | cc_library_static { |
| 3 | name: "libmusicbundle", |
| 4 | |
| 5 | arch: { |
| 6 | arm: { |
| 7 | instruction_set: "arm", |
| 8 | }, |
| 9 | }, |
| 10 | |
| 11 | vendor: true, |
Harish Mahendrakar | ceb74de | 2021-02-10 14:06:06 -0800 | [diff] [blame] | 12 | host_supported: true, |
Dan Willemsen | 154fce4 | 2018-11-16 23:15:45 -0800 | [diff] [blame] | 13 | srcs: [ |
Saketh Sathuvalli | 2b7eb6b | 2019-03-12 18:28:58 +0530 | [diff] [blame] | 14 | "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 Sathuvalli | 2b7eb6b | 2019-03-12 18:28:58 +0530 | [diff] [blame] | 34 | "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 Sathuvalli | 2b7eb6b | 2019-03-12 18:28:58 +0530 | [diff] [blame] | 46 | "Common/src/Copy_16.cpp", |
Saketh Sathuvalli | 2b7eb6b | 2019-03-12 18:28:58 +0530 | [diff] [blame] | 47 | "Common/src/MonoTo2I_32.cpp", |
Saketh Sathuvalli | 2b7eb6b | 2019-03-12 18:28:58 +0530 | [diff] [blame] | 48 | "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 Sathuvalli | 2b7eb6b | 2019-03-12 18:28:58 +0530 | [diff] [blame] | 52 | "Common/src/From2iToMono_32.cpp", |
Saketh Sathuvalli | 2b7eb6b | 2019-03-12 18:28:58 +0530 | [diff] [blame] | 53 | "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 Sathuvalli | 2b7eb6b | 2019-03-12 18:28:58 +0530 | [diff] [blame] | 58 | "Common/src/Mac3s_Sat_32x16.cpp", |
Saketh Sathuvalli | 2b7eb6b | 2019-03-12 18:28:58 +0530 | [diff] [blame] | 59 | "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 Willemsen | 154fce4 | 2018-11-16 23:15:45 -0800 | [diff] [blame] | 78 | ], |
| 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 Sathuvalli | b99e1bc | 2018-02-21 17:10:34 +0530 | [diff] [blame] | 96 | shared_libs: [ |
| 97 | "liblog", |
| 98 | ], |
Rivukanta Bhattacharya | c3b6579 | 2020-12-01 18:28:52 +0530 | [diff] [blame] | 99 | static_libs: [ |
| 100 | "libaudioutils", |
| 101 | ], |
Saketh Sathuvalli | 7b66e3b | 2019-02-08 15:18:54 +0530 | [diff] [blame] | 102 | header_libs: [ |
Harish Mahendrakar | 0bbbe07 | 2020-10-01 23:28:48 +0530 | [diff] [blame] | 103 | "libhardware_headers", |
Saketh Sathuvalli | 7b66e3b | 2019-02-08 15:18:54 +0530 | [diff] [blame] | 104 | ], |
Saketh Sathuvalli | 2b7eb6b | 2019-03-12 18:28:58 +0530 | [diff] [blame] | 105 | cppflags: [ |
Dan Willemsen | 154fce4 | 2018-11-16 23:15:45 -0800 | [diff] [blame] | 106 | "-fvisibility=hidden", |
Dan Willemsen | 154fce4 | 2018-11-16 23:15:45 -0800 | [diff] [blame] | 107 | "-Wall", |
| 108 | "-Werror", |
| 109 | ], |
| 110 | |
| 111 | } |
| 112 | |
| 113 | // Reverb library |
| 114 | cc_library_static { |
| 115 | name: "libreverb", |
| 116 | |
| 117 | arch: { |
| 118 | arm: { |
| 119 | instruction_set: "arm", |
| 120 | }, |
| 121 | }, |
| 122 | |
| 123 | vendor: true, |
| 124 | srcs: [ |
Saketh Sathuvalli | 2b7eb6b | 2019-03-12 18:28:58 +0530 | [diff] [blame] | 125 | "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 Sathuvalli | 2b7eb6b | 2019-03-12 18:28:58 +0530 | [diff] [blame] | 133 | "Common/src/InstAlloc.cpp", |
Saketh Sathuvalli | 2b7eb6b | 2019-03-12 18:28:58 +0530 | [diff] [blame] | 134 | "Common/src/LoadConst_32.cpp", |
| 135 | "Common/src/From2iToMono_32.cpp", |
| 136 | "Common/src/Mult3s_32x16.cpp", |
Saketh Sathuvalli | 2b7eb6b | 2019-03-12 18:28:58 +0530 | [diff] [blame] | 137 | "Common/src/Copy_16.cpp", |
| 138 | "Common/src/Mac3s_Sat_32x16.cpp", |
Saketh Sathuvalli | 2b7eb6b | 2019-03-12 18:28:58 +0530 | [diff] [blame] | 139 | "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 Willemsen | 154fce4 | 2018-11-16 23:15:45 -0800 | [diff] [blame] | 155 | ], |
| 156 | |
| 157 | local_include_dirs: [ |
| 158 | "Reverb/src", |
| 159 | "Common/src", |
| 160 | ], |
| 161 | export_include_dirs: [ |
| 162 | "Reverb/lib", |
| 163 | "Common/lib", |
| 164 | ], |
Rivukanta Bhattacharya | 0458764 | 2020-12-14 18:07:29 +0530 | [diff] [blame] | 165 | static_libs: [ |
| 166 | "libaudioutils", |
| 167 | ], |
Saketh Sathuvalli | 2b7eb6b | 2019-03-12 18:28:58 +0530 | [diff] [blame] | 168 | cppflags: [ |
Dan Willemsen | 154fce4 | 2018-11-16 23:15:45 -0800 | [diff] [blame] | 169 | "-fvisibility=hidden", |
Dan Willemsen | 154fce4 | 2018-11-16 23:15:45 -0800 | [diff] [blame] | 170 | "-Wall", |
| 171 | "-Werror", |
| 172 | ], |
| 173 | } |