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

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

Issue 2933203004: Replace the --platform vm option with --kernel-binaries option. (Closed)
Patch Set: s/set_kernel_binaries_directory/SetKernelBinaries 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 | « runtime/bin/main.cc ('k') | 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 import 'dart:io'; 5 import 'dart:io';
6 6
7 import 'command.dart'; 7 import 'command.dart';
8 import 'configuration.dart'; 8 import 'configuration.dart';
9 import 'runtime_configuration.dart'; 9 import 'runtime_configuration.dart';
10 import 'test_suite.dart'; 10 import 'test_suite.dart';
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after
191 RuntimeConfiguration runtimeConfiguration, 191 RuntimeConfiguration runtimeConfiguration,
192 String buildDir, 192 String buildDir,
193 TestInformation info, 193 TestInformation info,
194 List<String> vmOptions, 194 List<String> vmOptions,
195 List<String> sharedOptions, 195 List<String> sharedOptions,
196 List<String> originalArguments, 196 List<String> originalArguments,
197 CommandArtifact artifact) { 197 CommandArtifact artifact) {
198 List<String> args = []; 198 List<String> args = [];
199 if (useDfe) { 199 if (useDfe) {
200 args.add('--dfe=${buildDir}/gen/kernel-service.dart.snapshot'); 200 args.add('--dfe=${buildDir}/gen/kernel-service.dart.snapshot');
201 args.add('--platform=${buildDir}/patched_sdk/platform.dill'); 201 args.add('--kernel-binaries=${buildDir}/patched_sdk');
202 } 202 }
203 if (isChecked) { 203 if (isChecked) {
204 args.add('--enable_asserts'); 204 args.add('--enable_asserts');
205 args.add('--enable_type_checks'); 205 args.add('--enable_type_checks');
206 } 206 }
207 if (hotReload) { 207 if (hotReload) {
208 args.add('--hot-reload-test-mode'); 208 args.add('--hot-reload-test-mode');
209 } else if (hotReloadRollback) { 209 } else if (hotReloadRollback) {
210 args.add('--hot-reload-rollback-test-mode'); 210 args.add('--hot-reload-rollback-test-mode');
211 } 211 }
(...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after
601 exec = "$buildDir/clang_x86/dart_bootstrap"; 601 exec = "$buildDir/clang_x86/dart_bootstrap";
602 } else if (arch == Architecture.arm64) { 602 } else if (arch == Architecture.arm64) {
603 exec = "$buildDir/clang_x64/dart_bootstrap"; 603 exec = "$buildDir/clang_x64/dart_bootstrap";
604 } 604 }
605 } else { 605 } else {
606 exec = "$buildDir/dart_bootstrap"; 606 exec = "$buildDir/dart_bootstrap";
607 } 607 }
608 var args = <String>[]; 608 var args = <String>[];
609 if (useDfe) { 609 if (useDfe) {
610 args.add('--dfe=utils/kernel-service/kernel-service.dart'); 610 args.add('--dfe=utils/kernel-service/kernel-service.dart');
611 args.add('--platform=${buildDir}/patched_sdk/platform.dill'); 611 args.add('--kernel-binaries=${buildDir}/patched_sdk');
612 } 612 }
613 args.add("--snapshot-kind=app-aot"); 613 args.add("--snapshot-kind=app-aot");
614 if (useBlobs) { 614 if (useBlobs) {
615 args.add("--snapshot=$tempDir/out.aotsnapshot"); 615 args.add("--snapshot=$tempDir/out.aotsnapshot");
616 args.add("--use-blobs"); 616 args.add("--use-blobs");
617 } else { 617 } else {
618 args.add("--snapshot=$tempDir/out.S"); 618 args.add("--snapshot=$tempDir/out.S");
619 } 619 }
620 if (isAndroid && arch == Architecture.arm) { 620 if (isAndroid && arch == Architecture.arm) {
621 args.add('--no-sim-use-hardfp'); 621 args.add('--no-sim-use-hardfp');
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after
877 RuntimeConfiguration runtimeConfiguration, 877 RuntimeConfiguration runtimeConfiguration,
878 String buildDir, 878 String buildDir,
879 TestInformation info, 879 TestInformation info,
880 List<String> vmOptions, 880 List<String> vmOptions,
881 List<String> sharedOptions, 881 List<String> sharedOptions,
882 List<String> originalArguments, 882 List<String> originalArguments,
883 CommandArtifact artifact) { 883 CommandArtifact artifact) {
884 return <String>[]; 884 return <String>[];
885 } 885 }
886 } 886 }
OLDNEW
« no previous file with comments | « runtime/bin/main.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698