Fix test.dart path arguments to DDC on Windows (hopefully). (#30130)

This commit is contained in:
Bob Nystrom 2017-07-10 14:47:37 -07:00 committed by GitHub
parent def1ee6604
commit b1ae919390

View file

@ -367,13 +367,13 @@ class DartdevcCompilerConfiguration extends CompilerConfiguration {
Command createCommand(String inputFile, String outputFile) {
var moduleRoot =
new Path(outputFile).directoryPath.directoryPath.toString();
new Path(outputFile).directoryPath.directoryPath.toNativePath();
var args = [
"--dart-sdk",
"${_configuration.buildDirectory}/dart-sdk",
"--library-root",
new Path(inputFile).directoryPath.toString(),
new Path(inputFile).directoryPath.toNativePath(),
"--module-root",
moduleRoot,
"--no-summarize",