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 'dart:async'; |
10 import 'package:meta/meta.dart'; | |
11 | 10 |
12 import 'builder.dart' as builder; | 11 import 'builder.dart' as builder; |
13 | 12 |
14 /** | 13 /** |
15 * This function is deprecated. Please use `build` from `builder.dart` | 14 * This function is deprecated. Please use `build` from `builder.dart` |
16 * instead. | 15 * instead. |
17 */ | 16 */ |
18 @deprecated | 17 @deprecated |
19 Future build(List<String> arguments, List<String> entryPoints, | 18 Future build(List<String> arguments, List<String> entryPoints, |
20 {bool printTime: true, bool shouldPrint: true}) { | 19 {bool printTime: true, bool shouldPrint: true}) { |
21 return builder.build( | 20 return builder.build( |
22 entryPoints: entryPoints, options: builder.parseOptions(arguments)); | 21 entryPoints: entryPoints, options: builder.parseOptions(arguments)); |
23 } | 22 } |
OLD | NEW |