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

Unified Diff: pkg/front_end/lib/src/fasta/fasta.dart

Issue 2978243002: Mark outline as external
Patch Set: Created 3 years, 5 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/front_end/lib/src/fasta/fasta.dart
diff --git a/pkg/front_end/lib/src/fasta/fasta.dart b/pkg/front_end/lib/src/fasta/fasta.dart
index ce753f7c6af2a4c60baaa3aed037ff752ea2c666..279963c54facf249e8a7f322370e44c0c5fd84b6 100644
--- a/pkg/front_end/lib/src/fasta/fasta.dart
+++ b/pkg/front_end/lib/src/fasta/fasta.dart
@@ -147,6 +147,7 @@ class CompileTask {
deprecated_inputError(uri, -1, "Unexpected input: $uri");
}
await dillTarget.buildOutlines();
+ dillTarget.loader.libraries.forEach((lib) => lib.isExternal = true);
var outline = await kernelTarget.buildOutlines();
if (c.options.dumpIr && output != null) {
printProgramText(outline, libraryFilter: kernelTarget.isSourceLibrary);
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698