| 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', | |
| 18 'pcm16b', | 14 'pcm16b', |
| 19 'red', | |
| 20 '<(webrtc_root)/common.gyp:webrtc_common', | 15 '<(webrtc_root)/common.gyp:webrtc_common', |
| 21 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', | 16 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', |
| 22 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', | 17 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', |
| 23 ], | 18 ], |
| 24 'audio_coding_defines': [], | 19 'audio_coding_defines': [], |
| 25 'conditions': [ | 20 'conditions': [ |
| 26 ['include_opus==1', { | 21 ['include_opus==1', { |
| 27 'audio_coding_dependencies': ['webrtc_opus',], | 22 'audio_coding_dependencies': ['webrtc_opus',], |
| 28 'audio_coding_defines': ['WEBRTC_CODEC_OPUS',], | 23 'audio_coding_defines': ['WEBRTC_CODEC_OPUS',], |
| 29 }], | 24 }], |
| 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 }], |
| 30 ], | 42 ], |
| 31 }, | 43 }, |
| 32 'targets': [ | 44 'targets': [ |
| 33 { | 45 { |
| 34 'target_name': 'audio_coding_module', | 46 'target_name': 'audio_coding_module', |
| 35 'type': 'static_library', | 47 'type': 'static_library', |
| 36 'defines': [ | 48 'defines': [ |
| 37 '<@(audio_coding_defines)', | 49 '<@(audio_coding_defines)', |
| 38 ], | 50 ], |
| 39 'dependencies': [ | 51 'dependencies': [ |
| (...skipping 115 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 155 'sources': [ | 167 'sources': [ |
| 156 'test/insert_packet_with_timing.cc', | 168 'test/insert_packet_with_timing.cc', |
| 157 'test/Channel.cc', | 169 'test/Channel.cc', |
| 158 'test/PCMFile.cc', | 170 'test/PCMFile.cc', |
| 159 ], | 171 ], |
| 160 }, # delay_test | 172 }, # delay_test |
| 161 ], | 173 ], |
| 162 }], | 174 }], |
| 163 ], | 175 ], |
| 164 } | 176 } |
| OLD | NEW |