OLD | NEW |
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 import("//build/config/chromecast_build.gni") | 8 import("//build/config/chromecast_build.gni") |
9 | 9 |
10 declare_args() { | 10 declare_args() { |
11 enable_google_now = !is_ios && !is_android && !is_chromecast | 11 # Google Now is disabled to prepare for its removal. |
| 12 # http://crbug.com/539674 |
| 13 enable_google_now = false |
12 | 14 |
13 # Whether the Java UI is being used (Java infobars and popups, Java native | 15 # Whether the Java UI is being used (Java infobars and popups, Java native |
14 # settings and first run experience, sign-in etc.). | 16 # settings and first run experience, sign-in etc.). |
15 # Default to true if compiling for android, but allow this being overriden | 17 # Default to true if compiling for android, but allow this being overriden |
16 # through the environment. | 18 # through the environment. |
17 android_java_ui = is_android | 19 android_java_ui = is_android |
18 | 20 |
19 # Use vulcanized HTML/CSS/JS resources to speed up WebUI (chrome://) | 21 # Use vulcanized HTML/CSS/JS resources to speed up WebUI (chrome://) |
20 # pages. https://github.com/polymer/vulcanize | 22 # pages. https://github.com/polymer/vulcanize |
21 use_vulcanize = true | 23 use_vulcanize = true |
22 | 24 |
23 # Enables support for background apps. | 25 # Enables support for background apps. |
24 enable_background = !is_ios && !is_android && !is_chromecast | 26 enable_background = !is_ios && !is_android && !is_chromecast |
25 | 27 |
26 enable_one_click_signin = | 28 enable_one_click_signin = |
27 is_win || is_mac || (is_linux && !is_chromeos && !is_chromecast) | 29 is_win || is_mac || (is_linux && !is_chromeos && !is_chromecast) |
28 | 30 |
29 # Set to true to bundle all the mash related mojo services into chrome. | 31 # Set to true to bundle all the mash related mojo services into chrome. |
30 # Specify --mash to chrome to have chrome start the mash environment. | 32 # Specify --mash to chrome to have chrome start the mash environment. |
31 enable_package_mash_services = is_chromeos | 33 enable_package_mash_services = is_chromeos |
32 } | 34 } |
33 | 35 |
34 chrome_grit_defines = [ | 36 chrome_grit_defines = [ |
35 "enable_background=$enable_background", | 37 "enable_background=$enable_background", |
36 "enable_google_now=$enable_google_now", | 38 "enable_google_now=$enable_google_now", |
37 "use_vulcanize=$use_vulcanize", | 39 "use_vulcanize=$use_vulcanize", |
38 ] | 40 ] |
OLD | NEW |