diff options
author | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-01-03 17:26:40 +0100 |
---|---|---|
committer | Allan Sandfeld Jensen <allan.jensen@qt.io> | 2017-01-13 14:42:27 +0000 |
commit | 8fda2ae9b5cdd75186a7980e6aeebf586355b0f9 (patch) | |
tree | c1454075773127f9c070c1616f03b78afba6b570 | |
parent | 93db377651054f9b678afa5a3b33f276f07a5ea7 (diff) |
Make more features configurable
Moves a number of features we have previously disabled in some builds
up to being arguments, so we can continue to control them.
Change-Id: I0371c296a61effc1b3acfcf600268f41d125a0e1
Reviewed-by: Michal Klocek <michal.klocek@qt.io>
-rw-r--r-- | chromium/build/config/features.gni | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/chromium/build/config/features.gni b/chromium/build/config/features.gni index a207cddf87d..5ba67211889 100644 --- a/chromium/build/config/features.gni +++ b/chromium/build/config/features.gni @@ -121,13 +121,22 @@ declare_args() { # Enable the spell checker. enable_spellcheck = !is_ios + + # Use the operating system's spellchecker rather than hunspell. + use_browser_spellchecker = is_android || is_mac + + # Enable notifications everywhere except iOS. + enable_notifications = !is_ios + + enable_web_speech = !is_android && !is_ios + + enable_task_manager = !is_ios && !is_android + + enable_themes = !is_android && !is_ios } # Additional dependent variables ----------------------------------------------- -# Use the operating system's spellchecker rather than hunspell. -use_browser_spellchecker = is_android || is_mac - # Enables the use of CDMs in pepper plugins. enable_pepper_cdms = enable_plugins && (is_linux || is_mac || is_win) && !is_chromecast @@ -141,15 +150,6 @@ use_seccomp_bpf = (current_cpu == "x86" || current_cpu == "x64" || current_cpu == "arm" || current_cpu == "arm64" || current_cpu == "mipsel") -# Enable notifications everywhere except iOS. -enable_notifications = !is_ios - -enable_web_speech = !is_android && !is_ios - -enable_task_manager = !is_ios && !is_android - -enable_themes = !is_android && !is_ios - # Whether we are using the rlz library or not. Platforms like Android send # rlz codes for searches but do not use the library. enable_rlz_support = is_win || is_mac || is_ios || is_chromeos |