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

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

Issue 10548047: Remove frog from the repository. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Move test and update apidoc.gyp. Created 8 years, 6 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 | « frog/scripts/bootstrap/frog.bat ('k') | frog/scripts/bootstrap/frog_wrapper.py » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: frog/scripts/bootstrap/frog_bootstrap_wrapper.py
diff --git a/frog/scripts/bootstrap/frog_bootstrap_wrapper.py b/frog/scripts/bootstrap/frog_bootstrap_wrapper.py
deleted file mode 100644
index af74d00b42f1eec0f9c12c5822abebea74879913..0000000000000000000000000000000000000000
--- a/frog/scripts/bootstrap/frog_bootstrap_wrapper.py
+++ /dev/null
@@ -1,44 +0,0 @@
-# Copyright 2012 Google Inc. All Rights Reserved.
-
-import os
-import platform
-import shutil
-import stat
-import sys
-
-HOME = os.path.dirname(os.path.dirname(os.path.dirname(
- os.path.realpath(__file__))))
-BUILDER_NAME = os.environ.get('BUILDBOT_BUILDERNAME')
-
-END_SCRIPT = '''
-VM = r'%s'
-D8 = r'%s'
-HOME = r'%s'
-if __name__ == '__main__':
- sys.exit(main(sys.argv))
-'''
-
-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'
- frog = os.path.join(product_dir, 'frog', 'bin', 'frog')
-
- shutil.copy(os.path.join(HOME, 'scripts', 'bootstrap', 'frog_wrapper.py'),
- frog)
- shutil.copy(os.path.join(HOME, 'scripts', 'bootstrap', 'frog.bat'),
- frog + '.bat')
-
- with open(frog, 'a+') as f:
- 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)
- return 0
-
-
-if __name__ == '__main__':
- sys.exit(main(sys.argv))
« no previous file with comments | « frog/scripts/bootstrap/frog.bat ('k') | frog/scripts/bootstrap/frog_wrapper.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698