Index: utils/dartfmt/dartfmt.gyp |
=================================================================== |
--- utils/dartfmt/dartfmt.gyp (revision 0) |
+++ utils/dartfmt/dartfmt.gyp (revision 0) |
@@ -0,0 +1,36 @@ |
+# Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file |
ricow1
2014/02/10 07:12:59
since we are landing this now -> 2014
pquitslund
2014/02/10 18:51:11
Done.
|
+# 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', |
+ '<(SHARED_INTERMEDIATE_DIR)/packages.stamp', |
+ '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../pkg/analyzer"])', |
ricow1
2014/02/10 07:12:59
we probably depend on this implicitly by the packa
kustermann
2014/02/10 08:31:35
The packages.stamp file only needs to change if th
pquitslund
2014/02/10 18:51:11
I have to defer to you guys for this bit (and the
|
+ ], |
+ 'outputs': [ |
+ '<(SHARED_INTERMEDIATE_DIR)/dartfmt.dart.snapshot', |
+ ], |
+ 'action': [ |
+ '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
+ '--snapshot=<(SHARED_INTERMEDIATE_DIR)/dartfmt.dart.snapshot', |
+ '--package-root=<(PRODUCT_DIR)/packages/', |
+ '../../pkg/analyzer/bin/formatter.dart', |
kustermann
2014/02/10 08:31:35
I'm sure I raised this question before:
Why can't
pquitslund
2014/02/10 18:51:11
I'm not sure if startup is a huge issue. Certainl
|
+ ], |
+ }, |
+ ], |
+ }, |
+ ], |
+} |