| 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 EventSink, 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 'apiimpl.dart'; | 14 import 'commandline_options.dart'; |
| 15 import 'common/names.dart' show Uris; | 15 import 'common/names.dart' show Uris; |
| 16 import 'commandline_options.dart'; | |
| 17 import 'filenames.dart'; | 16 import 'filenames.dart'; |
| 18 import 'io/source_file.dart'; | 17 import 'io/source_file.dart'; |
| 19 import 'null_compiler_output.dart'; | 18 import 'null_compiler_output.dart'; |
| 20 import 'options.dart' show CompilerOptions; | 19 import 'options.dart' show CompilerOptions; |
| 21 import 'source_file_provider.dart'; | 20 import 'source_file_provider.dart'; |
| 22 import 'util/command_line.dart'; | 21 import 'util/command_line.dart'; |
| 23 import 'util/uri_extras.dart'; | 22 import 'util/uri_extras.dart'; |
| 24 import 'util/util.dart' show stackTraceFilePrefix; | 23 import 'util/util.dart' show stackTraceFilePrefix; |
| 25 | 24 |
| 26 const String LIBRARY_ROOT = '../../../../../sdk'; | 25 const String LIBRARY_ROOT = '../../../../../sdk'; |
| (...skipping 968 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 995 @override | 994 @override |
| 996 void close() { | 995 void close() { |
| 997 // Do nothing. | 996 // Do nothing. |
| 998 } | 997 } |
| 999 | 998 |
| 1000 @override | 999 @override |
| 1001 void addError(errorEvent, [StackTrace stackTrace]) { | 1000 void addError(errorEvent, [StackTrace stackTrace]) { |
| 1002 // Ignore | 1001 // Ignore |
| 1003 } | 1002 } |
| 1004 } | 1003 } |
| OLD | NEW |