Skip to content

Commit b2514de

Browse files
jmschonfeldparkera
authored andcommitted
_FoundationCollections is named by ArchArchDir not ArchTriple
(cherry picked from commit 251247b)
1 parent 9fc27b2 commit b2514de

File tree

1 file changed

+45
-7
lines changed

1 file changed

+45
-7
lines changed

platforms/Windows/sdk/sdk.wxs

Lines changed: 45 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<?xml version="1.0" encoding="utf-8"?>
1+
<?xml version="1.0" encoding="utf-8"?>
22
<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs">
33

44
<?if $(ProductArchitecture) = "amd64"?>
@@ -335,12 +335,45 @@
335335
</Component>
336336
</ComponentGroup>
337337

338+
<ComponentGroup Id="_FoundationCollections" Directory="_FoundationCollections.swiftmodule">
339+
<Component>
340+
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\_FoundationCollections.swiftmodule\$(ArchArchDir).swiftdoc" />
341+
</Component>
342+
<Component>
343+
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\_FoundationCollections.swiftmodule\$(ArchArchDir).swiftmodule" />
344+
</Component>
345+
</ComponentGroup>
346+
347+
<ComponentGroup Id="FoundationEssentials" Directory="FoundationEssentials.swiftmodule">
348+
<Component>
349+
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\FoundationEssentials.swiftmodule\$(ArchTriple).swiftdoc" />
350+
</Component>
351+
<Component>
352+
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\FoundationEssentials.swiftmodule\$(ArchTriple).swiftmodule" />
353+
</Component>
354+
<Component Directory="WindowsSDK_usr_lib_swift_windows_ARCH">
355+
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\FoundationEssentials.lib" />
356+
</Component>
357+
</ComponentGroup>
358+
359+
<ComponentGroup Id="FoundationInternationalization" Directory="FoundationInternationalization.swiftmodule">
360+
<Component>
361+
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\FoundationInternationalization.swiftmodule\$(ArchTriple).swiftdoc" />
362+
</Component>
363+
<Component>
364+
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\FoundationInternationalization.swiftmodule\$(ArchTriple).swiftmodule" />
365+
</Component>
366+
<Component Directory="WindowsSDK_usr_lib_swift_windows_ARCH">
367+
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\FoundationInternationalization.lib" />
368+
</Component>
369+
</ComponentGroup>
370+
338371
<ComponentGroup Id="Foundation" Directory="Foundation.swiftmodule">
339372
<Component>
340-
<File Name="$(ArchTriple).swiftdoc" Source="$(SDK_ROOT)\usr\lib\swift\windows\$(ArchArchDir)\Foundation.swiftdoc" />
373+
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\Foundation.swiftmodule\$(ArchTriple).swiftdoc" />
341374
</Component>
342375
<Component>
343-
<File Name="$(ArchTriple).swiftmodule" Source="$(SDK_ROOT)\usr\lib\swift\windows\$(ArchArchDir)\Foundation.swiftmodule" />
376+
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\Foundation.swiftmodule\$(ArchTriple).swiftmodule" />
344377
</Component>
345378
<Component Directory="WindowsSDK_usr_lib_swift_windows_ARCH">
346379
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\Foundation.lib" />
@@ -349,10 +382,10 @@
349382

350383
<ComponentGroup Id="FoundationNetworking" Directory="FoundationNetworking.swiftmodule">
351384
<Component>
352-
<File Name="$(ArchTriple).swiftdoc" Source="$(SDK_ROOT)\usr\lib\swift\windows\$(ArchArchDir)\FoundationNetworking.swiftdoc" />
385+
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\FoundationNetworking.swiftmodule\$(ArchTriple).swiftdoc" />
353386
</Component>
354387
<Component>
355-
<File Name="$(ArchTriple).swiftmodule" Source="$(SDK_ROOT)\usr\lib\swift\windows\$(ArchArchDir)\FoundationNetworking.swiftmodule" />
388+
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\FoundationNetworking.swiftmodule\$(ArchTriple).swiftmodule" />
356389
</Component>
357390
<Component Directory="WindowsSDK_usr_lib_swift_windows_ARCH">
358391
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\FoundationNetworking.lib" />
@@ -361,10 +394,10 @@
361394

362395
<ComponentGroup Id="FoundationXML" Directory="FoundationXML.swiftmodule">
363396
<Component>
364-
<File Name="$(ArchTriple).swiftdoc" Source="$(SDK_ROOT)\usr\lib\swift\windows\$(ArchArchDir)\FoundationXML.swiftdoc" />
397+
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\FoundationXML.swiftmodule\$(ArchTriple).swiftdoc" />
365398
</Component>
366399
<Component>
367-
<File Name="$(ArchTriple).swiftmodule" Source="$(SDK_ROOT)\usr\lib\swift\windows\$(ArchArchDir)\FoundationXML.swiftmodule" />
400+
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\FoundationXML.swiftmodule\$(ArchTriple).swiftmodule" />
368401
</Component>
369402
<Component Directory="WindowsSDK_usr_lib_swift_windows_ARCH">
370403
<File Source="$(SDK_ROOT)\usr\lib\swift\windows\FoundationXML.lib" />
@@ -530,6 +563,8 @@
530563
<ComponentGroupRef Id="SwiftRemoteMirror" />
531564
<ComponentGroupRef Id="BlocksRuntime" />
532565
<ComponentGroupRef Id="libdispatch" />
566+
<ComponentGroupRef Id="_foundation_unicode" />
567+
<ComponentGroupRef Id="_FoundationCShims" />
533568
<ComponentGroupRef Id="_Concurrency" />
534569
<ComponentGroupRef Id="_Differentiation" />
535570
<ComponentGroupRef Id="_RegexParser" />
@@ -538,6 +573,9 @@
538573
<ComponentGroupRef Id="Cxx" />
539574
<ComponentGroupRef Id="CxxStdlib" />
540575
<ComponentGroupRef Id="Distributed" />
576+
<ComponentGroupRef Id="_FoundationCollections" />
577+
<ComponentGroupRef Id="FoundationEssentials" />
578+
<ComponentGroupRef Id="FoundationInternationalization" />
541579
<ComponentGroupRef Id="Foundation" />
542580
<ComponentGroupRef Id="FoundationXML" />
543581
<ComponentGroupRef Id="FoundationNetworking" />

0 commit comments

Comments
 (0)