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 '../../pkg/pkg.gyp:pkg_packages', | |
13 ], | 12 ], |
14 'actions': [ | 13 'actions': [ |
15 { | 14 { |
16 'action_name': 'generate_dartdevc_snapshot', | 15 'action_name': 'generate_dartdevc_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 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../pkg/
dev_compiler/bin"])', | 19 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../pkg/
dev_compiler/bin"])', |
21 '<(SHARED_INTERMEDIATE_DIR)/packages.stamp', | 20 '<(SHARED_INTERMEDIATE_DIR)/packages.stamp', |
22 '<(SHARED_INTERMEDIATE_DIR)/pkg_files.stamp', | 21 '<(SHARED_INTERMEDIATE_DIR)/pkg_files.stamp', |
23 ], | 22 ], |
24 'outputs': [ | 23 'outputs': [ |
25 '<(SHARED_INTERMEDIATE_DIR)/dartdevc.dart.snapshot', | 24 '<(SHARED_INTERMEDIATE_DIR)/dartdevc.dart.snapshot', |
26 ], | 25 ], |
27 'action': [ | 26 'action': [ |
28 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 27 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
29 '--snapshot=<(SHARED_INTERMEDIATE_DIR)/dartdevc.dart.snapshot', | 28 '--snapshot=<(SHARED_INTERMEDIATE_DIR)/dartdevc.dart.snapshot', |
30 '--package-root=<(PRODUCT_DIR)/packages/', | |
31 '../../pkg/dev_compiler/bin/dartdevc.dart' | 29 '../../pkg/dev_compiler/bin/dartdevc.dart' |
32 ], | 30 ], |
33 }, | 31 }, |
34 ], | 32 ], |
35 }, | 33 }, |
36 ], | 34 ], |
37 } | 35 } |
OLD | NEW |