Index: tools/create_sdk.py |
diff --git a/tools/create_sdk.py b/tools/create_sdk.py |
index 2667458e1c64e0f4af9a10b537c26d2b599e013f..bc547b27d6ecdefd736f1482550825aec1f5e041 100755 |
--- a/tools/create_sdk.py |
+++ b/tools/create_sdk.py |
@@ -344,10 +344,20 @@ def Main(argv): |
copytree(dartdoc_src_dir, dartdoc_dest_dir, |
ignore=ignore_patterns('.svn', 'docs')) |
- # Fixup frog dependencies. |
- ReplaceInFiles([join(LIB, 'dartdoc', 'dartdoc.dart')], [ |
- ("'dart2js'", "joinPaths(scriptDir, '../../bin/dart2js')"), |
+ # Fixup dart2js dependencies. |
+ ReplaceInFiles([ |
+ join(LIB, 'dartdoc', 'dartdoc.dart'), |
+ ], [ |
+ ("scriptDir, '../'", |
+ "scriptDir, '../dart2js/lib/'"), |
+ ]) |
+ ReplaceInFiles([ |
+ join(LIB, 'dartdoc', 'dartdoc.dart'), |
+ ], [ |
+ ("scriptDir, '../../'", |
+ "scriptDir, '../dart2js/'"), |
]) |
+ |
ReplaceInFiles([join(LIB, 'dartdoc', 'frog', 'frog_options.dart')], [ |
("final config = \'dev\';", "final config = \'sdk\';") |
]) |