henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +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 | 'variables': { |
turaj@webrtc.org | 17bf9a2 | 2014-05-09 18:04:50 +0000 | [diff] [blame] | 11 | 'codecs': [ |
Zeke Chin | 786dbdc | 2015-06-10 13:45:08 -0700 | [diff] [blame] | 12 | 'cng', |
| 13 | 'g711', |
Zeke Chin | 786dbdc | 2015-06-10 13:45:08 -0700 | [diff] [blame] | 14 | 'pcm16b', |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 15 | ], |
| 16 | 'neteq_defines': [], |
| 17 | 'conditions': [ |
kwiberg | f8c2bac | 2016-01-18 06:38:32 -0800 | [diff] [blame] | 18 | ['include_ilbc==1', { |
| 19 | 'codecs': ['ilbc',], |
| 20 | 'neteq_defines': ['WEBRTC_CODEC_ILBC',], |
| 21 | }], |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 22 | ['include_opus==1', { |
turaj@webrtc.org | 17bf9a2 | 2014-05-09 18:04:50 +0000 | [diff] [blame] | 23 | 'codecs': ['webrtc_opus',], |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 24 | 'neteq_defines': ['WEBRTC_CODEC_OPUS',], |
| 25 | }], |
kwiberg | 98ab3a4 | 2015-09-30 21:54:21 -0700 | [diff] [blame] | 26 | ['build_with_mozilla==0', { |
| 27 | 'conditions': [ |
| 28 | ['target_arch=="arm"', { |
| 29 | 'codecs': ['isac_fix',], |
| 30 | 'neteq_defines': ['WEBRTC_CODEC_ISACFX',], |
| 31 | }, { |
| 32 | 'codecs': ['isac',], |
| 33 | 'neteq_defines': ['WEBRTC_CODEC_ISAC',], |
| 34 | }], |
| 35 | ], |
| 36 | 'codecs': ['g722',], |
| 37 | 'neteq_defines': ['WEBRTC_CODEC_G722',], |
| 38 | }], |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 39 | ], |
turaj@webrtc.org | 17bf9a2 | 2014-05-09 18:04:50 +0000 | [diff] [blame] | 40 | 'neteq_dependencies': [ |
| 41 | '<@(codecs)', |
turaj@webrtc.org | 17bf9a2 | 2014-05-09 18:04:50 +0000 | [diff] [blame] | 42 | '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', |
andresp@webrtc.org | 86e1e48 | 2015-01-14 09:30:52 +0000 | [diff] [blame] | 43 | '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', |
kwiberg@webrtc.org | e04a93b | 2014-12-09 10:12:53 +0000 | [diff] [blame] | 44 | 'audio_decoder_interface', |
turaj@webrtc.org | 17bf9a2 | 2014-05-09 18:04:50 +0000 | [diff] [blame] | 45 | ], |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 46 | }, |
| 47 | 'targets': [ |
| 48 | { |
henrik.lundin@webrtc.org | 9c55f0f | 2014-06-09 08:10:28 +0000 | [diff] [blame] | 49 | 'target_name': 'neteq', |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 50 | 'type': 'static_library', |
| 51 | 'dependencies': [ |
| 52 | '<@(neteq_dependencies)', |
kwiberg@webrtc.org | ac2d27d | 2015-02-26 13:59:22 +0000 | [diff] [blame] | 53 | '<(webrtc_root)/common.gyp:webrtc_common', |
kwiberg | 5178ee8 | 2016-05-03 01:39:01 -0700 | [diff] [blame] | 54 | 'builtin_audio_decoder_factory', |
| 55 | 'rent_a_codec', |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 56 | ], |
| 57 | 'defines': [ |
| 58 | '<@(neteq_defines)', |
| 59 | ], |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 60 | 'sources': [ |
Henrik Kjellander | 7464089 | 2015-10-29 11:31:02 +0100 | [diff] [blame] | 61 | 'include/neteq.h', |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 62 | 'accelerate.cc', |
| 63 | 'accelerate.h', |
jan.skoglund@webrtc.org | c3d13d3 | 2014-03-10 22:50:19 +0000 | [diff] [blame] | 64 | 'audio_classifier.cc', |
| 65 | 'audio_classifier.h', |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 66 | 'audio_decoder_impl.cc', |
| 67 | 'audio_decoder_impl.h', |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 68 | 'audio_multi_vector.cc', |
| 69 | 'audio_multi_vector.h', |
| 70 | 'audio_vector.cc', |
| 71 | 'audio_vector.h', |
| 72 | 'background_noise.cc', |
| 73 | 'background_noise.h', |
| 74 | 'buffer_level_filter.cc', |
| 75 | 'buffer_level_filter.h', |
| 76 | 'comfort_noise.cc', |
| 77 | 'comfort_noise.h', |
minyue | 53ff70f | 2016-05-02 01:50:30 -0700 | [diff] [blame] | 78 | 'cross_correlation.cc', |
| 79 | 'cross_correlation.h', |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 80 | 'decision_logic.cc', |
| 81 | 'decision_logic.h', |
| 82 | 'decision_logic_fax.cc', |
| 83 | 'decision_logic_fax.h', |
| 84 | 'decision_logic_normal.cc', |
| 85 | 'decision_logic_normal.h', |
| 86 | 'decoder_database.cc', |
| 87 | 'decoder_database.h', |
| 88 | 'defines.h', |
| 89 | 'delay_manager.cc', |
| 90 | 'delay_manager.h', |
| 91 | 'delay_peak_detector.cc', |
| 92 | 'delay_peak_detector.h', |
| 93 | 'dsp_helper.cc', |
| 94 | 'dsp_helper.h', |
| 95 | 'dtmf_buffer.cc', |
| 96 | 'dtmf_buffer.h', |
| 97 | 'dtmf_tone_generator.cc', |
| 98 | 'dtmf_tone_generator.h', |
| 99 | 'expand.cc', |
| 100 | 'expand.h', |
| 101 | 'merge.cc', |
| 102 | 'merge.h', |
henrik.lundin | 9195186 | 2016-06-08 06:43:41 -0700 | [diff] [blame] | 103 | 'nack_tracker.h', |
| 104 | 'nack_tracker.cc', |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 105 | 'neteq_impl.cc', |
| 106 | 'neteq_impl.h', |
| 107 | 'neteq.cc', |
| 108 | 'statistics_calculator.cc', |
| 109 | 'statistics_calculator.h', |
| 110 | 'normal.cc', |
| 111 | 'normal.h', |
henrik.lundin | 84f8cd6 | 2016-04-26 07:45:16 -0700 | [diff] [blame] | 112 | 'packet.cc', |
| 113 | 'packet.h', |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 114 | 'packet_buffer.cc', |
| 115 | 'packet_buffer.h', |
ossu | a70695a | 2016-09-22 02:06:28 -0700 | [diff] [blame] | 116 | 'red_payload_splitter.cc', |
| 117 | 'red_payload_splitter.h', |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 118 | 'post_decode_vad.cc', |
| 119 | 'post_decode_vad.h', |
| 120 | 'preemptive_expand.cc', |
| 121 | 'preemptive_expand.h', |
| 122 | 'random_vector.cc', |
| 123 | 'random_vector.h', |
| 124 | 'rtcp.cc', |
| 125 | 'rtcp.h', |
| 126 | 'sync_buffer.cc', |
| 127 | 'sync_buffer.h', |
henrik.lundin | 8053f79 | 2016-04-22 13:21:43 -0700 | [diff] [blame] | 128 | 'tick_timer.cc', |
| 129 | 'tick_timer.h', |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 130 | 'timestamp_scaler.cc', |
| 131 | 'timestamp_scaler.h', |
| 132 | 'time_stretch.cc', |
| 133 | 'time_stretch.h', |
| 134 | ], |
| 135 | }, |
| 136 | ], # targets |
henrik.lundin@webrtc.org | d94659d | 2013-01-29 12:09:21 +0000 | [diff] [blame] | 137 | } |