Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(321)

Side by Side Diff: tools/testing/dart/configuration.dart

Issue 2941603002: Don't allow "none" as a runtime for dartk. (Closed)
Patch Set: Merge branch 'master' into dartk-none Created 3 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 508 matching lines...) Expand 10 before | Expand all | Expand 10 after
519 Runtime.ie11, 519 Runtime.ie11,
520 Runtime.opera, 520 Runtime.opera,
521 Runtime.chromeOnAndroid, 521 Runtime.chromeOnAndroid,
522 Runtime.safariMobileSim 522 Runtime.safariMobileSim
523 ]; 523 ];
524 524
525 case Compiler.dart2analyzer: 525 case Compiler.dart2analyzer:
526 return const [Runtime.none]; 526 return const [Runtime.none];
527 case Compiler.appJit: 527 case Compiler.appJit:
528 case Compiler.dartk: 528 case Compiler.dartk:
529 return const [Runtime.vm, Runtime.selfCheck, Runtime.none]; 529 return const [Runtime.vm, Runtime.selfCheck];
530 case Compiler.precompiler: 530 case Compiler.precompiler:
531 case Compiler.dartkp: 531 case Compiler.dartkp:
532 return const [Runtime.dartPrecompiled]; 532 return const [Runtime.dartPrecompiled];
533 case Compiler.none: 533 case Compiler.none:
534 return const [ 534 return const [
535 Runtime.vm, 535 Runtime.vm,
536 Runtime.flutter, 536 Runtime.flutter,
537 Runtime.drt, 537 Runtime.drt,
538 Runtime.dartium, 538 Runtime.dartium,
539 Runtime.contentShellOnAndroid, 539 Runtime.contentShellOnAndroid,
(...skipping 188 matching lines...) Expand 10 before | Expand all | Expand 10 after
728 728
729 case macos: 729 case macos:
730 return 'xcodebuild/'; 730 return 'xcodebuild/';
731 } 731 }
732 732
733 throw "unreachable"; 733 throw "unreachable";
734 } 734 }
735 735
736 String toString() => "System($name)"; 736 String toString() => "System($name)";
737 } 737 }
OLDNEW
« no previous file with comments | « no previous file | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698