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': 'pub', | |
9 'type': 'none', | |
10 'dependencies': [ | |
11 '../../runtime/dart-runtime.gyp:dart', | |
12 '../../pkg/pkg_files.gyp:pkg_files_stamp', | |
13 '../../utils/compiler/compiler.gyp:dart2js_files_stamp' | |
14 ], | |
15 'actions': [ | |
16 { | |
17 'action_name': 'generate_pub_snapshot', | |
18 'inputs': [ | |
19 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | |
20 '../../sdk/lib/_internal/sdk_library_metadata/lib/libraries.dart', | |
21 '<(SHARED_INTERMEDIATE_DIR)/dart2js_files.stamp', | |
22 '<(SHARED_INTERMEDIATE_DIR)/pkg_files.stamp', | |
23 ], | |
24 'outputs': [ | |
25 '<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot', | |
26 ], | |
27 'action': [ | |
28 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | |
29 '--packages=../../.packages', | |
30 '--snapshot=<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot', | |
31 '../../third_party/pkg/pub/bin/pub.dart', | |
32 ] | |
33 }, | |
34 ], | |
35 }, | |
36 ], | |
37 } | |
OLD | NEW |