Chromium Code Reviews| OLD | NEW |
|---|---|
| (Empty) | |
| 1 # Copyright (c) 2013, 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 '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../pkg" ])', | |
|
ahe
2013/11/19 18:55:28
Where are the sources for dartfmt?
ricow1
2013/12/06 08:27:53
you need to add '<(SHARED_INTERMEDIATE_DIR)/packa
pquitslund
2013/12/06 17:55:43
Excellent. Done. Thanks!
| |
| 21 ], | |
| 22 'outputs': [ | |
| 23 '<(SHARED_INTERMEDIATE_DIR)/dartfmt.dart.snapshot', | |
| 24 ], | |
| 25 'action': [ | |
| 26 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | |
| 27 '--snapshot=<(SHARED_INTERMEDIATE_DIR)/dartfmt.dart.snapshot', | |
| 28 '../../pkg/analyzer/bin/formatter.dart', | |
| 29 ], | |
| 30 }, | |
| 31 ], | |
| 32 }, | |
| 33 ], | |
| 34 } | |
| OLD | NEW |