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 | 21 |
| 22 enable_one_click_signin = is_win || is_mac || (is_linux && !is_chromeos) |
| 23 |
22 chrome_grit_defines = [ | 24 chrome_grit_defines = [ |
23 "enable_google_now=$enable_google_now", | 25 "enable_google_now=$enable_google_now", |
24 "use_vulcanize=$use_vulcanize", | 26 "use_vulcanize=$use_vulcanize", |
25 ] | 27 ] |
OLD | NEW |