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

Unified Diff: sdk/lib/_internal/pub/lib/src/barback/transformer_loader.dart

Issue 583853002: Use precompiled dependencies in pub. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: 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
Index: sdk/lib/_internal/pub/lib/src/barback/transformer_loader.dart
diff --git a/sdk/lib/_internal/pub/lib/src/barback/transformer_loader.dart b/sdk/lib/_internal/pub/lib/src/barback/transformer_loader.dart
index 2d9f3338095784b51bb0ec817db11e3873835f9a..92a8ed9494c85782c52502aa956a048983ececaa 100644
--- a/sdk/lib/_internal/pub/lib/src/barback/transformer_loader.dart
+++ b/sdk/lib/_internal/pub/lib/src/barback/transformer_loader.dart
@@ -35,7 +35,8 @@ class TransformerLoader {
TransformerLoader(this._environment, this._transformerServer) {
for (var package in _environment.graph.packages.values) {
- for (var config in unionAll(package.pubspec.transformers)) {
+ var transformers = unionAll(package.pubspec.transformers);
+ for (var config in transformers) {
_transformerUsers.putIfAbsent(config.id, () => new Set<String>())
.add(package.name);
}

Powered by Google App Engine
This is Rietveld 408576698