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

Unified Diff: pkg/analyzer_cli/lib/src/build_mode.dart

Issue 2353433002: Use configurations and declared variables to select import/export URIs during prelinking. (Closed)
Patch Set: Cache selected URI. Created 4 years, 3 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 | « pkg/analyzer/test/src/summary/summary_common.dart ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer_cli/lib/src/build_mode.dart
diff --git a/pkg/analyzer_cli/lib/src/build_mode.dart b/pkg/analyzer_cli/lib/src/build_mode.dart
index 7632e692bceb5fe6a640323cb453e0df3506b89b..af1dbcc963b4ff57ab32af46850fd44f843b9101 100644
--- a/pkg/analyzer_cli/lib/src/build_mode.dart
+++ b/pkg/analyzer_cli/lib/src/build_mode.dart
@@ -395,8 +395,12 @@ class BuildMode {
});
}
- Map<String, LinkedLibraryBuilder> linkResult =
- link(sourceUris, _getDependency, _getUnit, options.strongMode);
+ Map<String, LinkedLibraryBuilder> linkResult = link(
+ sourceUris,
+ _getDependency,
+ _getUnit,
+ context.declaredVariables.get,
+ options.strongMode);
linkResult.forEach(assembler.addLinkedLibrary);
}
}
« no previous file with comments | « pkg/analyzer/test/src/summary/summary_common.dart ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698