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

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: Fixed cf. rnystrom's comments. 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 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\';")
])

Powered by Google App Engine
This is Rietveld 408576698