Index: utils/dartanalyzer/dartanalyzer.gyp |
diff --git a/utils/dartanalyzer/dartanalyzer.gyp b/utils/dartanalyzer/dartanalyzer.gyp |
index 6aec554a1b0c4a7ff32f48900d33386273933a21..31f2ec4d125699476d658a5e635d1322f57fb08a 100644 |
--- a/utils/dartanalyzer/dartanalyzer.gyp |
+++ b/utils/dartanalyzer/dartanalyzer.gyp |
@@ -31,7 +31,7 @@ |
], |
}, |
{ |
- 'action_name': 'generate_summaries', |
+ 'action_name': 'generate_summary_bundle', |
'inputs': [ |
'<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
'<(SHARED_INTERMEDIATE_DIR)/packages.stamp', |
@@ -39,14 +39,48 @@ |
'<!@(["python", "../../tools/list_files.py", "\\.dart$", "../../pkg/analyzer"])', |
], |
'outputs': [ |
+ '<(SHARED_INTERMEDIATE_DIR)/sdk_summary_bundle.bin', |
+ ], |
+ 'action': [ |
+ '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
+ '--package-root=<(PRODUCT_DIR)/packages/', |
+ '../../pkg/analyzer/tool/summary/build_sdk_summaries.dart', |
+ 'single-output', |
+ '<(SHARED_INTERMEDIATE_DIR)/sdk_summary_bundle.bin', |
+ ], |
+ }, |
+ { |
+ 'action_name': 'extract_spec_summary', |
+ 'inputs': [ |
+ '<(SHARED_INTERMEDIATE_DIR)/sdk_summary_bundle.bin', |
+ ], |
+ 'outputs': [ |
+ '<(SHARED_INTERMEDIATE_DIR)/spec.sum', |
+ ], |
+ 'action': [ |
+ '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
+ '--package-root=<(PRODUCT_DIR)/packages/', |
+ '../../pkg/analyzer/tool/summary/build_sdk_summaries.dart', |
+ 'extract-spec-sum', |
+ '<(SHARED_INTERMEDIATE_DIR)/sdk_summary_bundle.bin', |
'<(SHARED_INTERMEDIATE_DIR)/spec.sum', |
+ ], |
+ }, |
+ { |
+ 'action_name': 'extract_strong_summary', |
+ 'inputs': [ |
+ '<(SHARED_INTERMEDIATE_DIR)/sdk_summary_bundle.bin', |
+ ], |
+ 'outputs': [ |
'<(SHARED_INTERMEDIATE_DIR)/strong.sum', |
], |
'action': [ |
'<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)dart<(EXECUTABLE_SUFFIX)', |
'--package-root=<(PRODUCT_DIR)/packages/', |
'../../pkg/analyzer/tool/summary/build_sdk_summaries.dart', |
- '<(SHARED_INTERMEDIATE_DIR)', |
+ 'extract-strong-sum', |
+ '<(SHARED_INTERMEDIATE_DIR)/sdk_summary_bundle.bin', |
+ '<(SHARED_INTERMEDIATE_DIR)/strong.sum', |
], |
}, |
], |