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

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

Issue 1469383005: New build flag system, convert Google Now flag (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: make separate gyp to avoid cycle Created 5 years 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 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 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
76 enable_session_service = !is_android && !is_ios 76 enable_session_service = !is_android && !is_ios
77 77
78 enable_plugin_installation = is_win || is_mac 78 enable_plugin_installation = is_win || is_mac
79 79
80 enable_app_list = !is_ios && !is_android 80 enable_app_list = !is_ios && !is_android
81 81
82 enable_supervised_users = !is_ios 82 enable_supervised_users = !is_ios
83 83
84 enable_autofill_dialog = !is_ios 84 enable_autofill_dialog = !is_ios
85 85
86 enable_google_now = !is_ios && !is_android
87
88 enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos) 86 enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos)
89 87
90 enable_remoting = !is_ios && !is_chromecast && !is_headless 88 enable_remoting = !is_ios && !is_chromecast && !is_headless
91 89
92 # Enable hole punching for the protected video. 90 # Enable hole punching for the protected video.
93 enable_video_hole = is_android 91 enable_video_hole = is_android
94 92
95 # Enables browser side Content Decryption Modules. Required for embedders 93 # Enables browser side Content Decryption Modules. Required for embedders
96 # (e.g. Android and ChromeCast) that use a browser side CDM. 94 # (e.g. Android and ChromeCast) that use a browser side CDM.
97 enable_browser_cdms = is_android || is_chromecast 95 enable_browser_cdms = is_android || is_chromecast
(...skipping 96 matching lines...) Expand 10 before | Expand all | Expand 10 after
194 use_gconf = is_linux && !is_chromeos && !is_chromecast && !is_headless 192 use_gconf = is_linux && !is_chromeos && !is_chromecast && !is_headless
195 193
196 # Whether to back up data before sync. 194 # Whether to back up data before sync.
197 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos) 195 enable_pre_sync_backup = is_win || is_mac || (is_linux && !is_chromeos)
198 196
199 # Enable WebVR support by default on Android 197 # Enable WebVR support by default on Android
200 # Still requires command line flag to access API 198 # Still requires command line flag to access API
201 enable_webvr = is_android 199 enable_webvr = is_android
202 200
203 use_gio = is_desktop_linux && !is_headless 201 use_gio = is_desktop_linux && !is_headless
OLDNEW
« no previous file with comments | « build/config/BUILD.gn ('k') | build/gypi_to_gn.py » ('j') | chrome/chrome_resources.gyp » ('J')

Powered by Google App Engine
This is Rietveld 408576698