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

Unified Diff: tools/create_sdk.py

Issue 10701091: Dartdoc and Apidoc updated to use dart2js through the mirror system. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: create-sdk.py updated Created 8 years, 5 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
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\';")
])

Powered by Google App Engine
This is Rietveld 408576698