OLD | NEW |
1 # Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 # Copyright (c) 2014, 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': 'dartdoc', | 8 'target_name': 'dartdoc', |
9 'type': 'none', | 9 'type': 'none', |
10 'dependencies': [ | 10 'dependencies': [ |
11 '../../runtime/dart-runtime.gyp:dart', | 11 '../../runtime/dart-runtime.gyp:dart', |
12 '../../pkg/pkg.gyp:pkg_packages', | |
13 ], | 12 ], |
14 'actions': [ | 13 'actions': [ |
15 { | 14 { |
16 'action_name': 'generate_dartdoc_snapshot', | 15 'action_name': 'generate_dartdoc_snapshot', |
17 'inputs': [ | 16 'inputs': [ |
18 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 17 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
19 '../../sdk/lib/_internal/sdk_library_metadata/lib/libraries.dart', | 18 '../../sdk/lib/_internal/sdk_library_metadata/lib/libraries.dart', |
20 '<(SHARED_INTERMEDIATE_DIR)/packages.stamp', | 19 '<(SHARED_INTERMEDIATE_DIR)/packages.stamp', |
21 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../thir
d_party/pkg/dartdoc"])', | 20 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../thir
d_party/pkg/dartdoc"])', |
22 ], | 21 ], |
23 'outputs': [ | 22 'outputs': [ |
24 '<(SHARED_INTERMEDIATE_DIR)/dartdoc.dart.snapshot', | 23 '<(SHARED_INTERMEDIATE_DIR)/dartdoc.dart.snapshot', |
25 ], | 24 ], |
26 'action': [ | 25 'action': [ |
27 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 26 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
28 '--snapshot=<(SHARED_INTERMEDIATE_DIR)/dartdoc.dart.snapshot', | 27 '--snapshot=<(SHARED_INTERMEDIATE_DIR)/dartdoc.dart.snapshot', |
29 '--package-root=<(PRODUCT_DIR)/packages/', | |
30 '../../third_party/pkg/dartdoc/bin/dartdoc.dart', | 28 '../../third_party/pkg/dartdoc/bin/dartdoc.dart', |
31 ], | 29 ], |
32 }, | 30 }, |
33 ], | 31 ], |
34 }, | 32 }, |
35 ], | 33 ], |
36 } | 34 } |
OLD | NEW |