| 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 '../../utils/compiler/compiler.gyp:dart2js', |
| 12 '../../runtime/dart-runtime.gyp:dart', | 12 '../../runtime/dart-runtime.gyp:dart', |
| 13 ], | 13 ], |
| 14 'includes': [ | 14 'includes': [ |
| 15 '../../corelib/src/corelib_sources.gypi', | 15 '../../corelib/src/corelib_sources.gypi', |
| 16 ], | 16 ], |
| 17 'actions': [ | 17 'actions': [ |
| 18 { | 18 { |
| 19 'action_name': 'run_apidoc', | 19 'action_name': 'run_apidoc', |
| 20 'inputs': [ | 20 'inputs': [ |
| 21 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 21 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
| 22 '<(PRODUCT_DIR)/frog/bin/frog', | 22 '<(PRODUCT_DIR)/dart2js', |
| 23 '<!@(["python", "../../tools/list_files.py", "\\.(css|ico|js|json|pn
g|sh|txt|yaml|py)$", ".", "../../lib/dartdoc"])', | 23 '<!@(["python", "../../tools/list_files.py", "\\.(css|ico|js|json|pn
g|sh|txt|yaml|py)$", ".", "../../lib/dartdoc"])', |
| 24 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../lib"
, "../../runtime/lib", "../../runtime/bin"])', | 24 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../lib"
, "../../runtime/lib", "../../runtime/bin"])', |
| 25 '<@(_sources)', | 25 '<@(_sources)', |
| 26 ], | 26 ], |
| 27 'outputs': [ | 27 'outputs': [ |
| 28 '<(PRODUCT_DIR)/api_docs/index.html', | 28 '<(PRODUCT_DIR)/api_docs/index.html', |
| 29 '<(PRODUCT_DIR)/api_docs/client-live-nav.js', | 29 '<(PRODUCT_DIR)/api_docs/client-live-nav.js', |
| 30 ], | 30 ], |
| 31 'action': [ | 31 'action': [ |
| 32 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 32 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
| 33 'apidoc.dart', | 33 'apidoc.dart', |
| 34 '--out=<(PRODUCT_DIR)/api_docs', | 34 '--out=<(PRODUCT_DIR)/api_docs', |
| 35 '--mode=live-nav', | 35 '--mode=live-nav', |
| 36 '--compiler=<(PRODUCT_DIR)/frog/bin/frog', | 36 '--compiler=<(PRODUCT_DIR)/dart2js', |
| 37 ], | 37 ], |
| 38 }, | 38 }, |
| 39 ], | 39 ], |
| 40 } | 40 } |
| 41 ], | 41 ], |
| 42 } | 42 } |
| OLD | NEW |