| OLD | NEW |
| 1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2012 The WebRTC project authors. All Rights Reserved. |
| 2 # | 2 # |
| 3 # Use of this source code is governed by a BSD-style license | 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 | 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 | 5 # tree. An additional intellectual property rights grant can be found |
| 6 # in the file PATENTS. All contributing project authors may | 6 # in the file PATENTS. All contributing project authors may |
| 7 # be found in the AUTHORS file in the root of the source tree. | 7 # be found in the AUTHORS file in the root of the source tree. |
| 8 | 8 |
| 9 { | 9 { |
| 10 'variables': { | 10 'variables': { |
| 11 'audio_coding_dependencies': [ | 11 'audio_coding_dependencies': [ |
| 12 'cng', | 12 'cng', |
| 13 'g711', | 13 'g711', |
| 14 'g722', |
| 15 'ilbc', |
| 16 'isac', |
| 17 'isac_fix', |
| 14 'pcm16b', | 18 'pcm16b', |
| 19 'red', |
| 15 '<(webrtc_root)/common.gyp:webrtc_common', | 20 '<(webrtc_root)/common.gyp:webrtc_common', |
| 16 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', | 21 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', |
| 17 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', | 22 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', |
| 18 ], | 23 ], |
| 19 'audio_coding_defines': [], | 24 'audio_coding_defines': [], |
| 20 'conditions': [ | 25 'conditions': [ |
| 21 ['include_opus==1', { | 26 ['include_opus==1', { |
| 22 'audio_coding_dependencies': ['webrtc_opus',], | 27 'audio_coding_dependencies': ['webrtc_opus',], |
| 23 'audio_coding_defines': ['WEBRTC_CODEC_OPUS',], | 28 'audio_coding_defines': ['WEBRTC_CODEC_OPUS',], |
| 24 }], | 29 }], |
| 25 ['build_with_mozilla==0', { | |
| 26 'conditions': [ | |
| 27 ['target_arch=="arm"', { | |
| 28 'audio_coding_dependencies': ['isac_fix',], | |
| 29 'audio_coding_defines': ['WEBRTC_CODEC_ISACFX',], | |
| 30 }, { | |
| 31 'audio_coding_dependencies': ['isac',], | |
| 32 'audio_coding_defines': ['WEBRTC_CODEC_ISAC',], | |
| 33 }], | |
| 34 ], | |
| 35 'audio_coding_dependencies': ['g722',], | |
| 36 'audio_coding_defines': ['WEBRTC_CODEC_G722',], | |
| 37 }], | |
| 38 ['build_with_mozilla==0 and build_with_chromium==0', { | |
| 39 'audio_coding_dependencies': ['ilbc', 'red',], | |
| 40 'audio_coding_defines': ['WEBRTC_CODEC_ILBC', 'WEBRTC_CODEC_RED',], | |
| 41 }], | |
| 42 ], | 30 ], |
| 43 }, | 31 }, |
| 44 'targets': [ | 32 'targets': [ |
| 45 { | 33 { |
| 46 'target_name': 'audio_coding_module', | 34 'target_name': 'audio_coding_module', |
| 47 'type': 'static_library', | 35 'type': 'static_library', |
| 48 'defines': [ | 36 'defines': [ |
| 49 '<@(audio_coding_defines)', | 37 '<@(audio_coding_defines)', |
| 50 ], | 38 ], |
| 51 'dependencies': [ | 39 'dependencies': [ |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 167 'sources': [ | 155 'sources': [ |
| 168 'test/insert_packet_with_timing.cc', | 156 'test/insert_packet_with_timing.cc', |
| 169 'test/Channel.cc', | 157 'test/Channel.cc', |
| 170 'test/PCMFile.cc', | 158 'test/PCMFile.cc', |
| 171 ], | 159 ], |
| 172 }, # delay_test | 160 }, # delay_test |
| 173 ], | 161 ], |
| 174 }], | 162 }], |
| 175 ], | 163 ], |
| 176 } | 164 } |
| OLD | NEW |