1 // Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. 2 // 3 // Use of this source code is governed by a BSD-style license 4 // that can be found in the LICENSE file in the root of the source 5 // tree. An additional intellectual property rights grant can be found 6 // in the file PATENTS. All contributing project authors may 7 // be found in the AUTHORS file in the root of the source tree. 8 9 cc_library_static { 10 name: "libwebrtc_isacfix", 11 defaults: ["webrtc_flags"], 12 13 arch: { 14 arm: { 15 // Using .S (instead of .s) extention is to include a C header file in assembly. 16 srcs: [ 17 "lattice_armv7.S", 18 "pitch_filter_armv6.S", 19 ], 20 exclude_srcs: [ 21 "lattice_c.c", 22 "pitch_filter_c.c", 23 ], 24 }, 25 mips: { 26 // TODO: Use pitch_estimator_mips.c for mips, pitch_estimator_c.c 27 }, 28 }, 29 30 srcs: [ 31 "arith_routines.c", 32 "arith_routines_hist.c", 33 "arith_routines_logist.c", 34 "bandwidth_estimator.c", 35 "decode.c", 36 "decode_bwe.c", 37 "decode_plc.c", 38 "encode.c", 39 "entropy_coding.c", 40 "fft.c", 41 "filterbank_tables.c", 42 "filterbanks.c", 43 "filters.c", 44 "initialize.c", 45 "isacfix.c", 46 "lattice.c", 47 "lpc_masking_model.c", 48 "lpc_tables.c", 49 "pitch_estimator.c", 50 "pitch_estimator_c.c", 51 "pitch_filter.c", 52 "pitch_gain_tables.c", 53 "pitch_lag_tables.c", 54 "spectrum_ar_model_tables.c", 55 "transform_tables.c", 56 "transform.c", 57 58 // These are replaced by assembly versions in arm builds 59 "lattice_c.c", 60 "pitch_filter_c.c", 61 ], 62 63 header_libs: ["libwebrtc_isacfix_headers"], 64 export_header_lib_headers: ["libwebrtc_isacfix_headers"], 65 static_libs: ["libwebrtc_spl"], 66 } 67