Index: sdk/lib/_internal/pub/lib/src/barback/load_transformers.dart |
diff --git a/sdk/lib/_internal/pub/lib/src/barback/load_transformers.dart b/sdk/lib/_internal/pub/lib/src/barback/load_transformers.dart |
index c5cb4b9ca815c643827f293f300d21647f676644..f1844daa401d9cc6e96df2bd058d388c6175a9d7 100644 |
--- a/sdk/lib/_internal/pub/lib/src/barback/load_transformers.dart |
+++ b/sdk/lib/_internal/pub/lib/src/barback/load_transformers.dart |
@@ -9,21 +9,19 @@ import 'dart:convert'; |
import 'dart:isolate'; |
import 'package:barback/barback.dart'; |
-// TODO(nweiz): don't import from "src" once issue 14966 is fixed. |
-import 'package:barback/src/internal_asset.dart'; |
import '../../../asset/dart/serialize.dart'; |
import '../barback.dart'; |
import '../dart.dart' as dart; |
import '../log.dart' as log; |
import '../utils.dart'; |
-import 'build_environment.dart'; |
+import 'asset_environment.dart'; |
import 'excluding_transformer.dart'; |
import 'barback_server.dart'; |
/// Load and return all transformers and groups from the library identified by |
/// [id]. |
-Future<Set> loadTransformers(BuildEnvironment environment, |
+Future<Set> loadTransformers(AssetEnvironment environment, |
BarbackServer transformerServer, TransformerId id) { |
return id.getAssetId(environment.barback).then((assetId) { |
var path = assetId.path.replaceFirst('lib/', ''); |