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

Unified Diff: utils/pub/sdk_source.dart

Issue 12038038: Add support for specifying SDK version constraints in pubspecs. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Clean up a bit. Created 7 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 | « utils/pub/pubspec.dart ('k') | utils/pub/version.dart » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: utils/pub/sdk_source.dart
diff --git a/utils/pub/sdk_source.dart b/utils/pub/sdk_source.dart
index 7129a7b45bc420f924b23fd04dd983162f3654a5..e0782b08cc3d0494c96f2d9c8b2d4b89c70ddeeb 100644
--- a/utils/pub/sdk_source.dart
+++ b/utils/pub/sdk_source.dart
@@ -25,7 +25,8 @@ class SdkSource extends Source {
return Package.load(id.name, packageDir, systemCache.sources);
}).then((package) {
// Ignore the pubspec's version, and use the SDK's.
- return new Pubspec(id.name, sdk.version, package.pubspec.dependencies);
+ return new Pubspec(id.name, sdk.version, package.pubspec.dependencies,
+ package.pubspec.environment);
});
}
« no previous file with comments | « utils/pub/pubspec.dart ('k') | utils/pub/version.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698