Skip to content

Commit 36859c0

Browse files
authored
Merge pull request swiftlang#81734 from compnerd/unification
utils: make unify SDKSettings plist and json
2 parents f91f8c5 + 0d32d8b commit 36859c0

File tree

1 file changed

+1
-9
lines changed

1 file changed

+1
-9
lines changed

utils/build.ps1

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2397,15 +2397,6 @@ function Build-ExperimentalRuntime {
23972397
}
23982398

23992399
function Write-SDKSettings([OS] $OS) {
2400-
$SDKSettings = @{
2401-
DefaultProperties = @{
2402-
}
2403-
}
2404-
if ($OS -eq [OS]::Windows) {
2405-
$SDKSettings.DefaultProperties.DEFAULT_USE_RUNTIME = "MD"
2406-
}
2407-
Write-PList -Settings $SDKSettings -Path "$(Get-SwiftSDK $OS)\SDKSettings.plist"
2408-
24092400
$SDKSettings = @{
24102401
CanonicalName = $OS.ToString().ToLowerInvariant()
24112402
DisplayName = $OS.ToString()
@@ -2442,6 +2433,7 @@ function Write-SDKSettings([OS] $OS) {
24422433
}
24432434
}
24442435
$SDKSettings | ConvertTo-JSON -Depth 4 | Out-FIle -FilePath "$(Get-SwiftSDK $OS)\SDKSettings.json"
2436+
Write-PList -Settings $SDKSettings -Path "$(Get-SwiftSDK $OS)\SDKSettings.plist"
24452437
}
24462438

24472439
function Build-Dispatch([Hashtable] $Platform) {

0 commit comments

Comments
 (0)