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 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 ] |
OLD | NEW |