| Index: pkg/analyzer/lib/src/context/builder.dart
|
| diff --git a/pkg/analyzer/lib/src/context/builder.dart b/pkg/analyzer/lib/src/context/builder.dart
|
| index fe6f5c3db81a532b6cd4d621eb3704e0298ba167..2d8b0f14a5ef548f6428bd5219fb070827cc96ab 100644
|
| --- a/pkg/analyzer/lib/src/context/builder.dart
|
| +++ b/pkg/analyzer/lib/src/context/builder.dart
|
| @@ -25,8 +25,6 @@ import 'package:analyzer/src/generated/gn.dart';
|
| import 'package:analyzer/src/generated/sdk.dart';
|
| import 'package:analyzer/src/generated/source.dart';
|
| import 'package:analyzer/src/generated/workspace.dart';
|
| -import 'package:analyzer/src/summary/package_bundle_reader.dart';
|
| -import 'package:analyzer/src/summary/pub_summary.dart';
|
| import 'package:analyzer/src/summary/summary_sdk.dart';
|
| import 'package:analyzer/src/task/options.dart';
|
| import 'package:args/args.dart';
|
| @@ -140,7 +138,6 @@ class ContextBuilder {
|
| context.name = path;
|
| //_processAnalysisOptions(context, optionMap);
|
| declareVariables(context);
|
| - configureSummaries(context);
|
| return context;
|
| }
|
|
|
| @@ -164,25 +161,6 @@ class ContextBuilder {
|
| return driver;
|
| }
|
|
|
| - /**
|
| - * Configure the context to make use of summaries.
|
| - */
|
| - void configureSummaries(InternalAnalysisContext context) {
|
| - PubSummaryManager manager = builderOptions.pubSummaryManager;
|
| - if (manager != null) {
|
| - List<LinkedPubPackage> linkedBundles = manager.getLinkedBundles(context);
|
| - if (linkedBundles.isNotEmpty) {
|
| - SummaryDataStore store = new SummaryDataStore([]);
|
| - for (LinkedPubPackage package in linkedBundles) {
|
| - store.addBundle(null, package.unlinked);
|
| - store.addBundle(null, package.linked);
|
| - }
|
| - context.resultProvider =
|
| - new InputPackagesResultProvider(context, store);
|
| - }
|
| - }
|
| - }
|
| -
|
| Map<String, List<Folder>> convertPackagesToMap(Packages packages) {
|
| Map<String, List<Folder>> folderMap = new HashMap<String, List<Folder>>();
|
| if (packages != null && packages != Packages.noPackages) {
|
| @@ -628,11 +606,6 @@ class ContextBuilderOptions {
|
| String defaultPackagesDirectoryPath;
|
|
|
| /**
|
| - * The manager of pub package summaries.
|
| - */
|
| - PubSummaryManager pubSummaryManager;
|
| -
|
| - /**
|
| * Initialize a newly created set of options
|
| */
|
| ContextBuilderOptions();
|
|
|