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