OLD | NEW |
1 // Copyright (c) 2017, the Dart project authors. Please see the AUTHORS file | 1 // Copyright (c) 2017, 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 import 'dart:async'; | 5 import 'dart:async'; |
6 import 'dart:convert'; | 6 import 'dart:convert'; |
7 import 'dart:io'; | 7 import 'dart:io'; |
8 | 8 |
9 import 'compiler_configuration.dart'; | 9 import 'compiler_configuration.dart'; |
10 import 'http_server.dart'; | 10 import 'http_server.dart'; |
(...skipping 524 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
535 Runtime.chromeOnAndroid, | 535 Runtime.chromeOnAndroid, |
536 Runtime.safariMobileSim | 536 Runtime.safariMobileSim |
537 ]; | 537 ]; |
538 | 538 |
539 case Compiler.dart2js: | 539 case Compiler.dart2js: |
540 case Compiler.dartdevc: | 540 case Compiler.dartdevc: |
541 // TODO(rnystrom): Expand to support other JS execution environments | 541 // TODO(rnystrom): Expand to support other JS execution environments |
542 // (other browsers, d8) when tested and working. | 542 // (other browsers, d8) when tested and working. |
543 return const [ | 543 return const [ |
544 Runtime.none, | 544 Runtime.none, |
| 545 Runtime.drt, |
545 Runtime.chrome, | 546 Runtime.chrome, |
546 ]; | 547 ]; |
547 | 548 |
548 case Compiler.dart2analyzer: | 549 case Compiler.dart2analyzer: |
549 return const [Runtime.none]; | 550 return const [Runtime.none]; |
550 case Compiler.appJit: | 551 case Compiler.appJit: |
551 case Compiler.dartk: | 552 case Compiler.dartk: |
552 return const [Runtime.vm, Runtime.selfCheck]; | 553 return const [Runtime.vm, Runtime.selfCheck]; |
553 case Compiler.precompiler: | 554 case Compiler.precompiler: |
554 case Compiler.dartkp: | 555 case Compiler.dartkp: |
(...skipping 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
751 | 752 |
752 case macos: | 753 case macos: |
753 return 'xcodebuild/'; | 754 return 'xcodebuild/'; |
754 } | 755 } |
755 | 756 |
756 throw "unreachable"; | 757 throw "unreachable"; |
757 } | 758 } |
758 | 759 |
759 String toString() => "System($name)"; | 760 String toString() => "System($name)"; |
760 } | 761 } |
OLD | NEW |