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

Unified Diff: tools/create_sdk.py

Issue 8972011: Fix paths in build process so we can build dartc (and then frog) on Windows. (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
« no previous file with comments | « tests/co19/co19-compiler.status ('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 2537)
+++ tools/create_sdk.py (working copy)
@@ -95,15 +95,15 @@
# Copy the Dart VM binary into sdk/bin.
# TODO(dgrove) - deal with architectures that are not ia32.
build_dir = os.path.dirname(argv[1])
+ frogc_src_binary = join(HOME, 'frog', 'frogc')
+ frogc_dest_binary = join(BIN, 'frogc')
if utils.GuessOS() == 'win32':
# TODO(dgrove) - deal with frogc.bat
dart_src_binary = join(HOME, build_dir, 'dart.exe')
dart_dest_binary = join(BIN, 'dart.exe')
else:
- 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)
« no previous file with comments | « tests/co19/co19-compiler.status ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698