Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(182)

Side by Side Diff: webrtc/modules/audio_coding/audio_coding.gypi

Issue 1578953003: Add a gyp/gn variable for whether to use iLBC or not (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: New and improved version Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « webrtc/modules/audio_coding/BUILD.gn ('k') | webrtc/modules/audio_coding/neteq/neteq.gypi » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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 }
OLDNEW
« no previous file with comments | « webrtc/modules/audio_coding/BUILD.gn ('k') | webrtc/modules/audio_coding/neteq/neteq.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698