OLD | NEW |
1 // Copyright (c) 2012, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2012, 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 /** This library is deprecated. Please use `builder.dart` instead. */ | 5 /** This library is deprecated. Please use `builder.dart` instead. */ |
6 @deprecated | 6 @deprecated |
7 library build_utils; | 7 library build_utils; |
8 | 8 |
| 9 import 'dart:async'; |
9 import 'package:meta/meta.dart'; | 10 import 'package:meta/meta.dart'; |
10 | 11 |
11 import 'builder.dart' as builder; | 12 import 'builder.dart' as builder; |
12 | 13 |
13 /** | 14 /** |
14 * This function is deprecated. Please use `build` from `builder.dart` | 15 * This function is deprecated. Please use `build` from `builder.dart` |
15 * instead. | 16 * instead. |
16 */ | 17 */ |
17 @deprecated | 18 @deprecated |
18 Future build(List<String> arguments, List<String> entryPoints, | 19 Future build(List<String> arguments, List<String> entryPoints, |
19 {bool printTime: true, bool shouldPrint: true}) { | 20 {bool printTime: true, bool shouldPrint: true}) { |
20 return builder.build( | 21 return builder.build( |
21 entryPoints: entryPoints, options: parseOptions(arguments)); | 22 entryPoints: entryPoints, options: builder.parseOptions(arguments)); |
22 } | 23 } |
OLD | NEW |