| OLD | NEW |
| 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 dart2js.cmdline; | 5 library dart2js.cmdline; |
| 6 | 6 |
| 7 import 'dart:async' show EventSink, Future; | 7 import 'dart:async' show Future; |
| 8 import 'dart:convert' show UTF8, LineSplitter; | 8 import 'dart:convert' show UTF8, LineSplitter; |
| 9 import 'dart:io' show exit, File, FileMode, Platform, stdin, stderr; | 9 import 'dart:io' show exit, File, FileMode, Platform, stdin, stderr; |
| 10 | 10 |
| 11 import 'package:package_config/discovery.dart' show findPackages; | 11 import 'package:package_config/discovery.dart' show findPackages; |
| 12 | 12 |
| 13 import '../compiler_new.dart' as api; | 13 import '../compiler_new.dart' as api; |
| 14 import 'commandline_options.dart'; | 14 import 'commandline_options.dart'; |
| 15 import 'common/names.dart' show Uris; | 15 import 'common/names.dart' show Uris; |
| 16 import 'filenames.dart'; | 16 import 'filenames.dart'; |
| 17 import 'io/source_file.dart'; | 17 import 'io/source_file.dart'; |
| (...skipping 1019 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1037 @override | 1037 @override |
| 1038 void add(String event) { | 1038 void add(String event) { |
| 1039 sb.write(event); | 1039 sb.write(event); |
| 1040 } | 1040 } |
| 1041 | 1041 |
| 1042 @override | 1042 @override |
| 1043 void close() { | 1043 void close() { |
| 1044 // Do nothing. | 1044 // Do nothing. |
| 1045 } | 1045 } |
| 1046 } | 1046 } |
| OLD | NEW |