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, |
| 12 | srcs: [ |
| 13 | "StereoWidening/src/LVCS_BypassMix.c", |
| 14 | "StereoWidening/src/LVCS_Control.c", |
| 15 | "StereoWidening/src/LVCS_Equaliser.c", |
| 16 | "StereoWidening/src/LVCS_Init.c", |
| 17 | "StereoWidening/src/LVCS_Process.c", |
| 18 | "StereoWidening/src/LVCS_ReverbGenerator.c", |
| 19 | "StereoWidening/src/LVCS_StereoEnhancer.c", |
| 20 | "StereoWidening/src/LVCS_Tables.c", |
| 21 | "Bass/src/LVDBE_Control.c", |
| 22 | "Bass/src/LVDBE_Init.c", |
| 23 | "Bass/src/LVDBE_Process.c", |
| 24 | "Bass/src/LVDBE_Tables.c", |
| 25 | "Bundle/src/LVM_API_Specials.c", |
| 26 | "Bundle/src/LVM_Buffers.c", |
| 27 | "Bundle/src/LVM_Init.c", |
| 28 | "Bundle/src/LVM_Process.c", |
| 29 | "Bundle/src/LVM_Tables.c", |
| 30 | "Bundle/src/LVM_Control.c", |
| 31 | "SpectrumAnalyzer/src/LVPSA_Control.c", |
| 32 | "SpectrumAnalyzer/src/LVPSA_Init.c", |
| 33 | "SpectrumAnalyzer/src/LVPSA_Memory.c", |
| 34 | "SpectrumAnalyzer/src/LVPSA_Process.c", |
| 35 | "SpectrumAnalyzer/src/LVPSA_QPD_Init.c", |
| 36 | "SpectrumAnalyzer/src/LVPSA_QPD_Process.c", |
| 37 | "SpectrumAnalyzer/src/LVPSA_Tables.c", |
| 38 | "Eq/src/LVEQNB_CalcCoef.c", |
| 39 | "Eq/src/LVEQNB_Control.c", |
| 40 | "Eq/src/LVEQNB_Init.c", |
| 41 | "Eq/src/LVEQNB_Process.c", |
| 42 | "Eq/src/LVEQNB_Tables.c", |
| 43 | "Common/src/InstAlloc.c", |
| 44 | "Common/src/DC_2I_D16_TRC_WRA_01.c", |
| 45 | "Common/src/DC_2I_D16_TRC_WRA_01_Init.c", |
| 46 | "Common/src/FO_2I_D16F32C15_LShx_TRC_WRA_01.c", |
| 47 | "Common/src/FO_2I_D16F32Css_LShx_TRC_WRA_01_Init.c", |
| 48 | "Common/src/FO_1I_D16F16C15_TRC_WRA_01.c", |
| 49 | "Common/src/FO_1I_D16F16Css_TRC_WRA_01_Init.c", |
| 50 | "Common/src/BP_1I_D16F32C30_TRC_WRA_01.c", |
| 51 | "Common/src/BP_1I_D16F16C14_TRC_WRA_01.c", |
| 52 | "Common/src/BP_1I_D32F32C30_TRC_WRA_02.c", |
| 53 | "Common/src/BP_1I_D16F16Css_TRC_WRA_01_Init.c", |
| 54 | "Common/src/BP_1I_D16F32Cll_TRC_WRA_01_Init.c", |
| 55 | "Common/src/BP_1I_D32F32Cll_TRC_WRA_02_Init.c", |
| 56 | "Common/src/BQ_2I_D32F32Cll_TRC_WRA_01_Init.c", |
| 57 | "Common/src/BQ_2I_D32F32C30_TRC_WRA_01.c", |
| 58 | "Common/src/BQ_2I_D16F32C15_TRC_WRA_01.c", |
| 59 | "Common/src/BQ_2I_D16F32C14_TRC_WRA_01.c", |
| 60 | "Common/src/BQ_2I_D16F32C13_TRC_WRA_01.c", |
| 61 | "Common/src/BQ_2I_D16F32Css_TRC_WRA_01_init.c", |
| 62 | "Common/src/BQ_2I_D16F16C15_TRC_WRA_01.c", |
| 63 | "Common/src/BQ_2I_D16F16C14_TRC_WRA_01.c", |
| 64 | "Common/src/BQ_2I_D16F16Css_TRC_WRA_01_Init.c", |
| 65 | "Common/src/BQ_1I_D16F16C15_TRC_WRA_01.c", |
| 66 | "Common/src/BQ_1I_D16F16Css_TRC_WRA_01_Init.c", |
| 67 | "Common/src/BQ_1I_D16F32C14_TRC_WRA_01.c", |
| 68 | "Common/src/BQ_1I_D16F32Css_TRC_WRA_01_init.c", |
| 69 | "Common/src/PK_2I_D32F32C30G11_TRC_WRA_01.c", |
| 70 | "Common/src/PK_2I_D32F32C14G11_TRC_WRA_01.c", |
| 71 | "Common/src/PK_2I_D32F32CssGss_TRC_WRA_01_Init.c", |
| 72 | "Common/src/PK_2I_D32F32CllGss_TRC_WRA_01_Init.c", |
| 73 | "Common/src/Int16LShiftToInt32_16x32.c", |
| 74 | "Common/src/From2iToMono_16.c", |
| 75 | "Common/src/Copy_16.c", |
| 76 | "Common/src/MonoTo2I_16.c", |
| 77 | "Common/src/MonoTo2I_32.c", |
| 78 | "Common/src/LoadConst_16.c", |
| 79 | "Common/src/LoadConst_32.c", |
| 80 | "Common/src/dB_to_Lin32.c", |
| 81 | "Common/src/Shift_Sat_v16xv16.c", |
| 82 | "Common/src/Shift_Sat_v32xv32.c", |
| 83 | "Common/src/Abs_32.c", |
| 84 | "Common/src/Int32RShiftToInt16_Sat_32x16.c", |
| 85 | "Common/src/From2iToMono_32.c", |
| 86 | "Common/src/mult3s_16x16.c", |
| 87 | "Common/src/Mult3s_32x16.c", |
| 88 | "Common/src/NonLinComp_D16.c", |
| 89 | "Common/src/DelayMix_16x16.c", |
| 90 | "Common/src/MSTo2i_Sat_16x16.c", |
| 91 | "Common/src/From2iToMS_16x16.c", |
| 92 | "Common/src/Mac3s_Sat_16x16.c", |
| 93 | "Common/src/Mac3s_Sat_32x16.c", |
| 94 | "Common/src/Add2_Sat_16x16.c", |
| 95 | "Common/src/Add2_Sat_32x32.c", |
| 96 | "Common/src/LVC_MixSoft_1St_2i_D16C31_SAT.c", |
| 97 | "Common/src/LVC_MixSoft_1St_D16C31_SAT.c", |
| 98 | "Common/src/LVC_Mixer_VarSlope_SetTimeConstant.c", |
| 99 | "Common/src/LVC_Mixer_SetTimeConstant.c", |
| 100 | "Common/src/LVC_Mixer_SetTarget.c", |
| 101 | "Common/src/LVC_Mixer_GetTarget.c", |
| 102 | "Common/src/LVC_Mixer_Init.c", |
| 103 | "Common/src/LVC_Core_MixHard_1St_2i_D16C31_SAT.c", |
| 104 | "Common/src/LVC_Core_MixSoft_1St_2i_D16C31_WRA.c", |
| 105 | "Common/src/LVC_Core_MixInSoft_D16C31_SAT.c", |
| 106 | "Common/src/LVC_Mixer_GetCurrent.c", |
| 107 | "Common/src/LVC_MixSoft_2St_D16C31_SAT.c", |
| 108 | "Common/src/LVC_Core_MixSoft_1St_D16C31_WRA.c", |
| 109 | "Common/src/LVC_Core_MixHard_2St_D16C31_SAT.c", |
| 110 | "Common/src/LVC_MixInSoft_D16C31_SAT.c", |
| 111 | "Common/src/AGC_MIX_VOL_2St1Mon_D32_WRA.c", |
| 112 | "Common/src/LVM_Timer.c", |
| 113 | "Common/src/LVM_Timer_Init.c", |
| 114 | ], |
| 115 | |
| 116 | local_include_dirs: [ |
| 117 | "Eq/lib", |
| 118 | "Eq/src", |
| 119 | "Bass/lib", |
| 120 | "Bass/src", |
| 121 | "Common/src", |
| 122 | "Bundle/src", |
| 123 | "SpectrumAnalyzer/lib", |
| 124 | "SpectrumAnalyzer/src", |
| 125 | "StereoWidening/src", |
| 126 | "StereoWidening/lib", |
| 127 | ], |
| 128 | export_include_dirs: [ |
| 129 | "Common/lib", |
| 130 | "Bundle/lib", |
| 131 | ], |
Saketh Sathuvalli | b99e1bc | 2018-02-21 17:10:34 +0530 | [diff] [blame^] | 132 | shared_libs: [ |
| 133 | "liblog", |
| 134 | ], |
Dan Willemsen | 154fce4 | 2018-11-16 23:15:45 -0800 | [diff] [blame] | 135 | cflags: [ |
| 136 | "-fvisibility=hidden", |
| 137 | "-DBUILD_FLOAT", |
| 138 | "-DHIGHER_FS", |
Saketh Sathuvalli | b99e1bc | 2018-02-21 17:10:34 +0530 | [diff] [blame^] | 139 | "-DSUPPORT_MC", |
Dan Willemsen | 154fce4 | 2018-11-16 23:15:45 -0800 | [diff] [blame] | 140 | |
| 141 | "-Wall", |
| 142 | "-Werror", |
| 143 | ], |
| 144 | |
| 145 | } |
| 146 | |
| 147 | // Reverb library |
| 148 | cc_library_static { |
| 149 | name: "libreverb", |
| 150 | |
| 151 | arch: { |
| 152 | arm: { |
| 153 | instruction_set: "arm", |
| 154 | }, |
| 155 | }, |
| 156 | |
| 157 | vendor: true, |
| 158 | srcs: [ |
| 159 | "Reverb/src/LVREV_ApplyNewSettings.c", |
| 160 | "Reverb/src/LVREV_ClearAudioBuffers.c", |
| 161 | "Reverb/src/LVREV_GetControlParameters.c", |
| 162 | "Reverb/src/LVREV_GetInstanceHandle.c", |
| 163 | "Reverb/src/LVREV_GetMemoryTable.c", |
| 164 | "Reverb/src/LVREV_Process.c", |
| 165 | "Reverb/src/LVREV_SetControlParameters.c", |
| 166 | "Reverb/src/LVREV_Tables.c", |
| 167 | "Common/src/Abs_32.c", |
| 168 | "Common/src/InstAlloc.c", |
| 169 | "Common/src/LoadConst_16.c", |
| 170 | "Common/src/LoadConst_32.c", |
| 171 | "Common/src/From2iToMono_32.c", |
| 172 | "Common/src/Mult3s_32x16.c", |
| 173 | "Common/src/FO_1I_D32F32C31_TRC_WRA_01.c", |
| 174 | "Common/src/FO_1I_D32F32Cll_TRC_WRA_01_Init.c", |
| 175 | "Common/src/DelayAllPass_Sat_32x16To32.c", |
| 176 | "Common/src/Copy_16.c", |
| 177 | "Common/src/Mac3s_Sat_32x16.c", |
| 178 | "Common/src/DelayWrite_32.c", |
| 179 | "Common/src/Shift_Sat_v32xv32.c", |
| 180 | "Common/src/Add2_Sat_32x32.c", |
| 181 | "Common/src/JoinTo2i_32x32.c", |
| 182 | "Common/src/MonoTo2I_32.c", |
| 183 | "Common/src/LVM_FO_HPF.c", |
| 184 | "Common/src/LVM_FO_LPF.c", |
| 185 | "Common/src/LVM_Polynomial.c", |
| 186 | "Common/src/LVM_Power10.c", |
| 187 | "Common/src/LVM_GetOmega.c", |
| 188 | "Common/src/MixSoft_2St_D32C31_SAT.c", |
| 189 | "Common/src/MixSoft_1St_D32C31_WRA.c", |
| 190 | "Common/src/MixInSoft_D32C31_SAT.c", |
| 191 | "Common/src/LVM_Mixer_TimeConstant.c", |
| 192 | "Common/src/Core_MixHard_2St_D32C31_SAT.c", |
| 193 | "Common/src/Core_MixSoft_1St_D32C31_WRA.c", |
| 194 | "Common/src/Core_MixInSoft_D32C31_SAT.c", |
| 195 | ], |
| 196 | |
| 197 | local_include_dirs: [ |
| 198 | "Reverb/src", |
| 199 | "Common/src", |
| 200 | ], |
| 201 | export_include_dirs: [ |
| 202 | "Reverb/lib", |
| 203 | "Common/lib", |
| 204 | ], |
| 205 | |
| 206 | cflags: [ |
| 207 | "-fvisibility=hidden", |
| 208 | "-DBUILD_FLOAT", |
| 209 | "-DHIGHER_FS", |
| 210 | |
| 211 | "-Wall", |
| 212 | "-Werror", |
| 213 | ], |
| 214 | } |