OLD | NEW |
1 # Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file | 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 | 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. | 3 # BSD-style license that can be found in the LICENSE file. |
4 | 4 |
5 { | 5 { |
6 'targets': [ | 6 'targets': [ |
7 { | 7 { |
8 'target_name': 'pub', | 8 'target_name': 'pub', |
9 'type': 'none', | 9 'type': 'none', |
10 'dependencies': [ | 10 'dependencies': [ |
11 '../../runtime/dart-runtime.gyp:dart', | 11 '../../runtime/dart-runtime.gyp:dart', |
12 '../../pkg/pkg_files.gyp:pkg_files_stamp', | 12 '../../pkg/pkg_files.gyp:pkg_files_stamp', |
13 '../../utils/compiler/compiler.gyp:dart2js_files_stamp' | 13 '../../utils/compiler/compiler.gyp:dart2js_files_stamp' |
14 ], | 14 ], |
15 'actions': [ | 15 'actions': [ |
16 { | 16 { |
17 'action_name': 'generate_pub_snapshot', | 17 'action_name': 'generate_pub_snapshot', |
18 'inputs': [ | 18 'inputs': [ |
19 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 19 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
20 '../../sdk/lib/_internal/sdk_library_metadata/lib/libraries.dart', | 20 '../../sdk/lib/_internal/sdk_library_metadata/lib/libraries.dart', |
21 '<(SHARED_INTERMEDIATE_DIR)/dart2js_files.stamp', | 21 '<(SHARED_INTERMEDIATE_DIR)/dart2js_files.stamp', |
22 '<(SHARED_INTERMEDIATE_DIR)/pkg_files.stamp', | 22 '<(SHARED_INTERMEDIATE_DIR)/pkg_files.stamp', |
23 ], | 23 ], |
24 'outputs': [ | 24 'outputs': [ |
25 '<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot', | 25 '<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot', |
26 ], | 26 ], |
27 'action': [ | 27 'action': [ |
28 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 28 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
| 29 '--packages=../../.packages', |
29 '--snapshot=<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot', | 30 '--snapshot=<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot', |
30 '../../third_party/pkg/pub/bin/pub.dart', | 31 '../../third_party/pkg/pub/bin/pub.dart', |
31 ] | 32 ] |
32 }, | 33 }, |
33 ], | 34 ], |
34 }, | 35 }, |
35 ], | 36 ], |
36 } | 37 } |
OLD | NEW |