| OLD | NEW |
| 1 # Copyright 2016 The Chromium Authors. All rights reserved. | 1 # Copyright 2016 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 # This template will generate inspector protocol source code. The code will | 5 # This template will generate inspector protocol source code. The code will |
| 6 # not be compiled, use get_target_outputs(<name>) to compile them. | 6 # not be compiled, use get_target_outputs(<name>) to compile them. |
| 7 # | 7 # |
| 8 # Inputs | 8 # Inputs |
| 9 # | 9 # |
| 10 # config_file (required) | 10 # config_file (required) |
| (...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 60 | 60 |
| 61 args = [ | 61 args = [ |
| 62 "--jinja_dir", | 62 "--jinja_dir", |
| 63 rebase_path("//third_party/", root_build_dir), # jinja is in chromium's t
hird_party | 63 rebase_path("//third_party/", root_build_dir), # jinja is in chromium's t
hird_party |
| 64 "--output_base", | 64 "--output_base", |
| 65 rebase_path(invoker.out_dir, root_build_dir), | 65 rebase_path(invoker.out_dir, root_build_dir), |
| 66 "--config", | 66 "--config", |
| 67 rebase_path(invoker.config_file, root_build_dir), | 67 rebase_path(invoker.config_file, root_build_dir), |
| 68 ] | 68 ] |
| 69 | 69 |
| 70 if (defined(invoker.config_values)) { |
| 71 foreach(value, invoker.config_values) { |
| 72 args += [ |
| 73 "--config_value", |
| 74 value, |
| 75 ] |
| 76 } |
| 77 } |
| 78 |
| 70 outputs = get_path_info(rebase_path(invoker.outputs, ".", invoker.out_dir), | 79 outputs = get_path_info(rebase_path(invoker.outputs, ".", invoker.out_dir), |
| 71 "abspath") | 80 "abspath") |
| 72 | 81 |
| 73 forward_variables_from(invoker, | 82 forward_variables_from(invoker, |
| 74 [ | 83 [ |
| 75 "visibility", | 84 "visibility", |
| 76 "deps", | 85 "deps", |
| 77 "public_deps", | 86 "public_deps", |
| 78 ]) | 87 ]) |
| 79 } | 88 } |
| 80 } | 89 } |
| OLD | NEW |