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

Unified Diff: pkg/analyzer/lib/src/summary/summarize_elements.dart

Issue 2996783002: Don't record dependencies in SummaryDataStore. (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/analyzer/lib/src/summary/summarize_elements.dart
diff --git a/pkg/analyzer/lib/src/summary/summarize_elements.dart b/pkg/analyzer/lib/src/summary/summarize_elements.dart
index eaeede2f622e9090d0fdac356456ba096d17d39b..169e3afb42c88d686c0a1ce7977ed4e7bc9bf4a2 100644
--- a/pkg/analyzer/lib/src/summary/summarize_elements.dart
+++ b/pkg/analyzer/lib/src/summary/summarize_elements.dart
@@ -9,7 +9,6 @@ import 'dart:convert';
import 'package:analyzer/src/generated/source.dart';
import 'package:analyzer/src/summary/format.dart';
import 'package:analyzer/src/summary/idl.dart';
-import 'package:analyzer/src/summary/package_bundle_reader.dart';
import 'package:convert/convert.dart';
import 'package:crypto/crypto.dart';
import 'package:front_end/src/base/api_signature.dart';
@@ -43,8 +42,6 @@ class PackageBundleAssembler {
final Map<String, UnlinkedUnitBuilder> _unlinkedUnitMap =
<String, UnlinkedUnitBuilder>{};
final List<String> _unlinkedUnitHashes;
- final List<PackageDependencyInfoBuilder> _dependencies =
- <PackageDependencyInfoBuilder>[];
final bool _excludeHashes;
/**
@@ -85,18 +82,9 @@ class PackageBundleAssembler {
unlinkedUnitHashes: _unlinkedUnitHashes,
majorVersion: currentMajorVersion,
minorVersion: currentMinorVersion,
- dependencies: _dependencies,
apiSignature: _computeApiSignature());
}
- /**
- * Use the dependency information in [summaryDataStore] to populate the
- * dependencies in the package bundle being assembled.
- */
- void recordDependencies(SummaryDataStore summaryDataStore) {
- _dependencies.addAll(summaryDataStore.dependencies);
- }
-
/**
* Compute the API signature for this package bundle.
*/
« no previous file with comments | « pkg/analyzer/lib/src/summary/package_bundle_reader.dart ('k') | pkg/analyzer/test/src/summary/linker_test.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698