OLD | NEW |
1 # Copyright 2017 The Chromium Authors. All rights reserved. | 1 # Copyright 2017 The Chromium Authors. All rights reserved. |
2 # Use of this source code is governed by a BSD-style license that can be | 2 # Use of this source code is governed by a BSD-style license that can be |
3 # found in the LICENSE file. | 3 # found in the LICENSE file. |
4 | 4 |
5 template("node") { | 5 template("node") { |
6 action(target_name) { | 6 action(target_name) { |
7 forward_variables_from(invoker, "*") | 7 forward_variables_from(invoker, "*") |
8 | 8 |
9 # Declare dependencies to all involved tools. | 9 # Declare dependencies to all involved tools. |
10 inputs += [ | 10 inputs += [ |
(...skipping 12 matching lines...) Expand all Loading... |
23 inputs += [ "//third_party/node/mac/node-darwin-x64.tar.gz.sha1" ] | 23 inputs += [ "//third_party/node/mac/node-darwin-x64.tar.gz.sha1" ] |
24 } | 24 } |
25 } | 25 } |
26 } | 26 } |
27 | 27 |
28 template("vulcanize") { | 28 template("vulcanize") { |
29 node(target_name) { | 29 node(target_name) { |
30 script = "//chrome/browser/resources/vulcanize_gn.py" | 30 script = "//chrome/browser/resources/vulcanize_gn.py" |
31 | 31 |
32 inputs = [ | 32 inputs = [ |
| 33 "//chrome/browser/resources/rewrite_licenses.py", |
33 "//chrome/browser/resources/unpack_pak.py", | 34 "//chrome/browser/resources/unpack_pak.py", |
34 ] | 35 ] |
35 | 36 |
36 # This depfile is generated by vulcanize_gn.py | 37 # This depfile is generated by vulcanize_gn.py |
37 depfile = "${target_gen_dir}/${invoker.html_out_file}.d" | 38 depfile = "${target_gen_dir}/${invoker.html_out_file}.d" |
38 | 39 |
39 outputs = [ | 40 outputs = [ |
40 "$target_gen_dir/${invoker.html_out_file}", | 41 "$target_gen_dir/${invoker.html_out_file}", |
41 "$target_gen_dir/${invoker.js_out_file}", | 42 "$target_gen_dir/${invoker.js_out_file}", |
42 ] | 43 ] |
(...skipping 71 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
114 deps = invoker.deps | 115 deps = invoker.deps |
115 | 116 |
116 args = [ | 117 args = [ |
117 "--out_folder", | 118 "--out_folder", |
118 rebase_path("$target_gen_dir/${invoker.out_folder}", root_build_dir), | 119 rebase_path("$target_gen_dir/${invoker.out_folder}", root_build_dir), |
119 "--pak_file", | 120 "--pak_file", |
120 rebase_path("$target_gen_dir/${invoker.pak_file}", root_build_dir), | 121 rebase_path("$target_gen_dir/${invoker.pak_file}", root_build_dir), |
121 ] | 122 ] |
122 } | 123 } |
123 } | 124 } |
OLD | NEW |