summaryrefslogtreecommitdiffstats
path: root/chrome/common
diff options
context:
space:
mode:
authortmoniuszko <tmoniuszko@opera.com>2016-03-23 09:10:54 -0700
committerCommit bot <commit-bot@chromium.org>2016-03-23 16:11:59 +0000
commit233bbd6b46f28867f040078923f9809937736340 (patch)
tree5e6e97c5cd902cdbadd2b140947cbffe91073386 /chrome/common
parentfc4bfea0145fbb9f85bcaba096715a4c70f93014 (diff)
downloadchromium_src-233bbd6b46f28867f040078923f9809937736340.zip
chromium_src-233bbd6b46f28867f040078923f9809937736340.tar.gz
chromium_src-233bbd6b46f28867f040078923f9809937736340.tar.bz2
Make some chrome feature flags customizable in GN build
These flags are customizable in GYP build. BUG= Review URL: https://codereview.chromium.org/1830543002 Cr-Commit-Position: refs/heads/master@{#382854}
Diffstat (limited to 'chrome/common')
-rw-r--r--chrome/common/features.gni10
1 files changed, 5 insertions, 5 deletions
diff --git a/chrome/common/features.gni b/chrome/common/features.gni
index 06e0804..5cc2a09 100644
--- a/chrome/common/features.gni
+++ b/chrome/common/features.gni
@@ -18,16 +18,16 @@ declare_args() {
# pages. https://github.com/polymer/vulcanize
use_vulcanize = true
+ # Enables support for background apps.
+ enable_background = !is_ios && !is_android
+
+ enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos)
+
# Set to true to bundle all the mash related mojo services into chrome.
# Specify --mash to chrome to have chrome start the mash environment.
enable_package_mash_services = is_chromeos
}
-enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos)
-
-# Enables support for background apps.
-enable_background = !is_ios && !is_android
-
chrome_grit_defines = [
"enable_background=$enable_background",
"enable_google_now=$enable_google_now",