| 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'; | 7 import 'dart:async'; |
| 8 import 'dart:collection' show Queue, LinkedHashMap; | 8 import 'dart:collection' show Queue, LinkedHashMap; |
| 9 import 'dart:io'; | 9 import 'dart:io'; |
| 10 import 'dart:uri'; | |
| 11 import 'dart:utf'; | 10 import 'dart:utf'; |
| 12 | 11 |
| 13 import '../compiler.dart' as api; | 12 import '../compiler.dart' as api; |
| 14 import 'source_file.dart'; | 13 import 'source_file.dart'; |
| 15 import 'source_file_provider.dart'; | 14 import 'source_file_provider.dart'; |
| 16 import 'filenames.dart'; | 15 import 'filenames.dart'; |
| 17 import 'util/uri_extras.dart'; | 16 import 'util/uri_extras.dart'; |
| 18 import '../../libraries.dart'; | 17 import '../../libraries.dart'; |
| 19 | 18 |
| 20 const String LIBRARY_ROOT = '../../../../..'; | 19 const String LIBRARY_ROOT = '../../../../..'; |
| (...skipping 495 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 516 print(trace); | 515 print(trace); |
| 517 } finally { | 516 } finally { |
| 518 exit(253); // 253 is recognized as a crash by our test scripts. | 517 exit(253); // 253 is recognized as a crash by our test scripts. |
| 519 } | 518 } |
| 520 } | 519 } |
| 521 } | 520 } |
| 522 | 521 |
| 523 void main() { | 522 void main() { |
| 524 mainWithErrorHandler(new Options()); | 523 mainWithErrorHandler(new Options()); |
| 525 } | 524 } |
| OLD | NEW |