Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(185)

Unified Diff: utils/dartanalyzer/dartanalyzer.gyp

Issue 1775973003: Add hacks into build_sdk_summaries to workaround bugs in build tools. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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',
],
},
],

Powered by Google App Engine
This is Rietveld 408576698