OLD | NEW |
1 # Copyright (c) 2016, the Dart project authors. Please see the AUTHORS file | 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 | 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': 'dartdevc', | 8 'target_name': 'dartdevc', |
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_dartdevc_snapshot', | 15 'action_name': 'generate_dartdevc_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$", "../../pkg/
dev_compiler/bin"])', | 19 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../pkg/
dev_compiler/bin"])', |
20 '<(SHARED_INTERMEDIATE_DIR)/pkg_files.stamp', | 20 '<(SHARED_INTERMEDIATE_DIR)/pkg_files.stamp', |
21 ], | 21 ], |
22 'outputs': [ | 22 'outputs': [ |
23 '<(SHARED_INTERMEDIATE_DIR)/dartdevc.dart.snapshot', | 23 '<(SHARED_INTERMEDIATE_DIR)/dartdevc.dart.snapshot', |
24 ], | 24 ], |
25 'action': [ | 25 'action': [ |
26 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 26 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
| 27 '--packages=../../.packages', |
27 '--snapshot=<(SHARED_INTERMEDIATE_DIR)/dartdevc.dart.snapshot', | 28 '--snapshot=<(SHARED_INTERMEDIATE_DIR)/dartdevc.dart.snapshot', |
28 '../../pkg/dev_compiler/bin/dartdevc.dart' | 29 '../../pkg/dev_compiler/bin/dartdevc.dart' |
29 ], | 30 ], |
30 }, | 31 }, |
31 ], | 32 ], |
32 }, | 33 }, |
33 ], | 34 ], |
34 } | 35 } |
OLD | NEW |