Skip to content

Commit f8eff8b

Browse files
committed
build.ps1: allow building without the legacy SDK
Update the installer build to exclude the legacy SDK content from packaging. This prepares us to remove the legacy SDK entirely from the build.
1 parent b1f37f6 commit f8eff8b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

utils/build.ps1

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3902,6 +3902,7 @@ function Build-Installer([Hashtable] $Platform) {
39023902
$Properties = @{
39033903
BundleFlavor = "offline";
39043904
ImageRoot = "$(Get-InstallDir $Platform)\";
3905+
IncludeLegacySDK = if ($HostPlatform.DefaultSDK -match "Experimental") { "False" } else { "True" };
39053906
INCLUDE_SWIFT_DOCC = $INCLUDE_SWIFT_DOCC;
39063907
SWIFT_DOCC_BUILD = "$(Get-ProjectBinaryCache $HostPlatform DocC)\release";
39073908
SWIFT_DOCC_RENDER_ARTIFACT_ROOT = "${SourceCache}\swift-docc-render-artifact";

0 commit comments

Comments
 (0)