Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(9348)

Unified Diff: chrome/common/features.gni

Issue 1494253003: MD Downloads: add a use_vulcanize option to Chrome (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix Created 4 years, 12 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/BUILD.gn ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/common/features.gni
diff --git a/chrome/common/features.gni b/chrome/common/features.gni
index 3188c6c6244fb32fe5ef09c73d004f68ff0247d5..7095deb322812c7f2baa70794ab239ab458e10e0 100644
--- a/chrome/common/features.gni
+++ b/chrome/common/features.gni
@@ -13,6 +13,13 @@ declare_args() {
# Default to true if compiling for android, but allow this being overriden
# through the environment.
android_java_ui = is_android
+
+ # Use vulcanized HTML/CSS/JS resources to speed up WebUI (chrome://)
+ # pages. https://github.com/polymer/vulcanize
+ use_vulcanize = true
}
-chrome_grit_defines = [ "enable_google_now=$enable_google_now" ]
+chrome_grit_defines = [
+ "enable_google_now=$enable_google_now",
+ "use_vulcanize=$use_vulcanize",
+]
« no previous file with comments | « chrome/common/BUILD.gn ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698