Chromium Code Reviews| Index: utils/dartfmt/dartfmt.gyp |
| =================================================================== |
| --- utils/dartfmt/dartfmt.gyp (revision 0) |
| +++ utils/dartfmt/dartfmt.gyp (revision 0) |
| @@ -0,0 +1,34 @@ |
| +# Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
| +# for details. All rights reserved. Use of this source code is governed by a |
| +# BSD-style license that can be found in the LICENSE file. |
| + |
| +{ |
| + 'targets': [ |
| + { |
| + 'target_name': 'dartfmt', |
| + 'type': 'none', |
| + 'dependencies': [ |
| + '../../runtime/dart-runtime.gyp:dart', |
| + '../../pkg/pkg.gyp:pkg_packages', |
| + ], |
| + 'actions': [ |
| + { |
| + 'action_name': 'generate_dartfmt_snapshot', |
| + 'inputs': [ |
| + '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
| + '../../sdk/lib/_internal/libraries.dart', |
| + '<!@(["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!
|
| + ], |
| + 'outputs': [ |
| + '<(SHARED_INTERMEDIATE_DIR)/dartfmt.dart.snapshot', |
| + ], |
| + 'action': [ |
| + '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
| + '--snapshot=<(SHARED_INTERMEDIATE_DIR)/dartfmt.dart.snapshot', |
| + '../../pkg/analyzer/bin/formatter.dart', |
| + ], |
| + }, |
| + ], |
| + }, |
| + ], |
| +} |