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

Unified Diff: pkg/analyzer/tool/summary/build_sdk_summaries.dart

Issue 2078033002: Introduce build configuration to summary building. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 6 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: pkg/analyzer/tool/summary/build_sdk_summaries.dart
diff --git a/pkg/analyzer/tool/summary/build_sdk_summaries.dart b/pkg/analyzer/tool/summary/build_sdk_summaries.dart
index 7392fddd271789145ebd56653c4f736f429284ec..bf6d8b5b080d4559c87044929a014eb9935cdd24 100644
--- a/pkg/analyzer/tool/summary/build_sdk_summaries.dart
+++ b/pkg/analyzer/tool/summary/build_sdk_summaries.dart
@@ -113,7 +113,8 @@ BuilderOutput _buildOutput(String sdkPath, bool strongMode) {
String modeName = strongMode ? 'strong' : 'spec';
print('Generating $modeName mode summary and index.');
Stopwatch sw = new Stopwatch()..start();
- BuilderOutput output = new SummaryBuilder.forSdk(sdkPath, strongMode).build();
+ SummaryBuildConfig config = new SummaryBuildConfig(strongMode: strongMode);
+ BuilderOutput output = new SummaryBuilder.forSdk(sdkPath, config).build();
print('\tDone in ${sw.elapsedMilliseconds} ms.');
return output;
}

Powered by Google App Engine
This is Rietveld 408576698