| 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 | 7 import 'dart:io' show |
| 8 Platform; | 8 Platform; |
| 9 | 9 |
| 10 import 'runtime_configuration.dart' show | 10 import 'runtime_configuration.dart' show |
| (...skipping 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 '$tempDir', | 347 '$tempDir', |
| 348 'application/dart-precompiled'); | 348 'application/dart-precompiled'); |
| 349 } | 349 } |
| 350 | 350 |
| 351 CompilationCommand computeCompilationCommand( | 351 CompilationCommand computeCompilationCommand( |
| 352 String tempDir, | 352 String tempDir, |
| 353 String buildDir, | 353 String buildDir, |
| 354 CommandBuilder commandBuilder, | 354 CommandBuilder commandBuilder, |
| 355 List arguments, | 355 List arguments, |
| 356 Map<String, String> environmentOverrides) { | 356 Map<String, String> environmentOverrides) { |
| 357 var exec = "$buildDir/dart_no_snapshot"; | 357 var exec = "$buildDir/dart_bootstrap"; |
| 358 var args = new List(); | 358 var args = new List(); |
| 359 args.add("--gen-precompiled-snapshot=$tempDir"); | 359 args.add("--gen-precompiled-snapshot=$tempDir"); |
| 360 args.addAll(arguments); | 360 args.addAll(arguments); |
| 361 | 361 |
| 362 return commandBuilder.getCompilationCommand( | 362 return commandBuilder.getCompilationCommand( |
| 363 'precompiler', tempDir, !useSdk, | 363 'precompiler', tempDir, !useSdk, |
| 364 bootstrapDependencies(buildDir), | 364 bootstrapDependencies(buildDir), |
| 365 exec, args, environmentOverrides); | 365 exec, args, environmentOverrides); |
| 366 } | 366 } |
| 367 | 367 |
| (...skipping 251 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 619 RuntimeConfiguration runtimeConfiguration, | 619 RuntimeConfiguration runtimeConfiguration, |
| 620 String buildDir, | 620 String buildDir, |
| 621 TestInformation info, | 621 TestInformation info, |
| 622 List<String> vmOptions, | 622 List<String> vmOptions, |
| 623 List<String> sharedOptions, | 623 List<String> sharedOptions, |
| 624 List<String> originalArguments, | 624 List<String> originalArguments, |
| 625 CommandArtifact artifact) { | 625 CommandArtifact artifact) { |
| 626 return <String>[]; | 626 return <String>[]; |
| 627 } | 627 } |
| 628 } | 628 } |
| OLD | NEW |