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

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

Issue 2640063002: Fix android precompilation builders after testing script refactoring (Closed)
Patch Set: Created 3 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/testing/dart/compiler_configuration.dart ('k') | 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) 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 'dart:io' show Directory, File; 7 import 'dart:io' show Directory, File;
8 8
9 import 'compiler_configuration.dart' show CommandArtifact; 9 import 'compiler_configuration.dart' show CommandArtifact;
10 10
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
282 282
283 return <Command>[ 283 return <Command>[
284 commandBuilder.getVmCommand(suite.dartPrecompiledBinaryFileName, 284 commandBuilder.getVmCommand(suite.dartPrecompiledBinaryFileName,
285 arguments, environmentOverrides) 285 arguments, environmentOverrides)
286 ]; 286 ];
287 } 287 }
288 } 288 }
289 289
290 class DartPrecompiledAdbRuntimeConfiguration 290 class DartPrecompiledAdbRuntimeConfiguration
291 extends DartVmRuntimeConfiguration { 291 extends DartVmRuntimeConfiguration {
292 static const String DeviceDir =
293 '/data/local/tmp/precompilation-testing';
294 static const String DeviceTestDir =
295 '/data/local/tmp/precompilation-testing/test';
296
292 final bool useBlobs; 297 final bool useBlobs;
293 DartPrecompiledAdbRuntimeConfiguration({bool useBlobs}) : useBlobs = useBlobs; 298 DartPrecompiledAdbRuntimeConfiguration({bool useBlobs}) : useBlobs = useBlobs;
294 299
295 List<Command> computeRuntimeCommands( 300 List<Command> computeRuntimeCommands(
296 TestSuite suite, 301 TestSuite suite,
297 CommandBuilder commandBuilder, 302 CommandBuilder commandBuilder,
298 CommandArtifact artifact, 303 CommandArtifact artifact,
299 List<String> arguments, 304 List<String> arguments,
300 Map<String, String> environmentOverrides) { 305 Map<String, String> environmentOverrides) {
301 String script = artifact.filename; 306 String script = artifact.filename;
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after
356 class DummyRuntimeConfiguration extends DartVmRuntimeConfiguration { 361 class DummyRuntimeConfiguration extends DartVmRuntimeConfiguration {
357 List<Command> computeRuntimeCommands( 362 List<Command> computeRuntimeCommands(
358 TestSuite suite, 363 TestSuite suite,
359 CommandBuilder commandBuilder, 364 CommandBuilder commandBuilder,
360 CommandArtifact artifact, 365 CommandArtifact artifact,
361 List<String> arguments, 366 List<String> arguments,
362 Map<String, String> environmentOverrides) { 367 Map<String, String> environmentOverrides) {
363 throw "Unimplemented runtime '$runtimeType'"; 368 throw "Unimplemented runtime '$runtimeType'";
364 } 369 }
365 } 370 }
OLDNEW
« no previous file with comments | « tools/testing/dart/compiler_configuration.dart ('k') | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698