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

Unified Diff: chrome/browser/resources/md_bookmarks/BUILD.gn

Issue 2907083002: MD Bookmarks: Vulcanize page to reduce load time (Closed)
Patch Set: Fix Created 3 years, 7 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
Index: chrome/browser/resources/md_bookmarks/BUILD.gn
diff --git a/chrome/browser/resources/md_bookmarks/BUILD.gn b/chrome/browser/resources/md_bookmarks/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..eea759d729cc438f1e055179f2d3b2747443d44c
--- /dev/null
+++ b/chrome/browser/resources/md_bookmarks/BUILD.gn
@@ -0,0 +1,22 @@
+import("../vulcanize.gni")
+
+vulcanized_unbuilt = "vulcanized.unbuilt.html"
+
+vulcanize("vulcanize") {
+ host = "bookmarks"
+ html_in_file = "bookmarks.html"
+ html_out_file = vulcanized_unbuilt
+
+ input = rebase_path(".", root_build_dir)
+ js_out_file = "crisper.js"
+
+ deps = []
+}
+
+polymer_css_build("build") {
+ input_files = [ vulcanized_unbuilt ]
+ output_files = [ "vulcanized.html" ]
+ deps = [
+ ":vulcanize",
calamity 2017/05/29 07:26:51 optional nit: remove comma.
tsergeant 2017/05/30 00:35:51 This comma is placed there by `git cl format`, for
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698