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:pub_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 'pub_files_stamp' | 15 'pub_files_stamp' |
16 ], | 16 ], |
17 'actions': [ | 17 'actions': [ |
18 { | 18 { |
19 'action_name': 'generate_pub_snapshot', | 19 'action_name': 'generate_pub_snapshot', |
20 'inputs': [ | 20 'inputs': [ |
21 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 21 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
22 '../../sdk/lib/_internal/libraries.dart', | 22 '../../sdk/lib/_internal/libraries.dart', |
23 '<(SHARED_INTERMEDIATE_DIR)/pub_files.stamp', | 23 '<(SHARED_INTERMEDIATE_DIR)/pub_files.stamp', |
24 '<(SHARED_INTERMEDIATE_DIR)/dart2js_files.stamp', | 24 '<(SHARED_INTERMEDIATE_DIR)/dart2js_files.stamp', |
ricow1
2014/08/12 05:57:21
Does pub need pub_packages target to be build befo
nweiz
2014/08/12 23:12:18
Done.
| |
25 '<(SHARED_INTERMEDIATE_DIR)/pkg_files.stamp', | 25 '<(SHARED_INTERMEDIATE_DIR)/pkg_files.stamp', |
26 ], | 26 ], |
27 'outputs': [ | 27 'outputs': [ |
28 '<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot', | 28 '<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot', |
29 ], | 29 ], |
30 'action': [ | 30 'action': [ |
31 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', | 31 '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
32 '--package-root=<(PRODUCT_DIR)/packages/', | 32 '--package-root=<(PRODUCT_DIR)/pub_packages/', |
33 '--snapshot=<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot', | 33 '--snapshot=<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot', |
34 '../../sdk/lib/_internal/pub/bin/pub.dart', | 34 '../../sdk/lib/_internal/pub/bin/pub.dart', |
35 ], | 35 ], |
36 }, | 36 }, |
37 ], | 37 ], |
38 }, | 38 }, |
39 # Other targets depend on pub files, but have to many inputs, which causes | 39 # Other targets depend on pub files, but have to many inputs, which causes |
40 # issues on some platforms. | 40 # issues on some platforms. |
41 # This target lists all the files in sdk/lib/_internal/pub, | 41 # This target lists all the files in sdk/lib/_internal/pub, |
42 # and creates a single pub_files.stamp | 42 # and creates a single pub_files.stamp |
(...skipping 15 matching lines...) Expand all Loading... | |
58 'python', '../../tools/create_timestamp_file.py', | 58 'python', '../../tools/create_timestamp_file.py', |
59 '<@(_outputs)', | 59 '<@(_outputs)', |
60 ], | 60 ], |
61 }, | 61 }, |
62 ], | 62 ], |
63 } | 63 } |
64 | 64 |
65 | 65 |
66 ], | 66 ], |
67 } | 67 } |
OLD | NEW |