| 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("vulcanize") { | 5 template("vulcanize") { |
| 6 action(target_name) { | 6 action(target_name) { |
| 7 script = "//chrome/browser/resources/vulcanize_gn.py" | 7 script = "//chrome/browser/resources/vulcanize_gn.py" |
| 8 | 8 |
| 9 # Declare dependencies to all involved tools. | 9 # Declare dependencies to all involved tools. |
| 10 inputs = [ | 10 inputs = [ |
| 11 "//chrome/browser/resources/unpack_pak.py", | 11 "//chrome/browser/resources/unpack_pak.py", |
| 12 "//third_party/node/node.py", |
| 13 "//third_party/node/node_modules.py", |
| 12 "//third_party/node/node_modules.tar.gz.sha1", | 14 "//third_party/node/node_modules.tar.gz.sha1", |
| 13 ] | 15 ] |
| 14 | 16 |
| 15 if (is_linux) { | 17 if (is_linux) { |
| 16 inputs += [ "//third_party/node/linux/node-linux-x64.tar.gz.sha1" ] | 18 inputs += [ "//third_party/node/linux/node-linux-x64.tar.gz.sha1" ] |
| 17 } | 19 } |
| 18 if (is_win) { | 20 if (is_win) { |
| 19 inputs += [ "//third_party/node/win/node.exe.sha1" ] | 21 inputs += [ "//third_party/node/win/node.exe.sha1" ] |
| 20 } | 22 } |
| 21 if (is_mac) { | 23 if (is_mac) { |
| (...skipping 25 matching lines...) Expand all Loading... |
| 47 invoker.input, | 49 invoker.input, |
| 48 "--insert_in_head", | 50 "--insert_in_head", |
| 49 invoker.insert_in_head, | 51 invoker.insert_in_head, |
| 50 "--out_folder", | 52 "--out_folder", |
| 51 rebase_path(target_gen_dir, root_build_dir), | 53 rebase_path(target_gen_dir, root_build_dir), |
| 52 "--depfile", | 54 "--depfile", |
| 53 rebase_path(depfile, root_build_dir), | 55 rebase_path(depfile, root_build_dir), |
| 54 ] | 56 ] |
| 55 } | 57 } |
| 56 } | 58 } |
| OLD | NEW |