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

Unified Diff: tools/create_sdk.py

Issue 8825011: Add frogc shell script for SDK. ≈ (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 9 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 side-by-side diff with in-line comments
Download patch
« frog/frogc ('K') | « frog/frogc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tools/create_sdk.py
===================================================================
--- tools/create_sdk.py (revision 2141)
+++ tools/create_sdk.py (working copy)
@@ -103,13 +103,18 @@
# TODO(dgrove) - deal with architectures that are not ia32.
build_dir = utils.GetBuildRoot(utils.GuessOS(), 'release', 'ia32')
if utils.GuessOS() == 'win32':
- dart_src_binary = join(join(HOME, build_dir), 'dart.exe')
+ # TODO(dgrove) - deal with frogc.bat
+ dart_src_binary = join(HOME, build_dir, 'dart.exe')
dart_dest_binary = join(BIN, 'dart.exe')
else:
- dart_src_binary = join(join(HOME, build_dir), 'dart')
+ frogc_src_binary = join(HOME, 'frog', 'frogc')
+ dart_src_binary = join(HOME, build_dir, 'dart')
dart_dest_binary = join(BIN, 'dart')
+ frogc_dest_binary = join(BIN, 'frogc')
copyfile(dart_src_binary, dart_dest_binary)
copymode(dart_src_binary, dart_dest_binary)
+ copyfile(frogc_src_binary, frogc_dest_binary)
+ copymode(frogc_src_binary, frogc_dest_binary)
# Create sdk/bin/frogc.dart, and hack as needed.
frog_src_dir = join(HOME, 'frog')
« frog/frogc ('K') | « frog/frogc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698