Fix Windows build directory creation
This commit is contained in:
1 parent
178ed49772
commit
41943a2266
1 file changed
+4
-2
@@ -71,7 +71,8 @@ function Build-Skia {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$outDir = Join-Path $skiaDir "out\win-static-$TargetCpu"
|
$outDir = Join-Path $skiaDir "out\win-static-$TargetCpu"
|
||||||
New-Item -ItemType Directory -Path $outDir, $OutputDir -Force | Out-Null
|
New-Item -ItemType Directory -Path $outDir -Force | Out-Null
|
||||||
|
New-Item -ItemType Directory -Path $OutputDir -Force | Out-Null
|
||||||
@"
|
@"
|
||||||
target_os = "win"
|
target_os = "win"
|
||||||
target_cpu = "$TargetCpu"
|
target_cpu = "$TargetCpu"
|
||||||
@@ -168,7 +169,8 @@ angle_enable_wgpu = false
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
New-Item -ItemType Directory -Path $WorkDir, $OutputDir -Force | Out-Null
|
New-Item -ItemType Directory -Path $WorkDir -Force | Out-Null
|
||||||
|
New-Item -ItemType Directory -Path $OutputDir -Force | Out-Null
|
||||||
switch ($Target) {
|
switch ($Target) {
|
||||||
"skia" { Build-Skia }
|
"skia" { Build-Skia }
|
||||||
"angle" { Build-Angle }
|
"angle" { Build-Angle }
|
||||||
|
|||||||
Reference in new issue
Block a user