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

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

Issue 2623283004: Update the test harness to GN's location for the host's dart_bootstrap. (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 | « 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 Platform; 7 import 'dart:io' show Platform;
8 8
9 import 'runtime_configuration.dart' show RuntimeConfiguration; 9 import 'runtime_configuration.dart' show RuntimeConfiguration;
10 10
(...skipping 547 matching lines...) Expand 10 before | Expand all | Expand 10 after
558 } 558 }
559 return new CommandArtifact(commands, '$tempDir', 'application/dart-precompil ed'); 559 return new CommandArtifact(commands, '$tempDir', 'application/dart-precompil ed');
560 } 560 }
561 561
562 CompilationCommand computeCompilationCommand( 562 CompilationCommand computeCompilationCommand(
563 String tempDir, 563 String tempDir,
564 String buildDir, 564 String buildDir,
565 CommandBuilder commandBuilder, 565 CommandBuilder commandBuilder,
566 List arguments, 566 List arguments,
567 Map<String, String> environmentOverrides) { 567 Map<String, String> environmentOverrides) {
568 var exec = "$buildDir/dart_bootstrap"; 568 var exec;
569 if (isAndroid && arch == 'arm') {
570 exec = "$buildDir/clang_x86/dart_bootstrap";
571 } else {
572 exec = "$buildDir/dart_bootstrap";
573 }
569 var args = new List(); 574 var args = new List();
570 args.add("--snapshot-kind=app-aot"); 575 args.add("--snapshot-kind=app-aot");
571 if (useBlobs) { 576 if (useBlobs) {
572 args.add("--snapshot=$tempDir/out.aotsnapshot"); 577 args.add("--snapshot=$tempDir/out.aotsnapshot");
573 args.add("--use-blobs"); 578 args.add("--use-blobs");
574 } else { 579 } else {
575 args.add("--snapshot=$tempDir/out.S"); 580 args.add("--snapshot=$tempDir/out.S");
576 } 581 }
577 if (isAndroid && arch == 'arm') { 582 if (isAndroid && arch == 'arm') {
578 args.add('--no-sim-use-hardfp'); 583 args.add('--no-sim-use-hardfp');
(...skipping 264 matching lines...) Expand 10 before | Expand all | Expand 10 after
843 RuntimeConfiguration runtimeConfiguration, 848 RuntimeConfiguration runtimeConfiguration,
844 String buildDir, 849 String buildDir,
845 TestInformation info, 850 TestInformation info,
846 List<String> vmOptions, 851 List<String> vmOptions,
847 List<String> sharedOptions, 852 List<String> sharedOptions,
848 List<String> originalArguments, 853 List<String> originalArguments,
849 CommandArtifact artifact) { 854 CommandArtifact artifact) {
850 return <String>[]; 855 return <String>[];
851 } 856 }
852 } 857 }
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