mirror of
https://github.com/dart-lang/sdk
synced 2024-09-20 08:26:53 +00:00
Fix test.dart path arguments to DDC on Windows (hopefully). (#30130)
This commit is contained in:
parent
def1ee6604
commit
b1ae919390
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue