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

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

Issue 1607463002: Declare that rent_a_codec depends on the audio codecs (Closed) Base URL: https://chromium.googlesource.com/external/webrtc.git@master
Patch Set: rebase 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
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': [
11 '../../build/common.gypi', 11 '../../build/common.gypi',
12 'codecs/interfaces.gypi', 12 'codecs/interfaces.gypi',
13 'codecs/cng/cng.gypi', 13 'codecs/cng/cng.gypi',
14 'codecs/g711/g711.gypi', 14 'codecs/g711/g711.gypi',
15 'codecs/g722/g722.gypi', 15 'codecs/g722/g722.gypi',
16 'codecs/ilbc/ilbc.gypi', 16 'codecs/ilbc/ilbc.gypi',
17 'codecs/isac/isac.gypi', 17 'codecs/isac/isac.gypi',
18 'codecs/isac/isac_common.gypi', 18 'codecs/isac/isac_common.gypi',
19 'codecs/isac/isacfix.gypi', 19 'codecs/isac/isacfix.gypi',
20 'codecs/pcm16b/pcm16b.gypi', 20 'codecs/pcm16b/pcm16b.gypi',
21 'codecs/red/red.gypi', 21 'codecs/red/red.gypi',
22 'neteq/neteq.gypi', 22 'neteq/neteq.gypi',
23 ], 23 ],
24 'variables': { 24 'variables': {
25 'variables': {
26 'audio_codec_dependencies': [
27 'cng',
28 'g711',
29 'pcm16b',
30 ],
31 'audio_codec_defines': [],
32 'conditions': [
33 ['include_ilbc==1', {
34 'audio_codec_dependencies': ['ilbc',],
35 'audio_codec_defines': ['WEBRTC_CODEC_ILBC',],
36 }],
37 ['include_opus==1', {
38 'audio_codec_dependencies': ['webrtc_opus',],
39 'audio_codec_defines': ['WEBRTC_CODEC_OPUS',],
40 }],
41 ['build_with_mozilla==0', {
42 'conditions': [
43 ['target_arch=="arm"', {
44 'audio_codec_dependencies': ['isac_fix',],
45 'audio_codec_defines': ['WEBRTC_CODEC_ISACFX',],
46 }, {
47 'audio_codec_dependencies': ['isac',],
48 'audio_codec_defines': ['WEBRTC_CODEC_ISAC',],
49 }],
50 ],
51 'audio_codec_dependencies': ['g722',],
52 'audio_codec_defines': ['WEBRTC_CODEC_G722',],
53 }],
54 ['build_with_mozilla==0 and build_with_chromium==0', {
55 'audio_codec_dependencies': ['red',],
56 'audio_codec_defines': ['WEBRTC_CODEC_RED',],
57 }],
58 ],
59 },
60 'audio_codec_dependencies': '<(audio_codec_dependencies)',
61 'audio_codec_defines': '<(audio_codec_defines)',
25 'audio_coding_dependencies': [ 62 'audio_coding_dependencies': [
26 'cng', 63 '<@(audio_codec_dependencies)',
27 'g711',
28 'pcm16b',
29 '<(webrtc_root)/common.gyp:webrtc_common', 64 '<(webrtc_root)/common.gyp:webrtc_common',
30 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio', 65 '<(webrtc_root)/common_audio/common_audio.gyp:common_audio',
31 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers', 66 '<(webrtc_root)/system_wrappers/system_wrappers.gyp:system_wrappers',
32 ], 67 ],
33 'audio_coding_defines': [], 68 'audio_coding_defines': '<(audio_codec_defines)',
34 'conditions': [
35 ['include_ilbc==1', {
36 'audio_coding_dependencies': ['ilbc',],
37 'audio_coding_defines': ['WEBRTC_CODEC_ILBC',],
38 }],
39 ['include_opus==1', {
40 'audio_coding_dependencies': ['webrtc_opus',],
41 'audio_coding_defines': ['WEBRTC_CODEC_OPUS',],
42 }],
43 ['build_with_mozilla==0', {
44 'conditions': [
45 ['target_arch=="arm"', {
46 'audio_coding_dependencies': ['isac_fix',],
47 'audio_coding_defines': ['WEBRTC_CODEC_ISACFX',],
48 }, {
49 'audio_coding_dependencies': ['isac',],
50 'audio_coding_defines': ['WEBRTC_CODEC_ISAC',],
51 }],
52 ],
53 'audio_coding_dependencies': ['g722',],
54 'audio_coding_defines': ['WEBRTC_CODEC_G722',],
55 }],
56 ['build_with_mozilla==0 and build_with_chromium==0', {
57 'audio_coding_dependencies': ['red',],
58 'audio_coding_defines': ['WEBRTC_CODEC_RED',],
59 }],
60 ],
61 }, 69 },
62 'targets': [ 70 'targets': [
63 { 71 {
64 'target_name': 'rent_a_codec', 72 'target_name': 'rent_a_codec',
65 'type': 'static_library', 73 'type': 'static_library',
66 'defines': [ 74 'defines': [
67 '<@(audio_coding_defines)', 75 '<@(audio_codec_defines)',
68 ], 76 ],
69 'dependencies': [ 77 'dependencies': [
70 '<(webrtc_root)/common.gyp:webrtc_common', 78 '<(webrtc_root)/common.gyp:webrtc_common',
79 '<@(audio_codec_dependencies)',
71 ], 80 ],
72 'include_dirs': [ 81 'include_dirs': [
73 '<(webrtc_root)', 82 '<(webrtc_root)',
74 ], 83 ],
75 'direct_dependent_settings': { 84 'direct_dependent_settings': {
76 'include_dirs': [ 85 'include_dirs': [
77 '<(webrtc_root)', 86 '<(webrtc_root)',
78 ], 87 ],
79 }, 88 },
80 'sources': [ 89 'sources': [
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after
208 'sources': [ 217 'sources': [
209 'test/insert_packet_with_timing.cc', 218 'test/insert_packet_with_timing.cc',
210 'test/Channel.cc', 219 'test/Channel.cc',
211 'test/PCMFile.cc', 220 'test/PCMFile.cc',
212 ], 221 ],
213 }, # delay_test 222 }, # delay_test
214 ], 223 ],
215 }], 224 }],
216 ], 225 ],
217 } 226 }
OLDNEW
« webrtc/modules/audio_coding/BUILD.gn ('K') | « webrtc/modules/audio_coding/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698