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

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

Issue 25376003: Add support for transformer clusters to barback. (Closed) Base URL: https://dart.googlecode.com/svn/branches/bleeding_edge/dart
Patch Set: More code reivew changes Created 7 years, 2 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
« no previous file with comments | « pkg/barback/lib/src/asset_node.dart ('k') | pkg/barback/lib/src/group_runner.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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.barback; 5 library barback.barback;
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';
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
95 /// 95 ///
96 /// If a build is currently in progress, waits until it completes. The 96 /// If a build is currently in progress, waits until it completes. The
97 /// returned future will complete with a [BarbackException] if the build is 97 /// returned future will complete with a [BarbackException] if the build is
98 /// not successful. 98 /// not successful.
99 Future<AssetSet> getAllAssets() => _graph.getAllAssets(); 99 Future<AssetSet> getAllAssets() => _graph.getAllAssets();
100 100
101 /// Sets the transformer phases for [package]'s assets to [transformers]. 101 /// Sets the transformer phases for [package]'s assets to [transformers].
102 /// 102 ///
103 /// To the extent that [transformers] is similar to the previous transformer 103 /// To the extent that [transformers] is similar to the previous transformer
104 /// phases for [package], the existing asset graph will be preserved. 104 /// phases for [package], the existing asset graph will be preserved.
105 ///
106 /// Elements of the inner iterable of [transformers] must be either
107 /// [Transformer]s or [TransformerGroup]s.
105 void updateTransformers(String package, 108 void updateTransformers(String package,
106 Iterable<Iterable<Transformer>> transformers) => 109 Iterable<Iterable> transformers) =>
107 _graph.updateTransformers(package, transformers); 110 _graph.updateTransformers(package, transformers);
108 } 111 }
OLDNEW
« no previous file with comments | « pkg/barback/lib/src/asset_node.dart ('k') | pkg/barback/lib/src/group_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698