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 { 12 'target_name': 'iSACFix', 13 'type': '<(library)', 14 'dependencies': [ 15 '<(webrtc_root)/common_audio/common_audio.gyp:signal_processing', 16 '<(webrtc_root)/system_wrappers/source/system_wrappers.gyp:system_wrappers', 17 ], 18 'include_dirs': [ 19 '../interface', 20 ], 21 'direct_dependent_settings': { 22 'include_dirs': [ 23 '../interface', 24 ], 25 }, 26 'sources': [ 27 '../interface/isacfix.h', 28 'arith_routines.c', 29 'arith_routines_hist.c', 30 'arith_routines_logist.c', 31 'bandwidth_estimator.c', 32 'decode.c', 33 'decode_bwe.c', 34 'decode_plc.c', 35 'encode.c', 36 'entropy_coding.c', 37 'fft.c', 38 'filterbank_tables.c', 39 'filterbanks.c', 40 'filters.c', 41 'initialize.c', 42 'isacfix.c', 43 'lattice.c', 44 'lattice_c.c', 45 'lpc_masking_model.c', 46 'lpc_tables.c', 47 'pitch_estimator.c', 48 'pitch_filter.c', 49 'pitch_filter_c.c', 50 'pitch_gain_tables.c', 51 'pitch_lag_tables.c', 52 'spectrum_ar_model_tables.c', 53 'transform.c', 54 'arith_routins.h', 55 'bandwidth_estimator.h', 56 'codec.h', 57 'entropy_coding.h', 58 'fft.h', 59 'filterbank_tables.h', 60 'lpc_masking_model.h', 61 'lpc_tables.h', 62 'pitch_estimator.h', 63 'pitch_gain_tables.h', 64 'pitch_lag_tables.h', 65 'settings.h', 66 'spectrum_ar_model_tables.h', 67 'structs.h', 68 ], 69 'conditions': [ 70 ['OS!="win"', { 71 'defines': [ 72 'WEBRTC_LINUX', 73 ], 74 }], 75 ['target_arch=="arm" and armv7==1', { 76 'dependencies': [ 'isac_neon', ], 77 'sources': [ 78 'lattice_armv7.S', 79 'pitch_filter_armv6.S', 80 ], 81 'sources!': [ 82 'lattice_c.c', 83 'pitch_filter_c.c', 84 ], 85 }], 86 ], 87 }, 88 ], 89 'conditions': [ 90 ['target_arch=="arm" and armv7==1', { 91 'targets': [ 92 { 93 'target_name': 'isac_neon', 94 'type': '<(library)', 95 'includes': ['../../../../../../build/arm_neon.gypi',], 96 'dependencies': [ 97 '<(webrtc_root)/common_audio/common_audio.gyp:signal_processing', 98 ], 99 'sources': [ 100 'filters_neon.c', 101 'lattice_neon.S', 102 'lpc_masking_model_neon.S', 103 ], 104 }, 105 ], 106 }], 107 ], 108} 109