| OLD | NEW |
| 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 Loading... |
| 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 Loading... |
| 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 } |
| OLD | NEW |