| 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 = [ |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 # script needs them as inputs. | 36 # script needs them as inputs. |
| 37 args = [ | 37 args = [ |
| 38 "--host", | 38 "--host", |
| 39 invoker.host, | 39 invoker.host, |
| 40 "--html_in_file", | 40 "--html_in_file", |
| 41 invoker.html_in_file, | 41 invoker.html_in_file, |
| 42 "--html_out_file", | 42 "--html_out_file", |
| 43 invoker.html_out_file, | 43 invoker.html_out_file, |
| 44 "--js_out_file", | 44 "--js_out_file", |
| 45 invoker.js_out_file, | 45 invoker.js_out_file, |
| 46 "--input_type", | |
| 47 invoker.input_type, | |
| 48 "--input", | 46 "--input", |
| 49 invoker.input, | 47 invoker.input, |
| 50 "--insert_in_head", | 48 "--insert_in_head", |
| 51 invoker.insert_in_head, | 49 invoker.insert_in_head, |
| 52 "--out_folder", | 50 "--out_folder", |
| 53 rebase_path(target_gen_dir, root_build_dir), | 51 rebase_path(target_gen_dir, root_build_dir), |
| 54 "--depfile", | 52 "--depfile", |
| 55 rebase_path(depfile, root_build_dir), | 53 rebase_path(depfile, root_build_dir), |
| 56 ] | 54 ] |
| 57 } | 55 } |
| 58 } | 56 } |
| OLD | NEW |