kjellander@webrtc.org | e35fa96 | 2015-02-16 12:46:41 +0000 | [diff] [blame] | 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 | { |
| 10 | 'targets': [ |
| 11 | { |
Zeke Chin | 786dbdc | 2015-06-10 13:45:08 -0700 | [diff] [blame] | 12 | 'target_name': 'isac_fix', |
kjellander@webrtc.org | e35fa96 | 2015-02-16 12:46:41 +0000 | [diff] [blame] | 13 | 'type': 'static_library', |
| 14 | 'dependencies': [ |
| 15 | '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', |
| 16 | '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', |
| 17 | ], |
| 18 | 'include_dirs': [ |
| 19 | 'fix/interface', |
| 20 | '<(webrtc_root)' |
| 21 | ], |
| 22 | 'direct_dependent_settings': { |
| 23 | 'include_dirs': [ |
| 24 | 'fix/interface', |
| 25 | '<(webrtc_root)', |
| 26 | ], |
| 27 | }, |
| 28 | 'sources': [ |
| 29 | 'audio_encoder_isac_t.h', |
| 30 | 'audio_encoder_isac_t_impl.h', |
| 31 | 'fix/interface/audio_encoder_isacfix.h', |
| 32 | 'fix/interface/isacfix.h', |
| 33 | 'fix/source/arith_routines.c', |
| 34 | 'fix/source/arith_routines_hist.c', |
| 35 | 'fix/source/arith_routines_logist.c', |
| 36 | 'fix/source/audio_encoder_isacfix.cc', |
| 37 | 'fix/source/bandwidth_estimator.c', |
| 38 | 'fix/source/decode.c', |
| 39 | 'fix/source/decode_bwe.c', |
| 40 | 'fix/source/decode_plc.c', |
| 41 | 'fix/source/encode.c', |
| 42 | 'fix/source/entropy_coding.c', |
| 43 | 'fix/source/fft.c', |
| 44 | 'fix/source/filterbank_tables.c', |
| 45 | 'fix/source/filterbanks.c', |
| 46 | 'fix/source/filters.c', |
| 47 | 'fix/source/initialize.c', |
| 48 | 'fix/source/isacfix.c', |
| 49 | 'fix/source/lattice.c', |
| 50 | 'fix/source/lattice_c.c', |
| 51 | 'fix/source/lpc_masking_model.c', |
| 52 | 'fix/source/lpc_tables.c', |
| 53 | 'fix/source/pitch_estimator.c', |
| 54 | 'fix/source/pitch_estimator_c.c', |
| 55 | 'fix/source/pitch_filter.c', |
| 56 | 'fix/source/pitch_filter_c.c', |
| 57 | 'fix/source/pitch_gain_tables.c', |
| 58 | 'fix/source/pitch_lag_tables.c', |
| 59 | 'fix/source/spectrum_ar_model_tables.c', |
| 60 | 'fix/source/transform.c', |
| 61 | 'fix/source/transform_tables.c', |
| 62 | 'fix/source/arith_routins.h', |
| 63 | 'fix/source/bandwidth_estimator.h', |
| 64 | 'fix/source/codec.h', |
| 65 | 'fix/source/entropy_coding.h', |
| 66 | 'fix/source/fft.h', |
| 67 | 'fix/source/filterbank_tables.h', |
| 68 | 'fix/source/lpc_masking_model.h', |
| 69 | 'fix/source/lpc_tables.h', |
| 70 | 'fix/source/pitch_estimator.h', |
| 71 | 'fix/source/pitch_gain_tables.h', |
| 72 | 'fix/source/pitch_lag_tables.h', |
| 73 | 'fix/source/settings.h', |
| 74 | 'fix/source/spectrum_ar_model_tables.h', |
| 75 | 'fix/source/structs.h', |
| 76 | ], |
| 77 | 'conditions': [ |
| 78 | ['OS!="win"', { |
| 79 | 'defines': [ |
| 80 | 'WEBRTC_LINUX', |
| 81 | ], |
| 82 | }], |
| 83 | ['target_arch=="arm" and arm_version>=7', { |
kjellander@webrtc.org | e35fa96 | 2015-02-16 12:46:41 +0000 | [diff] [blame] | 84 | 'sources': [ |
| 85 | 'fix/source/lattice_armv7.S', |
| 86 | 'fix/source/pitch_filter_armv6.S', |
| 87 | ], |
| 88 | 'sources!': [ |
| 89 | 'fix/source/lattice_c.c', |
| 90 | 'fix/source/pitch_filter_c.c', |
| 91 | ], |
kjellander@webrtc.org | e35fa96 | 2015-02-16 12:46:41 +0000 | [diff] [blame] | 92 | }], |
Andrew MacDonald | ac4234c | 2015-06-24 18:25:54 -0700 | [diff] [blame] | 93 | ['build_with_neon==1', { |
Zhongwei Yao | e8a197b | 2015-04-28 14:42:11 +0800 | [diff] [blame] | 94 | 'dependencies': ['isac_neon', ], |
| 95 | }], |
Richard Coles | d417c93 | 2015-04-09 17:36:12 +0200 | [diff] [blame] | 96 | ['target_arch=="mipsel" and mips_arch_variant!="r6"', { |
kjellander@webrtc.org | e35fa96 | 2015-02-16 12:46:41 +0000 | [diff] [blame] | 97 | 'sources': [ |
| 98 | 'fix/source/entropy_coding_mips.c', |
| 99 | 'fix/source/filters_mips.c', |
| 100 | 'fix/source/lattice_mips.c', |
| 101 | 'fix/source/pitch_estimator_mips.c', |
| 102 | 'fix/source/transform_mips.c', |
| 103 | ], |
| 104 | 'sources!': [ |
| 105 | 'fix/source/lattice_c.c', |
| 106 | 'fix/source/pitch_estimator_c.c', |
| 107 | ], |
| 108 | 'conditions': [ |
| 109 | ['mips_dsp_rev>0', { |
| 110 | 'sources': [ |
| 111 | 'fix/source/filterbanks_mips.c', |
| 112 | ], |
| 113 | }], |
| 114 | ['mips_dsp_rev>1', { |
| 115 | 'sources': [ |
| 116 | 'fix/source/lpc_masking_model_mips.c', |
| 117 | 'fix/source/pitch_filter_mips.c', |
| 118 | ], |
| 119 | 'sources!': [ |
| 120 | 'fix/source/pitch_filter_c.c', |
| 121 | ], |
| 122 | }], |
| 123 | ], |
| 124 | }], |
| 125 | ], |
| 126 | }, |
| 127 | ], |
| 128 | 'conditions': [ |
Andrew MacDonald | ac4234c | 2015-06-24 18:25:54 -0700 | [diff] [blame] | 129 | ['build_with_neon==1', { |
kjellander@webrtc.org | e35fa96 | 2015-02-16 12:46:41 +0000 | [diff] [blame] | 130 | 'targets': [ |
| 131 | { |
| 132 | 'target_name': 'isac_neon', |
| 133 | 'type': 'static_library', |
| 134 | 'includes': ['../../../../build/arm_neon.gypi',], |
| 135 | 'dependencies': [ |
| 136 | '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', |
| 137 | ], |
kjellander@webrtc.org | e35fa96 | 2015-02-16 12:46:41 +0000 | [diff] [blame] | 138 | 'sources': [ |
| 139 | 'fix/source/entropy_coding_neon.c', |
Zhongwei Yao | b3cc77f | 2015-07-28 11:17:40 +0800 | [diff] [blame^] | 140 | 'fix/source/filterbanks_neon.c', |
Zhongwei Yao | f242e66 | 2015-05-06 16:39:17 +0800 | [diff] [blame] | 141 | 'fix/source/filters_neon.c', |
| 142 | 'fix/source/lattice_neon.c', |
| 143 | 'fix/source/transform_neon.c', |
kjellander@webrtc.org | e35fa96 | 2015-02-16 12:46:41 +0000 | [diff] [blame] | 144 | ], |
kjellander@webrtc.org | e35fa96 | 2015-02-16 12:46:41 +0000 | [diff] [blame] | 145 | }, |
| 146 | ], |
| 147 | }], |
| 148 | ], |
| 149 | } |