Index: tools/create_sdk.py |
diff --git a/tools/create_sdk.py b/tools/create_sdk.py |
index a3ad5b5444033e12bb6da170949fc701147fb39b..28fa39e481bbc81c110ac1fdbc36edaf066c9766 100755 |
--- a/tools/create_sdk.py |
+++ b/tools/create_sdk.py |
@@ -98,7 +98,7 @@ def Copy(src, dest): |
# TODO(zundel): this excludes the analyzer from the sdk build until builders |
# have all prerequisite software installed. Also update dart.gyp. |
def ShouldCopyAnalyzer(): |
- os = utils.GuessOS(); |
+ os = utils.GuessOS(); |
return os == 'linux' or os == 'macos' |
@@ -341,10 +341,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,'../../'", |
Lasse Reichstein Nielsen
2012/07/09 10:39:33
Space after commas!
Johnni Winther
2012/07/09 14:57:18
Done.
|
+ "scriptDir,'../dart2js/'"), |
]) |
+ |
ReplaceInFiles([join(LIB, 'dartdoc', 'frog', 'frog_options.dart')], [ |
kasperl
2012/07/06 12:40:41
Can you get rid of these 3 replacements (frog rela
Lasse Reichstein Nielsen
2012/07/09 10:39:33
Yes, please!
Johnni Winther
2012/07/09 14:57:18
They will be removed together with the dartdoc/fro
|
("final config = \'dev\';", "final config = \'sdk\';") |
]) |