OLD | NEW |
| (Empty) |
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 | |
3 # BSD-style license that can be found in the LICENSE file. | |
4 | |
5 { | |
6 'targets': [ | |
7 { | |
8 'target_name': 'dartdoc', | |
9 'type': 'none', | |
10 'dependencies': [ | |
11 '../../runtime/dart-runtime.gyp:dart', | |
12 ], | |
13 'actions': [ | |
14 { | |
15 'action_name': 'generate_dartdoc_snapshot', | |
16 'inputs': [ | |
17 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | |
18 '../../sdk/lib/_internal/sdk_library_metadata/lib/libraries.dart', | |
19 '<!@(["python", "../../tools/list_dart_files.py", "relative", ' | |
20 '"../../third_party/pkg/dartdoc"])', | |
21 ], | |
22 'outputs': [ | |
23 '<(SHARED_INTERMEDIATE_DIR)/dartdoc.dart.snapshot', | |
24 ], | |
25 'action': [ | |
26 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | |
27 '--packages=../../.packages', | |
28 '--snapshot=<(SHARED_INTERMEDIATE_DIR)/dartdoc.dart.snapshot', | |
29 '../../third_party/pkg/dartdoc/bin/dartdoc.dart', | |
30 ], | |
31 }, | |
32 ], | |
33 }, | |
34 ], | |
35 } | |
OLD | NEW |