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

Side by Side Diff: build/config/features.gni

Issue 1266693005: [Chromecast] Allow |enable_pepper_cdms| to be set in gn args. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Created 5 years, 4 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 | « no previous file | chromecast/build/args.gn » ('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 2014 The Chromium Authors. All rights reserved. 1 # Copyright 2014 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be 2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file. 3 # found in the LICENSE file.
4 4
5 # This file contains Chrome-feature-related build flags (see ui.gni for 5 # This file contains Chrome-feature-related build flags (see ui.gni for
6 # UI-related ones). These should theoretically be moved to the build files of 6 # UI-related ones). These should theoretically be moved to the build files of
7 # the features themselves. 7 # the features themselves.
8 # 8 #
9 # However, today we have many "bad" dependencies on some of these flags from, 9 # However, today we have many "bad" dependencies on some of these flags from,
10 # e.g. base, so they need to be global to match the GYP configuration. Also, 10 # e.g. base, so they need to be global to match the GYP configuration. Also,
(...skipping 75 matching lines...) Expand 10 before | Expand all | Expand 10 after
86 86
87 enable_remoting = !is_ios && !is_android 87 enable_remoting = !is_ios && !is_android
88 88
89 # Enable hole punching for the protected video. 89 # Enable hole punching for the protected video.
90 enable_video_hole = is_android 90 enable_video_hole = is_android
91 91
92 # Enables browser side Content Decryption Modules. Required for embedders 92 # Enables browser side Content Decryption Modules. Required for embedders
93 # (e.g. Android and ChromeCast) that use a browser side CDM. 93 # (e.g. Android and ChromeCast) that use a browser side CDM.
94 enable_browser_cdms = is_android 94 enable_browser_cdms = is_android
95 95
96 # Enables the use of CDMs in pepper plugins. Chromecast requires that this
97 # can be explicitly disabled in gn args.
98 enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win)
99
96 # Variable safe_browsing is used to control the build time configuration 100 # Variable safe_browsing is used to control the build time configuration
97 # for safe browsing feature. Safe browsing can be compiled in 4 different 101 # for safe browsing feature. Safe browsing can be compiled in 4 different
98 # levels: 0 disables it, 1 enables it fully, and 2 enables only UI and 102 # levels: 0 disables it, 1 enables it fully, and 2 enables only UI and
99 # reporting features for use with Data Saver on Mobile, and 3 enables 103 # reporting features for use with Data Saver on Mobile, and 3 enables
100 # extended mobile protection via an external API. When 3 is fully deployed, 104 # extended mobile protection via an external API. When 3 is fully deployed,
101 # it will replace 2. 105 # it will replace 2.
102 if (is_android) { 106 if (is_android) {
103 safe_browsing_mode = 2 107 safe_browsing_mode = 2
104 } else if (is_ios) { 108 } else if (is_ios) {
105 safe_browsing_mode = 0 109 safe_browsing_mode = 0
(...skipping 16 matching lines...) Expand all
122 126
123 # libudev usage. This currently only affects the content layer. 127 # libudev usage. This currently only affects the content layer.
124 use_udev = is_linux 128 use_udev = is_linux
125 129
126 # Enable the spell checker. 130 # Enable the spell checker.
127 enable_spellcheck = !is_ios 131 enable_spellcheck = !is_ios
128 132
129 # Use the operating system's spellchecker rather than hunspell. 133 # Use the operating system's spellchecker rather than hunspell.
130 use_platform_spellchecker = is_android || is_mac 134 use_platform_spellchecker = is_android || is_mac
131 135
132 enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win)
133
134 # Enable basic printing support and UI. 136 # Enable basic printing support and UI.
135 enable_basic_printing = !is_chromeos 137 enable_basic_printing = !is_chromeos
136 138
137 # Enable printing with print preview. It does not imply 139 # Enable printing with print preview. It does not imply
138 # enable_basic_printing. It's possible to build Chrome with preview only. 140 # enable_basic_printing. It's possible to build Chrome with preview only.
139 enable_print_preview = !is_android 141 enable_print_preview = !is_android
140 142
141 # The seccomp-bpf sandbox is only supported on three architectures 143 # The seccomp-bpf sandbox is only supported on three architectures
142 # currently. 144 # currently.
143 # Do not disable seccomp_bpf anywhere without talking to 145 # Do not disable seccomp_bpf anywhere without talking to
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
196 # Hangout services is an extension that adds extra features to Hangouts. 198 # Hangout services is an extension that adds extra features to Hangouts.
197 # For official GYP builds, this flag is set, it will likely need to be 199 # For official GYP builds, this flag is set, it will likely need to be
198 # parameterized in the future for a similar use. 200 # parameterized in the future for a similar use.
199 enable_hangout_services_extension = false 201 enable_hangout_services_extension = false
200 202
201 # Whether to back up data before sync. 203 # Whether to back up data before sync.
202 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) 204 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos)
203 205
204 # WebVR support disabled until platform implementations have been added 206 # WebVR support disabled until platform implementations have been added
205 enable_webvr = false 207 enable_webvr = false
OLDNEW
« no previous file with comments | « no previous file | chromecast/build/args.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698