OLD | NEW |
1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file |
2 # for details. All rights reserved. Use of this source code is governed by a | 2 # for details. All rights reserved. Use of this source code is governed by a |
3 # BSD-style license that can be found in the LICENSE file. | 3 # BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'api_docs', | 8 'target_name': 'api_docs', |
9 'type': 'none', | 9 'type': 'none', |
10 'dependencies': [ | 10 'dependencies': [ |
11 '../../frog/dart-frog.gyp:frog', | 11 '../../frog/dart-frog.gyp:frog', |
12 '../../runtime/dart-runtime.gyp:dart', | 12 '../../runtime/dart-runtime.gyp:dart', |
13 ], | 13 ], |
14 'actions': [ | 14 'actions': [ |
15 { | 15 { |
16 'action_name': 'run_apidoc', | 16 'action_name': 'run_apidoc', |
17 'inputs': [ | 17 'inputs': [ |
18 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 18 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
19 '<(PRODUCT_DIR)/frog/bin/frog', | 19 '<(PRODUCT_DIR)/frog/bin/frog', |
20 '<!@(["python", "scripts/list_files.py"])', | 20 '<!@(["python", "../../tools/list_files.py", "\\.(css|dart|ico|js|js
on|png|sh|txt)$", ".", "../../lib/dartdoc"])', |
21 ], | 21 ], |
22 'outputs': [ | 22 'outputs': [ |
23 '<(PRODUCT_DIR)/api_docs/index.html', | 23 '<(PRODUCT_DIR)/api_docs/index.html', |
24 '<(PRODUCT_DIR)/api_docs/client-live-nav.js', | 24 '<(PRODUCT_DIR)/api_docs/client-live-nav.js', |
25 ], | 25 ], |
26 'action': [ | 26 'action': [ |
27 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 27 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
28 'apidoc.dart', | 28 'apidoc.dart', |
29 '--out=<(PRODUCT_DIR)/api_docs', | 29 '--out=<(PRODUCT_DIR)/api_docs', |
30 '--mode=live-nav', | 30 '--mode=live-nav', |
31 '--compiler=<(PRODUCT_DIR)/frog/bin/frog', | 31 '--compiler=<(PRODUCT_DIR)/frog/bin/frog', |
32 ], | 32 ], |
33 }, | 33 }, |
34 ], | 34 ], |
35 } | 35 } |
36 ], | 36 ], |
37 } | 37 } |
OLD | NEW |