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

Unified Diff: utils/apidoc/apidoc

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
« no previous file with comments | « no previous file | utils/apidoc/apidoc.dart » ('j') | utils/dartdoc/comment_map.dart » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/apidoc/apidoc
diff --git a/utils/apidoc/apidoc b/utils/apidoc/apidoc
index e09d3e8ed63c0a2c2917dc658da73f6739f726ad..ff7d8cf0c2d911d5c10644fa0513d4ce2713e234 100755
--- a/utils/apidoc/apidoc
+++ b/utils/apidoc/apidoc
@@ -52,7 +52,15 @@ cp static/* docs
# Ditch the first arg so we can pass any extra arguments to dartdoc.
shift
+# Figure out where the dart VM executable is.
+
# Generate the user's docs.
-../../frog/minfrog --libdir=../../frog/lib ../apidoc/apidoc.dart
+if [ -a "../../out/Release_ia32/dart" ]; then
+ ../../out/Release_ia32/dart ../apidoc/apidoc.dart
+elif [ -a "../../xcodebuild/Release_ia32/dart" ]; then
+ ../../xcodebuild/Release_ia32/dart ../apidoc/apidoc.dart
+else
+ echo "Could not find the Dart VM. Did you run 'tools/build.py -m release'?"
+fi
popd >>/dev/null
« no previous file with comments | « no previous file | utils/apidoc/apidoc.dart » ('j') | utils/dartdoc/comment_map.dart » ('J')

Powered by Google App Engine
This is Rietveld 408576698