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