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

Unified Diff: utils/dartdoc/dartdoc

Issue 9453031: Make dartdoc and apidoc run on the VM instead of node. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 8 years, 10 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: utils/dartdoc/dartdoc
diff --git a/utils/dartdoc/dartdoc b/utils/dartdoc/dartdoc
index 15025bf9920df7bcd3d7c82bca77a872224425d7..1a195052874f64a8392bd1d19fe93a39ce107372 100755
--- a/utils/dartdoc/dartdoc
+++ b/utils/dartdoc/dartdoc
@@ -50,6 +50,12 @@ cp -R static/* docs
shift
# Generate the user's docs.
-../../frog/minfrog --libdir=../../frog/lib dartdoc.dart "$entrypoint" $@
+if [ -a "../../out/Release_ia32/dart" ]; then
+ ../../out/Release_ia32/dart dartdoc.dart "$entrypoint" $@
+elif [ -a "../../xcodebuild/Release_ia32/dart" ]; then
+ ../../xcodebuild/Release_ia32/dart dartdoc.dart "$entrypoint" $@
+else
+ echo "Could not find the Dart VM. Did you run 'tools/build.py -m release'?"
+fi
popd >>/dev/null

Powered by Google App Engine
This is Rietveld 408576698