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

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

Issue 2665753002: Reapply "Create an app snapshot of the Dart front end." (Closed)
Patch Set: merge Created 3 years, 10 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/vm/kernel_isolate.cc ('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 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 import 'runtime_configuration.dart' show DartPrecompiledAdbRuntimeConfiguration; 10 import 'runtime_configuration.dart' show DartPrecompiledAdbRuntimeConfiguration;
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after
216 List<String> computeRuntimeArguments( 216 List<String> computeRuntimeArguments(
217 RuntimeConfiguration runtimeConfiguration, 217 RuntimeConfiguration runtimeConfiguration,
218 String buildDir, 218 String buildDir,
219 TestInformation info, 219 TestInformation info,
220 List<String> vmOptions, 220 List<String> vmOptions,
221 List<String> sharedOptions, 221 List<String> sharedOptions,
222 List<String> originalArguments, 222 List<String> originalArguments,
223 CommandArtifact artifact) { 223 CommandArtifact artifact) {
224 List<String> args = []; 224 List<String> args = [];
225 if (useDFEIsolate) { 225 if (useDFEIsolate) {
226 args.add('--dfe=runtime/tools/kernel-service.dart'); 226 args.add('--dfe=utils/kernel-service/kernel-service.dart');
227 } 227 }
228 if (isChecked) { 228 if (isChecked) {
229 args.add('--enable_asserts'); 229 args.add('--enable_asserts');
230 args.add('--enable_type_checks'); 230 args.add('--enable_type_checks');
231 } 231 }
232 if (hotReload) { 232 if (hotReload) {
233 args.add('--hot-reload-test-mode'); 233 args.add('--hot-reload-test-mode');
234 } else if (hotReloadRollback) { 234 } else if (hotReloadRollback) {
235 args.add('--hot-reload-rollback-test-mode'); 235 args.add('--hot-reload-rollback-test-mode');
236 } 236 }
(...skipping 677 matching lines...) Expand 10 before | Expand all | Expand 10 after
914 RuntimeConfiguration runtimeConfiguration, 914 RuntimeConfiguration runtimeConfiguration,
915 String buildDir, 915 String buildDir,
916 TestInformation info, 916 TestInformation info,
917 List<String> vmOptions, 917 List<String> vmOptions,
918 List<String> sharedOptions, 918 List<String> sharedOptions,
919 List<String> originalArguments, 919 List<String> originalArguments,
920 CommandArtifact artifact) { 920 CommandArtifact artifact) {
921 return <String>[]; 921 return <String>[];
922 } 922 }
923 } 923 }
OLDNEW
« no previous file with comments | « runtime/vm/kernel_isolate.cc ('k') | tools/testing/dart/test_runner.dart » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698