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 'codecs': [ | 11 'codecs': [ |
12 'cng', | 12 'cng', |
13 'g711', | 13 'g711', |
14 'pcm16b', | 14 'pcm16b', |
15 ], | 15 ], |
16 'neteq_defines': [], | 16 'neteq_defines': [], |
17 'conditions': [ | 17 'conditions': [ |
| 18 ['include_ilbc==1', { |
| 19 'codecs': ['ilbc',], |
| 20 'neteq_defines': ['WEBRTC_CODEC_ILBC',], |
| 21 }], |
18 ['include_opus==1', { | 22 ['include_opus==1', { |
19 'codecs': ['webrtc_opus',], | 23 'codecs': ['webrtc_opus',], |
20 'neteq_defines': ['WEBRTC_CODEC_OPUS',], | 24 'neteq_defines': ['WEBRTC_CODEC_OPUS',], |
21 }], | 25 }], |
22 ['build_with_mozilla==0', { | 26 ['build_with_mozilla==0', { |
23 'conditions': [ | 27 'conditions': [ |
24 ['target_arch=="arm"', { | 28 ['target_arch=="arm"', { |
25 'codecs': ['isac_fix',], | 29 'codecs': ['isac_fix',], |
26 'neteq_defines': ['WEBRTC_CODEC_ISACFX',], | 30 'neteq_defines': ['WEBRTC_CODEC_ISACFX',], |
27 }, { | 31 }, { |
28 'codecs': ['isac',], | 32 'codecs': ['isac',], |
29 'neteq_defines': ['WEBRTC_CODEC_ISAC',], | 33 'neteq_defines': ['WEBRTC_CODEC_ISAC',], |
30 }], | 34 }], |
31 ], | 35 ], |
32 'codecs': ['g722',], | 36 'codecs': ['g722',], |
33 'neteq_defines': ['WEBRTC_CODEC_G722',], | 37 'neteq_defines': ['WEBRTC_CODEC_G722',], |
34 }], | 38 }], |
35 ['build_with_mozilla==0 and build_with_chromium==0', { | |
36 'codecs': ['ilbc',], | |
37 'neteq_defines': ['WEBRTC_CODEC_ILBC',], | |
38 }], | |
39 ], | 39 ], |
40 'neteq_dependencies': [ | 40 'neteq_dependencies': [ |
41 '<@(codecs)', | 41 '<@(codecs)', |
42 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', | 42 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', |
43 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', | 43 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', |
44 'audio_decoder_interface', | 44 'audio_decoder_interface', |
45 ], | 45 ], |
46 }, | 46 }, |
47 'targets': [ | 47 'targets': [ |
48 { | 48 { |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
210 'dependencies': [ | 210 'dependencies': [ |
211 '<(apk_tests_path):audio_decoder_unittests_apk', | 211 '<(apk_tests_path):audio_decoder_unittests_apk', |
212 ], | 212 ], |
213 }, | 213 }, |
214 ], | 214 ], |
215 }], | 215 }], |
216 ], | 216 ], |
217 }], # include_tests | 217 }], # include_tests |
218 ], # conditions | 218 ], # conditions |
219 } | 219 } |
OLD | NEW |