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

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

Issue 1808853006: Use the correct binary name for testing product mode. (Closed) Base URL: git@github.com:dart-lang/sdk.git@master
Patch Set: Created 4 years, 9 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 | no next file » | 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 compiler_configuration; 5 library compiler_configuration;
6 6
7 import 'dart:io' show 7 import 'dart:io' show
8 Platform; 8 Platform;
9 9
10 import 'runtime_configuration.dart' show 10 import 'runtime_configuration.dart' show
(...skipping 499 matching lines...) Expand 10 before | Expand all | Expand 10 after
510 var randName = TestUtils.getRandomNumber().toString(); 510 var randName = TestUtils.getRandomNumber().toString();
511 return '$tempDir/test.$randName'; 511 return '$tempDir/test.$randName';
512 } 512 }
513 513
514 CompilationCommand computeCompilationCommand( 514 CompilationCommand computeCompilationCommand(
515 String outputName, 515 String outputName,
516 String buildDir, 516 String buildDir,
517 CommandBuilder commandBuilder, 517 CommandBuilder commandBuilder,
518 List arguments, 518 List arguments,
519 Map<String, String> environmentOverrides) { 519 Map<String, String> environmentOverrides) {
520 var exec = "$buildDir/dart_no_snapshot"; 520 var exec = "$buildDir/dart_bootstrap";
521 var args = new List(); 521 var args = new List();
522 args.add("--full-snapshot-after-run=$outputName"); 522 args.add("--full-snapshot-after-run=$outputName");
523 args.addAll(arguments); 523 args.addAll(arguments);
524 524
525 return commandBuilder.getCompilationCommand( 525 return commandBuilder.getCompilationCommand(
526 'dart2snapshot', outputName, !useSdk, 526 'dart2snapshot', outputName, !useSdk,
527 bootstrapDependencies(buildDir), 527 bootstrapDependencies(buildDir),
528 exec, args, environmentOverrides); 528 exec, args, environmentOverrides);
529 } 529 }
530 530
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after
619 RuntimeConfiguration runtimeConfiguration, 619 RuntimeConfiguration runtimeConfiguration,
620 String buildDir, 620 String buildDir,
621 TestInformation info, 621 TestInformation info,
622 List<String> vmOptions, 622 List<String> vmOptions,
623 List<String> sharedOptions, 623 List<String> sharedOptions,
624 List<String> originalArguments, 624 List<String> originalArguments,
625 CommandArtifact artifact) { 625 CommandArtifact artifact) {
626 return <String>[]; 626 return <String>[];
627 } 627 }
628 } 628 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698