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

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

Issue 2670723002: [MD History] Vulcanize as part of GN build. (Closed)
Patch Set: revert css_build Created 3 years, 10 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_history/BUILD.gn
diff --git a/chrome/browser/resources/md_history/BUILD.gn b/chrome/browser/resources/md_history/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..066559ea60692446389b7ba8f8aeed0300c98f51
--- /dev/null
+++ b/chrome/browser/resources/md_history/BUILD.gn
@@ -0,0 +1,35 @@
+import("../vulcanize.gni")
+
+vulcanize("vulcanize_app") {
+ host = "history"
+ html_in_file = "app.html"
+ html_out_file = "app.vulcanized.html"
+
+ input_type = "FOLDER"
+ input = rebase_path(".", root_build_dir)
+ js_out_file = "app.crisper.js"
+
+ excludes = [
+ "chrome://resources/html/util.html",
+ "chrome://history/constants.html",
+ ]
+
+ deps = []
+}
+
+vulcanize("vulcanize_lazy_load") {
+ host = "history"
+ html_in_file = "lazy_load.html"
+ html_out_file = "lazy_load.vulcanized.html"
+
+ input_type = "FOLDER"
+ input = rebase_path(".", root_build_dir)
+ js_out_file = "lazy_load.crisper.js"
+ excludes = [
+ "chrome://resources/html/util.html",
+ "chrome://history/constants.html",
Dan Beam 2017/02/08 05:41:55 why are you excluding these things? util.html and
calamity 2017/02/09 03:07:35 These files are loaded by history.html before app.
+ "chrome://history/app.html",
+ ]
+
+ deps = []
+}

Powered by Google App Engine
This is Rietveld 408576698