Index: utils/analysis_server/analysis_server.gyp |
=================================================================== |
--- utils/analysis_server/analysis_server.gyp (revision 0) |
+++ utils/analysis_server/analysis_server.gyp (revision 0) |
@@ -0,0 +1,36 @@ |
+# Copyright (c) 2014, 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': 'analysis_server', |
+ 'type': 'none', |
+ 'dependencies': [ |
+ '../../runtime/dart-runtime.gyp:dart', |
+ '../../pkg/pkg.gyp:pkg_packages', |
+ ], |
+ 'actions': [ |
+ { |
+ 'action_name': 'generate_analysis_server_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/analysis_server"])', |
kustermann
2014/07/29 08:43:15
I think this is not correct. You want to build the
ricow1
2014/07/29 09:12:44
You can depend on pkg/pkg_files.gyp and then have
pquitslund
2014/08/18 18:35:55
Thanks for the tips! I *think* I got it right.
P
|
+ ], |
+ 'outputs': [ |
+ '<(SHARED_INTERMEDIATE_DIR)/analysis_server.dart.snapshot', |
+ ], |
+ 'action': [ |
+ '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
+ '--snapshot=<(SHARED_INTERMEDIATE_DIR)/analysis_server.dart.snapshot', |
+ '--package-root=<(PRODUCT_DIR)/packages/', |
+ '../../pkg/analysis_server/bin/server.dart', |
+ ], |
+ }, |
+ ], |
+ }, |
+ ], |
+} |