| Index: utils/pub/pub.gyp
|
| ===================================================================
|
| --- utils/pub/pub.gyp (revision 35247)
|
| +++ utils/pub/pub.gyp (working copy)
|
| @@ -10,16 +10,19 @@
|
| 'dependencies': [
|
| '../../runtime/dart-runtime.gyp:dart',
|
| '../../pkg/pkg.gyp:pkg_packages',
|
| + '../../pkg/pkg.gyp:pkg_files_stamp',
|
| + '../../utils/compiler/compiler.gyp:dart2js_files_stamp',
|
| + 'pub_files_stamp'
|
| ],
|
| 'actions': [
|
| {
|
| 'action_name': 'generate_pub_snapshot',
|
| 'inputs': [
|
| '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)',
|
| - '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../sdk/lib/_internal/pub"])',
|
| '../../sdk/lib/_internal/libraries.dart',
|
| - '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../sdk/lib/_internal/compiler"])',
|
| - '<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../pkg"])',
|
| + '<(SHARED_INTERMEDIATE_DIR)/pub_files.stamp',
|
| + '<(SHARED_INTERMEDIATE_DIR)/dart2js_files.stamp',
|
| + '<(SHARED_INTERMEDIATE_DIR)/pgk_files.stamp',
|
| ],
|
| 'outputs': [
|
| '<(SHARED_INTERMEDIATE_DIR)/pub.dart.snapshot',
|
| @@ -33,5 +36,32 @@
|
| },
|
| ],
|
| },
|
| + # Other targets depend on pub files, but have to many inputs, which causes
|
| + # issues on some platforms.
|
| + # This target lists all the files in sdk/lib/_internal/pub,
|
| + # and creates a single pub_files.stamp
|
| + {
|
| + 'target_name': 'pub_files_stamp',
|
| + 'type': 'none',
|
| + 'actions': [
|
| + {
|
| + 'action_name': 'make_pub_files_stamp',
|
| + 'inputs': [
|
| + '../../tools/create_timestamp_file.py',
|
| + '<!@(["python", "../../tools/list_files.py", "\\.dart$",'
|
| + ' "../../sdk/lib/_internal/pub"])',
|
| + ],
|
| + 'outputs': [
|
| + '<(SHARED_INTERMEDIATE_DIR)/pub_files.stamp',
|
| + ],
|
| + 'action': [
|
| + 'python', '../../tools/create_timestamp_file.py',
|
| + '<@(_outputs)',
|
| + ],
|
| + },
|
| + ],
|
| + }
|
| +
|
| +
|
| ],
|
| }
|
|
|