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

Unified Diff: dart/frog/scripts/bootstrap/frog_bootstrap_wrapper.py

Issue 9430046: Explicitly use node.js in the cases where it is needed. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 10 months 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 | « no previous file | dart/frog/scripts/bootstrap/frog_wrapper.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/frog/scripts/bootstrap/frog_bootstrap_wrapper.py
diff --git a/dart/frog/scripts/bootstrap/frog_bootstrap_wrapper.py b/dart/frog/scripts/bootstrap/frog_bootstrap_wrapper.py
index ae11558bd076364e9ce681f61a846e44304137fb..ea74a616416c5aa93f29192aeafd54a42fd1883d 100644
--- a/dart/frog/scripts/bootstrap/frog_bootstrap_wrapper.py
+++ b/dart/frog/scripts/bootstrap/frog_bootstrap_wrapper.py
@@ -13,6 +13,7 @@ BUILDER_NAME = os.environ.get('BUILDBOT_BUILDERNAME')
END_SCRIPT = '''
VM = '%s'
VM_FLAGS = '%s'
+D8 = '%s'
if __name__ == '__main__':
sys.exit(main(sys.argv))
'''
@@ -20,6 +21,7 @@ if __name__ == '__main__':
def main(args):
product_dir = args[1]
vm = os.path.join(product_dir, 'dart')
+ d8 = os.path.join(product_dir, 'd8')
id = platform.system()
if id == 'Windows' or id == 'Microsoft':
vm = vm + '.exe'
@@ -38,12 +40,12 @@ def main(args):
# (release VM, developer mode) and (debug VM, production mode).
vm_flags = '--vm_flags=--enable_asserts --enable_type_checks'
else:
- # For test turnaround time, we run fully in release mode on
+ # For test turnaround time, we run fully in release mode on
# our web browser buildbots (and with debug VM).
vm_flags = ''
with open(frog, 'a+') as f:
- f.write(END_SCRIPT % (vm, vm_flags))
+ f.write(END_SCRIPT % (vm, vm_flags, d8))
os.chmod(frog, stat.S_IXUSR | stat.S_IXGRP | stat.S_IRUSR |
stat.S_IRGRP | stat.S_IWUSR)
« no previous file with comments | « no previous file | dart/frog/scripts/bootstrap/frog_wrapper.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698