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': 'dartfmt', | 8 'target_name': 'dartfmt', |
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_dartfmt_snapshot', | 15 'action_name': 'generate_dartfmt_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_tested/dart_style"])', | 19 '<!@(["python", "../../tools/list_dart_files.py", "relative", ' |
| 20 '"../../third_party/pkg_tested/dart_style"])', |
20 ], | 21 ], |
21 'outputs': [ | 22 'outputs': [ |
22 '<(SHARED_INTERMEDIATE_DIR)/dartfmt.dart.snapshot', | 23 '<(SHARED_INTERMEDIATE_DIR)/dartfmt.dart.snapshot', |
23 ], | 24 ], |
24 'action': [ | 25 'action': [ |
25 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 26 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
26 '--packages=../../.packages', | 27 '--packages=../../.packages', |
27 '--snapshot=<(SHARED_INTERMEDIATE_DIR)/dartfmt.dart.snapshot', | 28 '--snapshot=<(SHARED_INTERMEDIATE_DIR)/dartfmt.dart.snapshot', |
28 '../../third_party/pkg_tested/dart_style/bin/format.dart', | 29 '../../third_party/pkg_tested/dart_style/bin/format.dart', |
29 ], | 30 ], |
30 }, | 31 }, |
31 ], | 32 ], |
32 }, | 33 }, |
33 ], | 34 ], |
34 } | 35 } |
OLD | NEW |