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

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

Issue 1584313005: Downplay the distinction between linked and prelinked summaries. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 11 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_test.dart ('k') | pkg/analyzer/tool/summary/idl.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: pkg/analyzer/tool/summary/build_sdk_summary.dart
diff --git a/pkg/analyzer/tool/summary/build_sdk_summary.dart b/pkg/analyzer/tool/summary/build_sdk_summary.dart
index 760cbff393cd204a6b33877a7f2d2635f3d47cfe..840f7a11fadc4fa97e2101048c5dcae7be1771fb 100644
--- a/pkg/analyzer/tool/summary/build_sdk_summary.dart
+++ b/pkg/analyzer/tool/summary/build_sdk_summary.dart
@@ -45,9 +45,8 @@ main(List<String> args) {
//
// Serialize each SDK library.
//
- List<String> prelinkedLibraryUris = <String>[];
- List<PrelinkedLibraryBuilder> prelinkedLibraries =
- <PrelinkedLibraryBuilder>[];
+ List<String> linkedLibraryUris = <String>[];
+ List<LinkedLibraryBuilder> linkedLibraries = <LinkedLibraryBuilder>[];
List<String> unlinkedUnitUris = <String>[];
List<UnlinkedUnitBuilder> unlinkedUnits = <UnlinkedUnitBuilder>[];
for (SdkLibrary lib in sdk.sdkLibraries) {
@@ -57,8 +56,8 @@ main(List<String> args) {
context.computeLibraryElement(librarySource);
LibrarySerializationResult libraryResult =
serializeLibrary(libraryElement, context.typeProvider);
- prelinkedLibraryUris.add(lib.shortName);
- prelinkedLibraries.add(libraryResult.prelinked);
+ linkedLibraryUris.add(lib.shortName);
+ linkedLibraries.add(libraryResult.linked);
unlinkedUnitUris.addAll(libraryResult.unitUris);
unlinkedUnits.addAll(libraryResult.unlinkedUnits);
}
@@ -66,8 +65,8 @@ main(List<String> args) {
// Write the whole SDK bundle.
//
SdkBundleBuilder sdkBundle = new SdkBundleBuilder(
- prelinkedLibraryUris: prelinkedLibraryUris,
- prelinkedLibraries: prelinkedLibraries,
+ linkedLibraryUris: linkedLibraryUris,
+ linkedLibraries: linkedLibraries,
unlinkedUnitUris: unlinkedUnitUris,
unlinkedUnits: unlinkedUnits);
File file = new File(outputFilePath);
« no previous file with comments | « pkg/analyzer/test/src/summary/summary_test.dart ('k') | pkg/analyzer/tool/summary/idl.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698