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 10916183: Fix path to dart2js on windows. (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 8 years, 3 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 | 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 12068)
+++ tools/create_sdk.py (working copy)
@@ -111,6 +111,9 @@
Copy(os.path.join(build_dir, 'dart2js.bat'), dart2js)
dartdoc = os.path.join(sdk_root, 'bin', 'dartdoc.bat')
Copy(os.path.join(build_dir, 'dartdoc.bat'), dartdoc)
+ # TODO(dgrove) - fix this once issue 4788 is addressed.
+ ReplaceInFiles([dart2js],
+ [(r'%SCRIPTPATH%..\\lib', r'%SCRIPTPATH%..\\pkg')]);
else:
dart2js = os.path.join(sdk_root, 'bin', 'dart2js')
Copy(os.path.join(build_dir, 'dart2js'), dart2js)
@@ -119,9 +122,9 @@
# TODO(dgrove) - fix this once issue 4788 is addressed.
ReplaceInFiles([dart2js],
- [(r'\$BIN_DIR/../../lib', r'$BIN_DIR/../pkg')])
+ [(r'$BIN_DIR/../../lib', r'$BIN_DIR/../pkg')])
ReplaceInFiles([dartdoc],
- [(r'\$BIN_DIR/../..', r'$BIN_DIR/..')])
+ [(r'$BIN_DIR/../..', r'$BIN_DIR/..')])
def Main(argv):
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698