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

Unified Diff: pkg/analyzer/test/src/summary/summarize_ast_test.dart

Issue 2226093002: Record information about a summary's dependencies in the summary itself. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 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/test/src/summary/summarize_ast_test.dart
diff --git a/pkg/analyzer/test/src/summary/summarize_ast_test.dart b/pkg/analyzer/test/src/summary/summarize_ast_test.dart
index 0a5b7408090a6c433df4ebf8025640a3d16ed97f..a233136ad318aca071659970132b5a1a54fa3067 100644
--- a/pkg/analyzer/test/src/summary/summarize_ast_test.dart
+++ b/pkg/analyzer/test/src/summary/summarize_ast_test.dart
@@ -349,6 +349,7 @@ abstract class SummaryLinkerTest {
PackageBundleBuilder createPackageBundle(String text,
{String path: '/test.dart'}) {
PackageBundleAssembler assembler = new PackageBundleAssembler();
+ assembler.recordDependencies(_filesToLink.summaryDataStore);
LinkerInputs linkerInputs = createLinkerInputs(text, path: path);
Map<String, LinkedLibraryBuilder> linkedLibraries = link(
linkerInputs.linkedLibraries,
@@ -390,5 +391,6 @@ class _FilesToLink {
/**
* Information about summaries to be included in the link process.
*/
- SummaryDataStore summaryDataStore = new SummaryDataStore([]);
+ SummaryDataStore summaryDataStore =
+ new SummaryDataStore([], recordDependencyInfo: true);
}

Powered by Google App Engine
This is Rietveld 408576698