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

Unified Diff: third_party/node/run_node.py

Issue 2533153002: DO NOT SUBMIT, call node from GN.
Patch Set: Run different scripts with nodejs() Created 4 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « third_party/node/run_node.gni ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/node/run_node.py
diff --git a/third_party/node/run_node.py b/third_party/node/run_node.py
new file mode 100644
index 0000000000000000000000000000000000000000..7093b01fbbf5305e623e43327a185261b6ddc434
--- /dev/null
+++ b/third_party/node/run_node.py
@@ -0,0 +1,8 @@
+import os
+import subprocess
+import sys
+
+_HERE_PATH = os.path.join(os.path.dirname(__file__))
+_NODE_BINARY_NAME = "node-v6.9.1-linux-x64/bin/node"
+
+subprocess.call([os.path.join(_HERE_PATH, _NODE_BINARY_NAME)] + sys.argv[1:])
« no previous file with comments | « third_party/node/run_node.gni ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698