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

Side by Side Diff: pkg/barback/lib/src/transform_node.dart

Issue 23201013: pkg/barback: removed unused imports, added a missing import (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: Created 7 years, 4 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file 1 // Copyright (c) 2013, the Dart project authors. Please see the AUTHORS file
2 // for details. All rights reserved. Use of this source code is governed by a 2 // for details. All rights reserved. Use of this source code is governed by a
3 // BSD-style license that can be found in the LICENSE file. 3 // BSD-style license that can be found in the LICENSE file.
4 4
5 library barback.transform_node; 5 library barback.transform_node;
6 6
7 import 'dart:async'; 7 import 'dart:async';
8 8
9 import 'asset.dart'; 9 import 'asset.dart';
10 import 'asset_id.dart'; 10 import 'asset_id.dart';
11 import 'asset_node.dart'; 11 import 'asset_node.dart';
12 import 'asset_set.dart'; 12 import 'asset_set.dart';
13 import 'errors.dart'; 13 import 'errors.dart';
14 import 'phase.dart'; 14 import 'phase.dart';
15 import 'transform.dart'; 15 import 'transform.dart';
16 import 'transformer.dart'; 16 import 'transformer.dart';
17 import 'utils.dart';
18 17
19 /// Describes a transform on a set of assets and its relationship to the build 18 /// Describes a transform on a set of assets and its relationship to the build
20 /// dependency graph. 19 /// dependency graph.
21 /// 20 ///
22 /// Keeps track of whether it's dirty and needs to be run and which assets it 21 /// Keeps track of whether it's dirty and needs to be run and which assets it
23 /// depends on. 22 /// depends on.
24 class TransformNode { 23 class TransformNode {
25 /// The [Phase] that this transform runs in. 24 /// The [Phase] that this transform runs in.
26 final Phase phase; 25 final Phase phase;
27 26
(...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after
195 } else { 194 } else {
196 var controller = new AssetNodeController.available(asset, this); 195 var controller = new AssetNodeController.available(asset, this);
197 _outputControllers[asset.id] = controller; 196 _outputControllers[asset.id] = controller;
198 brandNewOutputs.add(controller.node); 197 brandNewOutputs.add(controller.node);
199 } 198 }
200 } 199 }
201 200
202 return brandNewOutputs; 201 return brandNewOutputs;
203 } 202 }
204 } 203 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698