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

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

Issue 2670723002: [MD History] Vulcanize as part of GN build. (Closed)
Patch Set: Created 3 years, 11 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..12a37aa335ff982e55a1dad05324ae037fb67a3b
--- /dev/null
+++ b/chrome/browser/resources/md_history/BUILD.gn
@@ -0,0 +1,46 @@
+import("../vulcanize.gni")
+
+vulcanize("vulcanize_app") {
+ host = "history"
+ html_in_file = "app.html"
+ html_out_file = "app.vulcanized.html.unbuilt"
+
+ 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.unbuilt"
+
+ input_type = "FOLDER"
+ input = rebase_path(".", root_build_dir)
+ js_out_file = "lazy_load.crisper.js"
+ excludes = [ "chrome://history/app.html" ]
+
+ deps = []
+}
+
+css_build("build") {
dpapad 2017/02/02 22:08:45 I am trying to understand the necessity of splitti
+ input_files = [
+ "lazy_load.vulcanized.html.unbuilt",
+ "app.vulcanized.html.unbuilt",
+ ]
+ output_files = [
+ "lazy_load.vulcanized.html",
+ "app.vulcanized.html",
+ ]
+ deps = [
+ ":vulcanize_app",
+ ":vulcanize_lazy_load",
+ ]
+}

Powered by Google App Engine
This is Rietveld 408576698