| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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 pub.asset.serialize.aggregate_transform; | |
| 6 | |
| 7 import 'dart:async'; | 5 import 'dart:async'; |
| 8 import 'dart:isolate'; | 6 import 'dart:isolate'; |
| 9 | 7 |
| 10 import 'package:barback/barback.dart'; | 8 import 'package:barback/barback.dart'; |
| 11 // TODO(nweiz): don't import from "src" once issue 14966 is fixed. | 9 // TODO(nweiz): don't import from "src" once issue 14966 is fixed. |
| 12 import 'package:barback/src/internal_asset.dart'; | 10 import 'package:barback/src/internal_asset.dart'; |
| 13 | 11 |
| 14 import '../serialize.dart'; | 12 import '../serialize.dart'; |
| 15 import 'get_input_transform.dart'; | 13 import 'get_input_transform.dart'; |
| 16 | 14 |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 161 transform['primaryIds'], deserializeId), | 159 transform['primaryIds'], deserializeId), |
| 162 super(transform); | 160 super(transform); |
| 163 | 161 |
| 164 void declareOutput(AssetId id) { | 162 void declareOutput(AssetId id) { |
| 165 call(_port, { | 163 call(_port, { |
| 166 'type': 'declareOutput', | 164 'type': 'declareOutput', |
| 167 'output': serializeId(id) | 165 'output': serializeId(id) |
| 168 }); | 166 }); |
| 169 } | 167 } |
| 170 } | 168 } |
| OLD | NEW |