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': 'analysis_server', | |
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_analysis_server_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/ 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
| |
22 ], | |
23 'outputs': [ | |
24 '<(SHARED_INTERMEDIATE_DIR)/analysis_server.dart.snapshot', | |
25 ], | |
26 'action': [ | |
27 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | |
28 '--snapshot=<(SHARED_INTERMEDIATE_DIR)/analysis_server.dart.snapshot ', | |
29 '--package-root=<(PRODUCT_DIR)/packages/', | |
30 '../../pkg/analysis_server/bin/server.dart', | |
31 ], | |
32 }, | |
33 ], | |
34 }, | |
35 ], | |
36 } | |
OLD | NEW |