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

Side by Side Diff: chrome/common/features.gni

Issue 1830543002: Make some chrome feature flags customizable in GN build (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 9 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 | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Copyright 2015 The Chromium Authors. All rights reserved. 1 # Copyright 2015 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 is the GN version of //chrome/chrome_features.gypi. 5 # This is the GN version of //chrome/chrome_features.gypi.
6 # Please keep in sync! 6 # Please keep in sync!
7 7
8 declare_args() { 8 declare_args() {
9 enable_google_now = !is_ios && !is_android 9 enable_google_now = !is_ios && !is_android
10 10
11 # Whether the Java UI is being used (Java infobars and popups, Java native 11 # Whether the Java UI is being used (Java infobars and popups, Java native
12 # settings and first run experience, sign-in etc.). 12 # settings and first run experience, sign-in etc.).
13 # Default to true if compiling for android, but allow this being overriden 13 # Default to true if compiling for android, but allow this being overriden
14 # through the environment. 14 # through the environment.
15 android_java_ui = is_android 15 android_java_ui = is_android
16 16
17 # Use vulcanized HTML/CSS/JS resources to speed up WebUI (chrome://) 17 # Use vulcanized HTML/CSS/JS resources to speed up WebUI (chrome://)
18 # pages. https://github.com/polymer/vulcanize 18 # pages. https://github.com/polymer/vulcanize
19 use_vulcanize = true 19 use_vulcanize = true
20 20
21 # Enables support for background apps.
22 enable_background = !is_ios && !is_android
23
24 enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos)
25
21 # Set to true to bundle all the mash related mojo services into chrome. 26 # Set to true to bundle all the mash related mojo services into chrome.
22 # Specify --mash to chrome to have chrome start the mash environment. 27 # Specify --mash to chrome to have chrome start the mash environment.
23 enable_package_mash_services = is_chromeos 28 enable_package_mash_services = is_chromeos
24 } 29 }
25 30
26 enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos)
27
28 # Enables support for background apps.
29 enable_background = !is_ios && !is_android
30
31 chrome_grit_defines = [ 31 chrome_grit_defines = [
32 "enable_background=$enable_background", 32 "enable_background=$enable_background",
33 "enable_google_now=$enable_google_now", 33 "enable_google_now=$enable_google_now",
34 "use_vulcanize=$use_vulcanize", 34 "use_vulcanize=$use_vulcanize",
35 ] 35 ]
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698