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

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

Issue 2858623002: Remove MIPS support (Closed)
Patch Set: Merge and cleanup 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 | « tools/testing/dart/options.dart ('k') | tools/testing/dart/status_reporter.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) 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 import 'dart:io'; 5 import 'dart:io';
6 6
7 import 'command.dart'; 7 import 'command.dart';
8 import 'compiler_configuration.dart'; 8 import 'compiler_configuration.dart';
9 import 'configuration.dart'; 9 import 'configuration.dart';
10 // TODO(ahe): Remove this import, we can precompute all the values required 10 // TODO(ahe): Remove this import, we can precompute all the values required
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after
174 Architecture arch}) { 174 Architecture arch}) {
175 var multiplier = 1; 175 var multiplier = 1;
176 176
177 switch (arch) { 177 switch (arch) {
178 case Architecture.simarm: 178 case Architecture.simarm:
179 case Architecture.arm: 179 case Architecture.arm:
180 case Architecture.simarmv6: 180 case Architecture.simarmv6:
181 case Architecture.armv6: 181 case Architecture.armv6:
182 case Architecture.simarmv5te: 182 case Architecture.simarmv5te:
183 case Architecture.armv5te: 183 case Architecture.armv5te:
184 case Architecture.simmips:
185 case Architecture.mips:
186 case Architecture.simarm64: 184 case Architecture.simarm64:
187 case Architecture.simdbc: 185 case Architecture.simdbc:
188 case Architecture.simdbc64: 186 case Architecture.simdbc64:
189 multiplier *= 4; 187 multiplier *= 4;
190 break; 188 break;
191 } 189 }
192 190
193 if (mode.isDebug) { 191 if (mode.isDebug) {
194 multiplier *= 2; 192 multiplier *= 2;
195 if (isReload) { 193 if (isReload) {
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
346 // TODO(ahe): Remove this class. 344 // TODO(ahe): Remove this class.
347 class DummyRuntimeConfiguration extends DartVmRuntimeConfiguration { 345 class DummyRuntimeConfiguration extends DartVmRuntimeConfiguration {
348 List<Command> computeRuntimeCommands( 346 List<Command> computeRuntimeCommands(
349 TestSuite suite, 347 TestSuite suite,
350 CommandArtifact artifact, 348 CommandArtifact artifact,
351 List<String> arguments, 349 List<String> arguments,
352 Map<String, String> environmentOverrides) { 350 Map<String, String> environmentOverrides) {
353 throw "Unimplemented runtime '$runtimeType'"; 351 throw "Unimplemented runtime '$runtimeType'";
354 } 352 }
355 } 353 }
OLDNEW
« no previous file with comments | « tools/testing/dart/options.dart ('k') | tools/testing/dart/status_reporter.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698