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 | 10 |
(...skipping 210 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
221 } | 221 } |
222 | 222 |
223 CompilationCommand computeCompilationCommand( | 223 CompilationCommand computeCompilationCommand( |
224 String outputFileName, | 224 String outputFileName, |
225 String buildDir, | 225 String buildDir, |
226 CommandBuilder commandBuilder, | 226 CommandBuilder commandBuilder, |
227 List arguments, | 227 List arguments, |
228 Map<String, String> environmentOverrides) { | 228 Map<String, String> environmentOverrides) { |
229 var extraArguments = [ | 229 var extraArguments = [ |
230 '--sdk', | 230 '--sdk', |
231 '$buildDir/obj/gen/patched_sdk', | 231 '$buildDir/patched_sdk', |
232 '--link', | 232 '--link', |
233 '--target=vm', | 233 '--target=vm', |
234 '--out', | 234 '--out', |
235 outputFileName | 235 outputFileName |
236 ]; | 236 ]; |
237 return commandBuilder.getKernelCompilationCommand( | 237 return commandBuilder.getKernelCompilationCommand( |
238 'dartk', | 238 'dartk', |
239 outputFileName, | 239 outputFileName, |
240 true, | 240 true, |
241 bootstrapDependencies(buildDir), | 241 bootstrapDependencies(buildDir), |
(...skipping 586 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
828 RuntimeConfiguration runtimeConfiguration, | 828 RuntimeConfiguration runtimeConfiguration, |
829 String buildDir, | 829 String buildDir, |
830 TestInformation info, | 830 TestInformation info, |
831 List<String> vmOptions, | 831 List<String> vmOptions, |
832 List<String> sharedOptions, | 832 List<String> sharedOptions, |
833 List<String> originalArguments, | 833 List<String> originalArguments, |
834 CommandArtifact artifact) { | 834 CommandArtifact artifact) { |
835 return <String>[]; | 835 return <String>[]; |
836 } | 836 } |
837 } | 837 } |
OLD | NEW |