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

Unified Diff: utils/apidoc/apidoc.gyp

Issue 9705088: Generate API docs during build. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Fix arg parsing. Created 8 years, 9 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/apidoc/apidoc.gyp
diff --git a/utils/apidoc/apidoc.gyp b/utils/apidoc/apidoc.gyp
new file mode 100644
index 0000000000000000000000000000000000000000..5ce55f83ab543ca565bd7755f5adf4a5cefb89c9
--- /dev/null
+++ b/utils/apidoc/apidoc.gyp
@@ -0,0 +1,34 @@
+# Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file
+# for details. All rights reserved. Use of this source code is governed by a
+# BSD-style license that can be found in the LICENSE file.
+
+{
+ 'targets': [
+ {
+ 'target_name': 'api_docs',
+ 'type': 'none',
+ 'dependencies': [
+ '../../frog/dart-frog.gyp:frog',
+ '../../runtime/dart-runtime.gyp:dart',
+ ],
+ 'actions': [
+ {
+ 'action_name': 'run_apidoc',
+ 'inputs': [
+ '<(PRODUCT_DIR)/dart',
ahe 2012/04/19 09:25:26 As I'm learning more about Windows, I think this s
+ '<!@(["python", "scripts/list_files.py"])',
+ ],
+ 'outputs': [
+ '<(PRODUCT_DIR)/api_docs',
ahe 2012/04/19 09:25:26 I think this output is a directory. That is still
+ ],
+ 'action': [
+ '<(PRODUCT_DIR)/dart',
ahe 2012/04/19 09:25:26 See comment above.
+ 'apidoc.dart',
+ '--out=<(PRODUCT_DIR)/api_docs',
+ '--mode=live-nav'
+ ],
+ },
+ ],
+ }
+ ],
+}

Powered by Google App Engine
This is Rietveld 408576698