OLD | NEW |
---|---|
1 import("../vulcanize.gni") | 1 import("../vulcanize.gni") |
2 | 2 |
3 app_unbuilt = "app.vulcanized.unbuilt.html" | 3 app_unbuilt = "app.vulcanized.unbuilt.html" |
4 lazy_load_unbuilt = "lazy_load.vulcanized.unbuilt.html" | 4 lazy_load_unbuilt = "lazy_load.vulcanized.unbuilt.html" |
5 | 5 |
6 vulcanize("vulcanize_app") { | 6 vulcanize("vulcanize_app") { |
7 host = "history" | 7 host = "history" |
8 html_in_file = "app.html" | 8 html_in_files = [ |
9 html_out_file = app_unbuilt | 9 "app.html", |
10 "lazy_load.html", | |
11 ] | |
12 html_out_files = [ | |
13 app_unbuilt, | |
14 lazy_load_unbuilt, | |
15 ] | |
10 | 16 |
11 input = rebase_path(".", root_build_dir) | 17 input = rebase_path(".", root_build_dir) |
12 js_out_file = "app.crisper.js" | 18 js_out_files = [ |
19 "app.crisper.js", | |
20 "lazy_load.crisper.js", | |
21 ] | |
13 | 22 |
14 excludes = [ | 23 excludes = [ |
15 "chrome://resources/html/util.html", | 24 "chrome://resources/html/util.html", |
16 "chrome://history/constants.html", | 25 "chrome://history/constants.html", |
17 ] | 26 ] |
18 | 27 |
19 deps = [] | 28 deps = [] |
20 } | |
21 | |
22 vulcanize("vulcanize_lazy_load") { | |
23 host = "history" | |
24 html_in_file = "lazy_load.html" | |
25 html_out_file = lazy_load_unbuilt | |
26 | |
27 input = rebase_path(".", root_build_dir) | |
28 js_out_file = "lazy_load.crisper.js" | |
29 excludes = [ | |
30 "chrome://resources/html/util.html", | |
31 "chrome://history/constants.html", | |
32 "chrome://history/app.html", | |
33 ] | |
34 | |
35 deps = [] | |
36 } | 29 } |
37 | 30 |
38 polymer_css_build("build") { | 31 polymer_css_build("build") { |
calamity
2017/07/19 06:15:33
FYI, it should be possible to roll this into a sin
dpapad
2017/07/19 20:49:38
Yes. I plan to merge this operation back into vulc
| |
39 input_files = [ | 32 input_files = [ |
40 app_unbuilt, | 33 app_unbuilt, |
41 lazy_load_unbuilt, | 34 lazy_load_unbuilt, |
42 ] | 35 ] |
43 output_files = [ | 36 output_files = [ |
44 "app.vulcanized.html", | 37 "app.vulcanized.html", |
45 "lazy_load.vulcanized.html", | 38 "lazy_load.vulcanized.html", |
46 ] | 39 ] |
47 deps = [ | 40 deps = [ |
48 ":vulcanize_app", | 41 ":vulcanize_app", |
49 ":vulcanize_lazy_load", | |
50 ] | 42 ] |
51 } | 43 } |
OLD | NEW |