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

Unified Diff: dart/utils/apidoc/apidoc.dart

Issue 10140021: Revert "Use 'frog' in apidoc. Also fix broken dependencies." (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge
Patch Set: Created 8 years, 8 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
« no previous file with comments | « dart/lib/dartdoc/dartdoc.dart ('k') | dart/utils/apidoc/apidoc.gyp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: dart/utils/apidoc/apidoc.dart
diff --git a/dart/utils/apidoc/apidoc.dart b/dart/utils/apidoc/apidoc.dart
index a327c2a4410dc4dad85cbd6db8f9f1e285eac9df..2d8aaf9b74c0c907a3412b98fd845cab45169a78 100644
--- a/dart/utils/apidoc/apidoc.dart
+++ b/dart/utils/apidoc/apidoc.dart
@@ -33,7 +33,6 @@ void main() {
int mode = doc.MODE_STATIC;
String outputDir = 'docs';
- String compilerPath;
// Parse the command-line arguments.
for (int i = 0; i < args.length; i++) {
@@ -51,8 +50,6 @@ void main() {
default:
if (arg.startsWith('--out=')) {
outputDir = arg.substring('--out='.length);
- } else if (arg.startsWith('--compiler=')) {
- compilerPath = arg.substring('--compiler='.length);
} else {
print('Unknown option: $arg');
return;
@@ -62,12 +59,9 @@ void main() {
}
final frogPath = joinPaths(doc.scriptDir, '../../frog/');
+ final compilerPath = joinPaths(frogPath, 'minfrog');
final libDir = joinPaths(frogPath, 'lib');
- if (compilerPath === null) {
- compilerPath = joinPaths(frogPath, 'frog.py');
- }
-
doc.cleanOutputDirectory(outputDir);
// Compile the client-side code to JS.
« no previous file with comments | « dart/lib/dartdoc/dartdoc.dart ('k') | dart/utils/apidoc/apidoc.gyp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698