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

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

Issue 10141009: Use 'frog' in apidoc. Also fix broken dependencies. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 8 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') | dart/lib/dartdoc/dartdoc.dart » ('J')
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 4e8b777215ad4ffa2e3cd064c6256d6fc4dbdd7d..af74d00b42f1eec0f9c12c5822abebea74879913 100644
--- a/dart/frog/scripts/bootstrap/frog_bootstrap_wrapper.py
+++ b/dart/frog/scripts/bootstrap/frog_bootstrap_wrapper.py
@@ -6,13 +6,14 @@ import shutil
import stat
import sys
-HOME = os.path.dirname(os.path.realpath(__file__))
-HOME = os.path.join(HOME, os.pardir, os.pardir)
+HOME = os.path.dirname(os.path.dirname(os.path.dirname(
+ os.path.realpath(__file__))))
BUILDER_NAME = os.environ.get('BUILDBOT_BUILDERNAME')
END_SCRIPT = '''
-VM = '%s'
-D8 = '%s'
+VM = r'%s'
+D8 = r'%s'
+HOME = r'%s'
if __name__ == '__main__':
sys.exit(main(sys.argv))
'''
@@ -32,7 +33,7 @@ def main(args):
frog + '.bat')
with open(frog, 'a+') as f:
- f.write(END_SCRIPT % (vm, d8))
+ f.write(END_SCRIPT % (vm, d8, HOME))
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') | dart/lib/dartdoc/dartdoc.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698