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

Unified Diff: pkg/front_end/lib/incremental_kernel_generator.dart

Issue 2999563002: Add support for SDK outline in IKG. (Closed)
Patch Set: Created 3 years, 4 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/front_end/lib/incremental_kernel_generator.dart
diff --git a/pkg/front_end/lib/incremental_kernel_generator.dart b/pkg/front_end/lib/incremental_kernel_generator.dart
index 93e88ee60ed5a71e80e0a8deb487779be3eef464..80bc222710c418c658035e07ddb65843f909b167 100644
--- a/pkg/front_end/lib/incremental_kernel_generator.dart
+++ b/pkg/front_end/lib/incremental_kernel_generator.dart
@@ -103,8 +103,9 @@ abstract class IncrementalKernelGenerator {
var processedOptions = new ProcessedOptions(options, false, [entryPoint]);
return await CompilerContext.runWithOptions(processedOptions, (_) async {
var uriTranslator = await processedOptions.getUriTranslator();
+ var sdkOutlineBytes = await processedOptions.loadSdkSummaryBytes();
Siggi Cherem (dart-lang) 2017/08/07 19:12:52 What do we want the default behavior to use a summ
scheglov 2017/08/07 20:47:51 Well, on this level it does not matter - IKG uses
Siggi Cherem (dart-lang) 2017/08/07 22:16:17 Correct, this is about what do we want the default
scheglov 2017/08/07 23:34:11 Flutter tools is the only known client of IKG, and
return new IncrementalKernelGeneratorImpl(
- processedOptions, uriTranslator, entryPoint,
+ processedOptions, uriTranslator, sdkOutlineBytes, entryPoint,
watch: watch);
});
}

Powered by Google App Engine
This is Rietveld 408576698