| OLD | NEW |
| (Empty) | |
| 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 |
| 3 # found in the LICENSE file. |
| 4 |
| 5 template("nodejs") { |
| 6 action(target_name) { |
| 7 script = "//third_party/node/run_node.py" |
| 8 node_script = rebase_path(invoker.script, root_build_dir) |
| 9 outputs = [ "$target_gen_dir/${invoker.script}.txt" ] |
| 10 |
| 11 |
| 12 # Note that we have to manually pass the sources to our script if the |
| 13 # script needs them as inputs. |
| 14 args = [node_script] + [rebase_path(target_gen_dir, root_build_dir)] |
| 15 } |
| 16 } |
| OLD | NEW |