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

Unified Diff: sdk/lib/_internal/pub/lib/src/package_graph.dart

Issue 583853002: Use precompiled dependencies in pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Code review changes Created 6 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 | « sdk/lib/_internal/pub/lib/src/package.dart ('k') | sdk/lib/_internal/pub/lib/src/validator/executable.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sdk/lib/_internal/pub/lib/src/package_graph.dart
diff --git a/sdk/lib/_internal/pub/lib/src/package_graph.dart b/sdk/lib/_internal/pub/lib/src/package_graph.dart
index 6066334f975bbed157fe1a9784d03270a3669bd4..f7914a8e5eb67f03169d9fea679ae9db5dd52249 100644
--- a/sdk/lib/_internal/pub/lib/src/package_graph.dart
+++ b/sdk/lib/_internal/pub/lib/src/package_graph.dart
@@ -9,7 +9,6 @@ import 'entrypoint.dart';
import 'lock_file.dart';
import 'package.dart';
import 'source/cached.dart';
-import 'source/hosted.dart';
import 'utils.dart';
/// A holistic view of the entire transitive dependency graph for an entrypoint.
@@ -25,7 +24,11 @@ class PackageGraph {
/// [packages].
final LockFile lockFile;
- /// All transitive dependencies of the entrypoint (including itself).
+ /// The transitive dependencies of the entrypoint (including itself).
+ ///
+ /// This may not include all transitive dependencies of the entrypoint if the
+ /// creator of the package graph knows only a subset of the packages are
+ /// relevant in the current context.
final Map<String, Package> packages;
/// A map of transitive dependencies for each package.
« no previous file with comments | « sdk/lib/_internal/pub/lib/src/package.dart ('k') | sdk/lib/_internal/pub/lib/src/validator/executable.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698