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 ], | 12 ], |
13 'actions': [ | 13 'actions': [ |
14 { | 14 { |
15 'action_name': 'generate_dartdoc_snapshot', | 15 'action_name': 'generate_dartdoc_snapshot', |
16 'inputs': [ | 16 'inputs': [ |
17 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 17 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
18 '../../sdk/lib/_internal/sdk_library_metadata/lib/libraries.dart', | 18 '../../sdk/lib/_internal/sdk_library_metadata/lib/libraries.dart', |
19 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../thir
d_party/pkg/dartdoc"])', | 19 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../thir
d_party/pkg/dartdoc"])', |
20 ], | 20 ], |
21 'outputs': [ | 21 'outputs': [ |
22 '<(SHARED_INTERMEDIATE_DIR)/dartdoc.dart.snapshot', | 22 '<(SHARED_INTERMEDIATE_DIR)/dartdoc.dart.snapshot', |
23 ], | 23 ], |
24 'action': [ | 24 'action': [ |
25 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 25 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
| 26 '--packages=../../.packages', |
26 '--snapshot=<(SHARED_INTERMEDIATE_DIR)/dartdoc.dart.snapshot', | 27 '--snapshot=<(SHARED_INTERMEDIATE_DIR)/dartdoc.dart.snapshot', |
27 '../../third_party/pkg/dartdoc/bin/dartdoc.dart', | 28 '../../third_party/pkg/dartdoc/bin/dartdoc.dart', |
28 ], | 29 ], |
29 }, | 30 }, |
30 ], | 31 ], |
31 }, | 32 }, |
32 ], | 33 ], |
33 } | 34 } |
OLD | NEW |