Chromium Code Reviews| 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", |
| + ] |
| +} |