| 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 195 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 List<String> computeRuntimeArguments( | 206 List<String> computeRuntimeArguments( |
| 207 RuntimeConfiguration runtimeConfiguration, | 207 RuntimeConfiguration runtimeConfiguration, |
| 208 String buildDir, | 208 String buildDir, |
| 209 TestInformation info, | 209 TestInformation info, |
| 210 List<String> vmOptions, | 210 List<String> vmOptions, |
| 211 List<String> sharedOptions, | 211 List<String> sharedOptions, |
| 212 List<String> originalArguments, | 212 List<String> originalArguments, |
| 213 CommandArtifact artifact) { | 213 CommandArtifact artifact) { |
| 214 List<String> args = []; | 214 List<String> args = []; |
| 215 if (useDFE) { | 215 if (useDFE) { |
| 216 args.add('--dfe=utils/kernel-service/kernel-service.dart'); | 216 args.add('--dfe=${buildDir}/gen/kernel-service.dart.snapshot'); |
| 217 } | 217 } |
| 218 if (isChecked) { | 218 if (isChecked) { |
| 219 args.add('--enable_asserts'); | 219 args.add('--enable_asserts'); |
| 220 args.add('--enable_type_checks'); | 220 args.add('--enable_type_checks'); |
| 221 } | 221 } |
| 222 if (hotReload) { | 222 if (hotReload) { |
| 223 args.add('--hot-reload-test-mode'); | 223 args.add('--hot-reload-test-mode'); |
| 224 } else if (hotReloadRollback) { | 224 } else if (hotReloadRollback) { |
| 225 args.add('--hot-reload-rollback-test-mode'); | 225 args.add('--hot-reload-rollback-test-mode'); |
| 226 } | 226 } |
| (...skipping 684 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 911 RuntimeConfiguration runtimeConfiguration, | 911 RuntimeConfiguration runtimeConfiguration, |
| 912 String buildDir, | 912 String buildDir, |
| 913 TestInformation info, | 913 TestInformation info, |
| 914 List<String> vmOptions, | 914 List<String> vmOptions, |
| 915 List<String> sharedOptions, | 915 List<String> sharedOptions, |
| 916 List<String> originalArguments, | 916 List<String> originalArguments, |
| 917 CommandArtifact artifact) { | 917 CommandArtifact artifact) { |
| 918 return <String>[]; | 918 return <String>[]; |
| 919 } | 919 } |
| 920 } | 920 } |
| OLD | NEW |