Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(785)

Side by Side Diff: third_party/node/run_node.gni

Issue 2533153002: DO NOT SUBMIT, call node from GN.
Patch Set: Run different scripts with nodejs() Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « chrome/browser/ui/webui/plugins/script2.js ('k') | third_party/node/run_node.py » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(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 }
OLDNEW
« no previous file with comments | « chrome/browser/ui/webui/plugins/script2.js ('k') | third_party/node/run_node.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698