OLD | NEW |
1 # Copyright (c) 2015 The WebRTC project authors. All Rights Reserved. | 1 # Copyright (c) 2015 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 'includes': [ | 10 'includes': [ |
(...skipping 14 matching lines...) Expand all Loading... |
25 'audio_coding_dependencies': [ | 25 'audio_coding_dependencies': [ |
26 'cng', | 26 'cng', |
27 'g711', | 27 'g711', |
28 'pcm16b', | 28 'pcm16b', |
29 '<(webrtc_root)/common.gyp:webrtc_common', | 29 '<(webrtc_root)/common.gyp:webrtc_common', |
30 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', | 30 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', |
31 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', | 31 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', |
32 ], | 32 ], |
33 'audio_coding_defines': [], | 33 'audio_coding_defines': [], |
34 'conditions': [ | 34 'conditions': [ |
| 35 ['include_ilbc==1', { |
| 36 'audio_coding_dependencies': ['ilbc',], |
| 37 'audio_coding_defines': ['WEBRTC_CODEC_ILBC',], |
| 38 }], |
35 ['include_opus==1', { | 39 ['include_opus==1', { |
36 'audio_coding_dependencies': ['webrtc_opus',], | 40 'audio_coding_dependencies': ['webrtc_opus',], |
37 'audio_coding_defines': ['WEBRTC_CODEC_OPUS',], | 41 'audio_coding_defines': ['WEBRTC_CODEC_OPUS',], |
38 }], | 42 }], |
39 ['build_with_mozilla==0', { | 43 ['build_with_mozilla==0', { |
40 'conditions': [ | 44 'conditions': [ |
41 ['target_arch=="arm"', { | 45 ['target_arch=="arm"', { |
42 'audio_coding_dependencies': ['isac_fix',], | 46 'audio_coding_dependencies': ['isac_fix',], |
43 'audio_coding_defines': ['WEBRTC_CODEC_ISACFX',], | 47 'audio_coding_defines': ['WEBRTC_CODEC_ISACFX',], |
44 }, { | 48 }, { |
45 'audio_coding_dependencies': ['isac',], | 49 'audio_coding_dependencies': ['isac',], |
46 'audio_coding_defines': ['WEBRTC_CODEC_ISAC',], | 50 'audio_coding_defines': ['WEBRTC_CODEC_ISAC',], |
47 }], | 51 }], |
48 ], | 52 ], |
49 'audio_coding_dependencies': ['g722',], | 53 'audio_coding_dependencies': ['g722',], |
50 'audio_coding_defines': ['WEBRTC_CODEC_G722',], | 54 'audio_coding_defines': ['WEBRTC_CODEC_G722',], |
51 }], | 55 }], |
52 ['build_with_mozilla==0 and build_with_chromium==0', { | 56 ['build_with_mozilla==0 and build_with_chromium==0', { |
53 'audio_coding_dependencies': ['ilbc', 'red',], | 57 'audio_coding_dependencies': ['red',], |
54 'audio_coding_defines': ['WEBRTC_CODEC_ILBC', 'WEBRTC_CODEC_RED',], | 58 'audio_coding_defines': ['WEBRTC_CODEC_RED',], |
55 }], | 59 }], |
56 ], | 60 ], |
57 }, | 61 }, |
58 'targets': [ | 62 'targets': [ |
59 { | 63 { |
60 'target_name': 'rent_a_codec', | 64 'target_name': 'rent_a_codec', |
61 'type': 'static_library', | 65 'type': 'static_library', |
62 'defines': [ | 66 'defines': [ |
63 '<@(audio_coding_defines)', | 67 '<@(audio_coding_defines)', |
64 ], | 68 ], |
(...skipping 139 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
204 'sources': [ | 208 'sources': [ |
205 'test/insert_packet_with_timing.cc', | 209 'test/insert_packet_with_timing.cc', |
206 'test/Channel.cc', | 210 'test/Channel.cc', |
207 'test/PCMFile.cc', | 211 'test/PCMFile.cc', |
208 ], | 212 ], |
209 }, # delay_test | 213 }, # delay_test |
210 ], | 214 ], |
211 }], | 215 }], |
212 ], | 216 ], |
213 } | 217 } |
OLD | NEW |