Index: utils/compiler/create_snapshot.dart |
=================================================================== |
--- utils/compiler/create_snapshot.dart (revision 32349) |
+++ utils/compiler/create_snapshot.dart (working copy) |
@@ -18,13 +18,11 @@ |
Future<String> getSnapshotGenerationFile(var args, var rootPath) { |
var dart2js = rootPath.resolve(args["dart2js_main"]); |
- var dartdoc = rootPath.resolve(args["dartdoc_main"]); |
var docgen = rootPath.resolve(args["docgen_main"]); |
return getVersion(rootPath).then((version) { |
var snapshotGenerationText = |
""" |
import '${dart2js.toFilePath(windows: false)}' as dart2jsMain; |
-import '${dartdoc.toFilePath(windows: false)}' as dartdocMain; |
import '${docgen.toFilePath(windows: false)}' as docgenMain; |
import 'dart:io'; |
@@ -34,8 +32,6 @@ |
if (tool == "dart2js") { |
dart2jsMain.BUILD_ID = "$version"; |
dart2jsMain.main(arguments.skip(1).toList()); |
- } else if (tool == "dartdoc") { |
- dartdocMain.main(arguments.skip(1).toList()); |
} else if (tool == "docgen") { |
docgenMain.main(arguments.skip(1).toList()); |
} |
@@ -88,12 +84,11 @@ |
* Takes the following arguments: |
* --output_dir=val The full path to the output_dir. |
* --dart2js_main=val The path to the dart2js main script relative to root. |
- * --dartdoc_main=val The path to the dartdoc main script relative to root. |
* --docgen_main=val The path to the docgen main script relative to root. |
* --package-root=val The package-root used to find packages for the snapshot. |
*/ |
void main(List<String> arguments) { |
- var validArguments = ["--output_dir", "--dart2js_main", "--dartdoc_main", |
+ var validArguments = ["--output_dir", "--dart2js_main", |
"--docgen_main", "--package_root"]; |
var args = {}; |
for (var argument in arguments) { |
@@ -105,7 +100,6 @@ |
args[argumentSplit[0].substring(2)] = argumentSplit[1]; |
} |
if (!args.containsKey("dart2js_main")) throw "Please specify dart2js_main"; |
- if (!args.containsKey("dartdoc_main")) throw "Please specify dartdoc_main"; |
if (!args.containsKey("docgen_main")) throw "Please specify docgen_main"; |
if (!args.containsKey("output_dir")) throw "Please specify output_dir"; |
if (!args.containsKey("package_root")) throw "Please specify package_root"; |