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