| OLD | NEW |
| 1 import("../vulcanize.gni") | 1 import("../vulcanize.gni") |
| 2 | 2 |
| 3 app_unbuilt = "app.vulcanized.unbuilt.html" |
| 4 lazy_load_unbuilt = "lazy_load.vulcanized.unbuilt.html" |
| 5 |
| 3 vulcanize("vulcanize_app") { | 6 vulcanize("vulcanize_app") { |
| 4 host = "history" | 7 host = "history" |
| 5 html_in_file = "app.html" | 8 html_in_file = "app.html" |
| 6 html_out_file = "app.vulcanized.html" | 9 html_out_file = app_unbuilt |
| 7 | 10 |
| 8 input = rebase_path(".", root_build_dir) | 11 input = rebase_path(".", root_build_dir) |
| 9 js_out_file = "app.crisper.js" | 12 js_out_file = "app.crisper.js" |
| 10 | 13 |
| 11 excludes = [ | 14 excludes = [ |
| 12 "chrome://resources/html/util.html", | 15 "chrome://resources/html/util.html", |
| 13 "chrome://history/constants.html", | 16 "chrome://history/constants.html", |
| 14 ] | 17 ] |
| 15 | 18 |
| 16 deps = [] | 19 deps = [] |
| 17 } | 20 } |
| 18 | 21 |
| 19 vulcanize("vulcanize_lazy_load") { | 22 vulcanize("vulcanize_lazy_load") { |
| 20 host = "history" | 23 host = "history" |
| 21 html_in_file = "lazy_load.html" | 24 html_in_file = "lazy_load.html" |
| 22 html_out_file = "lazy_load.vulcanized.html" | 25 html_out_file = lazy_load_unbuilt |
| 23 | 26 |
| 24 input = rebase_path(".", root_build_dir) | 27 input = rebase_path(".", root_build_dir) |
| 25 js_out_file = "lazy_load.crisper.js" | 28 js_out_file = "lazy_load.crisper.js" |
| 26 excludes = [ | 29 excludes = [ |
| 27 "chrome://resources/html/util.html", | 30 "chrome://resources/html/util.html", |
| 28 "chrome://history/constants.html", | 31 "chrome://history/constants.html", |
| 29 "chrome://history/app.html", | 32 "chrome://history/app.html", |
| 30 ] | 33 ] |
| 31 | 34 |
| 32 deps = [] | 35 deps = [] |
| 33 } | 36 } |
| 37 |
| 38 polymer_css_build("build") { |
| 39 input_files = [ |
| 40 app_unbuilt, |
| 41 lazy_load_unbuilt, |
| 42 ] |
| 43 output_files = [ |
| 44 "app.vulcanized.html", |
| 45 "lazy_load.vulcanized.html", |
| 46 ] |
| 47 deps = [ |
| 48 ":vulcanize_app", |
| 49 ":vulcanize_lazy_load", |
| 50 ] |
| 51 } |
| OLD | NEW |