| OLD | NEW |
| 1 // Copyright (c) 2014, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2014, 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.profile_many; | 5 library dart2js.profile_many; |
| 6 | 6 |
| 7 import 'dart2js.dart' as cmdline; | 7 import 'dart2js.dart' as cmdline; |
| 8 import 'dart:async'; | 8 import 'dart:async'; |
| 9 | 9 |
| 10 const String USAGE = | 10 const String USAGE = |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 List subargs = []; | 45 List subargs = []; |
| 46 subargs.addAll(options); | 46 subargs.addAll(options); |
| 47 subargs.add(file); | 47 subargs.add(file); |
| 48 return cmdline.compilerMain(subargs).catchError((e) { }); | 48 return cmdline.compilerMain(subargs).catchError((e) { }); |
| 49 }).then((_) { | 49 }).then((_) { |
| 50 print("Done"); | 50 print("Done"); |
| 51 }); | 51 }); |
| 52 | 52 |
| 53 | 53 |
| 54 } | 54 } |
| OLD | NEW |