| 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 show Future, EventSink; | 8 show Future, EventSink; |
| 9 import 'dart:convert' show UTF8, LineSplitter; | 9 import 'dart:convert' show UTF8, LineSplitter; |
| 10 import 'dart:io' | 10 import 'dart:io' |
| (...skipping 570 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 581 --throw-on-error | 581 --throw-on-error |
| 582 Throw an exception if a compile-time error is detected. | 582 Throw an exception if a compile-time error is detected. |
| 583 | 583 |
| 584 --library-root=<directory> | 584 --library-root=<directory> |
| 585 Where to find the Dart platform libraries. | 585 Where to find the Dart platform libraries. |
| 586 | 586 |
| 587 --allow-mock-compilation | 587 --allow-mock-compilation |
| 588 Do not generate a call to main if either of the following | 588 Do not generate a call to main if either of the following |
| 589 libraries are used: dart:dom, dart:html dart:io. | 589 libraries are used: dart:dom, dart:html dart:io. |
| 590 | 590 |
| 591 --enable-concrete-type-inference | |
| 592 Enable experimental concrete type inference. | |
| 593 | |
| 594 --disable-native-live-type-analysis | 591 --disable-native-live-type-analysis |
| 595 Disable the optimization that removes unused native types from dart:html | 592 Disable the optimization that removes unused native types from dart:html |
| 596 and related libraries. | 593 and related libraries. |
| 597 | 594 |
| 598 --categories=<categories> | 595 --categories=<categories> |
| 599 A comma separated list of allowed library categories. The default | 596 A comma separated list of allowed library categories. The default |
| 600 is "Client". Possible categories can be seen by providing an | 597 is "Client". Possible categories can be seen by providing an |
| 601 unsupported category, for example, --categories=help. To enable | 598 unsupported category, for example, --categories=help. To enable |
| 602 all categories, use --categories=all. | 599 all categories, use --categories=all. |
| 603 | 600 |
| (...skipping 116 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 720 } else if (exitCode == 253) { | 717 } else if (exitCode == 253) { |
| 721 print(">>> TEST CRASH"); | 718 print(">>> TEST CRASH"); |
| 722 } else { | 719 } else { |
| 723 print(">>> TEST FAIL"); | 720 print(">>> TEST FAIL"); |
| 724 } | 721 } |
| 725 stderr.writeln(">>> EOF STDERR"); | 722 stderr.writeln(">>> EOF STDERR"); |
| 726 subscription.resume(); | 723 subscription.resume(); |
| 727 }); | 724 }); |
| 728 }); | 725 }); |
| 729 } | 726 } |
| OLD | NEW |