| 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:io'; | 8 import 'dart:io' |
| 9 show exit, File, FileMode, Options, Platform, RandomAccessFile; |
| 9 import 'dart:math' as math; | 10 import 'dart:math' as math; |
| 10 | 11 |
| 11 import '../compiler.dart' as api; | 12 import '../compiler.dart' as api; |
| 12 import 'source_file.dart'; | 13 import 'source_file.dart'; |
| 13 import 'source_file_provider.dart'; | 14 import 'source_file_provider.dart'; |
| 14 import 'filenames.dart'; | 15 import 'filenames.dart'; |
| 15 import 'util/uri_extras.dart'; | 16 import 'util/uri_extras.dart'; |
| 16 import 'util/util.dart'; | 17 import 'util/util.dart'; |
| 17 import '../../libraries.dart'; | 18 import '../../libraries.dart'; |
| 18 | 19 |
| (...skipping 557 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 576 } | 577 } |
| 577 } finally { | 578 } finally { |
| 578 exit(253); // 253 is recognized as a crash by our test scripts. | 579 exit(253); // 253 is recognized as a crash by our test scripts. |
| 579 } | 580 } |
| 580 }); | 581 }); |
| 581 } | 582 } |
| 582 | 583 |
| 583 void main() { | 584 void main() { |
| 584 mainWithErrorHandler(new Options()); | 585 mainWithErrorHandler(new Options()); |
| 585 } | 586 } |
| OLD | NEW |