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

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

Issue 1624593002: Adds targets for simarmv6 and armv6 (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Add xcode settings for simarmv6 and v5te Created 4 years, 11 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/gyp/configurations_xcode.gypi ('k') | tools/testing/dart/test_options.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 library runtime_configuration; 5 library runtime_configuration;
6 6
7 import 'compiler_configuration.dart' show 7 import 'compiler_configuration.dart' show
8 CommandArtifact; 8 CommandArtifact;
9 9
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 154 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 : super._subclass(); 165 : super._subclass();
166 166
167 int computeTimeoutMultiplier({ 167 int computeTimeoutMultiplier({
168 bool isDebug: false, 168 bool isDebug: false,
169 bool isChecked: false, 169 bool isChecked: false,
170 String arch}) { 170 String arch}) {
171 int multiplier = 1; 171 int multiplier = 1;
172 switch (arch) { 172 switch (arch) {
173 case 'simarm': 173 case 'simarm':
174 case 'arm': 174 case 'arm':
175 case 'simarmv6':
176 case 'armv6':
175 case' simarmv5te': 177 case' simarmv5te':
176 case 'armv5te': 178 case 'armv5te':
177 case 'simmips': 179 case 'simmips':
178 case 'mips': 180 case 'mips':
179 case 'simarm64': 181 case 'simarm64':
180 multiplier *= 4; 182 multiplier *= 4;
181 break; 183 break;
182 } 184 }
183 if (isDebug) { 185 if (isDebug) {
184 multiplier *= 2; 186 multiplier *= 2;
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 class DummyRuntimeConfiguration extends DartVmRuntimeConfiguration { 255 class DummyRuntimeConfiguration extends DartVmRuntimeConfiguration {
254 List<Command> computeRuntimeCommands( 256 List<Command> computeRuntimeCommands(
255 TestSuite suite, 257 TestSuite suite,
256 CommandBuilder commandBuilder, 258 CommandBuilder commandBuilder,
257 CommandArtifact artifact, 259 CommandArtifact artifact,
258 List<String> arguments, 260 List<String> arguments,
259 Map<String, String> environmentOverrides) { 261 Map<String, String> environmentOverrides) {
260 throw "Unimplemented runtime '$runtimeType'"; 262 throw "Unimplemented runtime '$runtimeType'";
261 } 263 }
262 } 264 }
OLDNEW
« no previous file with comments | « tools/gyp/configurations_xcode.gypi ('k') | tools/testing/dart/test_options.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698