OLD | NEW |
(Empty) | |
| 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 |
| 3 # BSD-style license that can be found in the LICENSE file. |
| 4 |
| 5 { |
| 6 'targets': [ |
| 7 { |
| 8 'target_name': 'dartfmt', |
| 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_dartfmt_snapshot', |
| 17 'inputs': [ |
| 18 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
| 19 '../../sdk/lib/_internal/libraries.dart', |
| 20 '<(SHARED_INTERMEDIATE_DIR)/packages.stamp', |
| 21 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../pkg/
analyzer"])', |
| 22 ], |
| 23 'outputs': [ |
| 24 '<(SHARED_INTERMEDIATE_DIR)/dartfmt.dart.snapshot', |
| 25 ], |
| 26 'action': [ |
| 27 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
| 28 '--snapshot=<(SHARED_INTERMEDIATE_DIR)/dartfmt.dart.snapshot', |
| 29 '--package-root=<(PRODUCT_DIR)/packages/', |
| 30 '../../pkg/analyzer/bin/formatter.dart', |
| 31 ], |
| 32 }, |
| 33 ], |
| 34 }, |
| 35 ], |
| 36 } |
OLD | NEW |