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 |
| 17 # Use vulcanized HTML/CSS/JS resources to speed up WebUI (chrome://) |
| 18 # pages. https://github.com/polymer/vulcanize |
| 19 use_vulcanize = true |
16 } | 20 } |
17 | 21 |
18 chrome_grit_defines = [ "enable_google_now=$enable_google_now" ] | 22 chrome_grit_defines = [ |
| 23 "enable_google_now=$enable_google_now", |
| 24 "use_vulcanize=$use_vulcanize", |
| 25 ] |
OLD | NEW |