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

Side by Side Diff: webrtc/build/common.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: gn refactoring 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) 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 # This file contains common settings for building WebRTC components. 9 # This file contains common settings for building WebRTC components.
10 10
11 { 11 {
12 # Nesting is required in order to use variables for setting other variables. 12 # Nesting is required in order to use variables for setting other variables.
13 'variables': { 13 'variables': {
14 'variables': { 14 'variables': {
15 'variables': { 15 'variables': {
16 'variables': { 16 'variables': {
17 # This will already be set to zero by supplement.gypi 17 # This will already be set to zero by supplement.gypi
18 'build_with_chromium%': 1, 18 'build_with_chromium%': 1,
19
20 # Enable to use the Mozilla internal settings.
21 'build_with_mozilla%': 0,
19 }, 22 },
20 'build_with_chromium%': '<(build_with_chromium)', 23 'build_with_chromium%': '<(build_with_chromium)',
21 24 'build_with_mozilla%': '<(build_with_mozilla%)',
22 # Enable to use the Mozilla internal settings. 25 'include_opus%': 1,
23 'build_with_mozilla%': 0,
24 26
25 'conditions': [ 27 'conditions': [
28
29 # Include the iLBC audio codec?
30 ['build_with_chromium==1 or build_with_mozilla==1', {
31 'include_ilbc%': 0,
32 }, {
33 'include_ilbc%': 1,
34 }],
35
26 ['build_with_chromium==1', { 36 ['build_with_chromium==1', {
27 'webrtc_root%': '<(DEPTH)/third_party/webrtc', 37 'webrtc_root%': '<(DEPTH)/third_party/webrtc',
28 'apk_tests_path%': '<(DEPTH)/third_party/webrtc/build/apk_tests_noop .gyp', 38 'apk_tests_path%': '<(DEPTH)/third_party/webrtc/build/apk_tests_noop .gyp',
29 'modules_java_gyp_path%': '<(DEPTH)/third_party/webrtc/modules/modul es_java_chromium.gyp', 39 'modules_java_gyp_path%': '<(DEPTH)/third_party/webrtc/modules/modul es_java_chromium.gyp',
30 }, { 40 }, {
31 'webrtc_root%': '<(DEPTH)/webrtc', 41 'webrtc_root%': '<(DEPTH)/webrtc',
32 'apk_tests_path%': '<(DEPTH)/webrtc/build/apk_tests.gyp', 42 'apk_tests_path%': '<(DEPTH)/webrtc/build/apk_tests.gyp',
33 'modules_java_gyp_path%': '<(DEPTH)/webrtc/modules/modules_java.gyp' , 43 'modules_java_gyp_path%': '<(DEPTH)/webrtc/modules/modules_java.gyp' ,
34 }], 44 }],
35 ], 45 ],
36 }, 46 },
37 'build_with_chromium%': '<(build_with_chromium)', 47 'build_with_chromium%': '<(build_with_chromium)',
38 'build_with_mozilla%': '<(build_with_mozilla)', 48 'build_with_mozilla%': '<(build_with_mozilla)',
39 'webrtc_root%': '<(webrtc_root)', 49 'webrtc_root%': '<(webrtc_root)',
40 'apk_tests_path%': '<(apk_tests_path)', 50 'apk_tests_path%': '<(apk_tests_path)',
41 'modules_java_gyp_path%': '<(modules_java_gyp_path)', 51 'modules_java_gyp_path%': '<(modules_java_gyp_path)',
42 'webrtc_vp8_dir%': '<(webrtc_root)/modules/video_coding/codecs/vp8', 52 'webrtc_vp8_dir%': '<(webrtc_root)/modules/video_coding/codecs/vp8',
43 'webrtc_vp9_dir%': '<(webrtc_root)/modules/video_coding/codecs/vp9', 53 'webrtc_vp9_dir%': '<(webrtc_root)/modules/video_coding/codecs/vp9',
44 'include_opus%': 1, 54 'include_ilbc%': '<(include_ilbc)',
55 'include_opus%': '<(include_opus)',
45 'opus_dir%': '<(DEPTH)/third_party/opus', 56 'opus_dir%': '<(DEPTH)/third_party/opus',
46
47 # Include the iLBC audio codec?
48 'conditions': [
49 ['build_with_chromium==1 or build_with_mozilla==1', {
50 'include_ilbc%': 0,
51 }, {
52 'include_ilbc%': 1,
53 }],
54 ],
55 }, 57 },
56 'build_with_chromium%': '<(build_with_chromium)', 58 'build_with_chromium%': '<(build_with_chromium)',
57 'build_with_mozilla%': '<(build_with_mozilla)', 59 'build_with_mozilla%': '<(build_with_mozilla)',
58 'webrtc_root%': '<(webrtc_root)', 60 'webrtc_root%': '<(webrtc_root)',
59 'apk_tests_path%': '<(apk_tests_path)', 61 'apk_tests_path%': '<(apk_tests_path)',
60 'modules_java_gyp_path%': '<(modules_java_gyp_path)', 62 'modules_java_gyp_path%': '<(modules_java_gyp_path)',
61 'webrtc_vp8_dir%': '<(webrtc_vp8_dir)', 63 'webrtc_vp8_dir%': '<(webrtc_vp8_dir)',
62 'webrtc_vp9_dir%': '<(webrtc_vp9_dir)', 64 'webrtc_vp9_dir%': '<(webrtc_vp9_dir)',
63 'include_ilbc%': '<(include_ilbc)', 65 'include_ilbc%': '<(include_ilbc)',
64 'include_opus%': '<(include_opus)', 66 'include_opus%': '<(include_opus)',
(...skipping 397 matching lines...) Expand 10 before | Expand all | Expand 10 after
462 # of a more specific macro. 464 # of a more specific macro.
463 'defines': [ 465 'defines': [
464 'WEBRTC_POSIX', 466 'WEBRTC_POSIX',
465 ], 467 ],
466 }], 468 }],
467 ], 469 ],
468 }, 470 },
469 }, # target_defaults 471 }, # target_defaults
470 } 472 }
471 473
OLDNEW
« no previous file with comments | « no previous file | webrtc/modules/audio_coding/BUILD.gn » ('j') | webrtc/modules/audio_coding/BUILD.gn » ('J')

Powered by Google App Engine
This is Rietveld 408576698