|  | 
| 1 | 1 | <?xml version="1.0" encoding="utf-8"?> | 
| 2 | 2 | <Include xmlns="http://wixtoolset.org/schemas/v4/wxs"> | 
| 3 | 3 | 
 | 
|  | 4 | +  <?if $(sys.BUILDARCH) == x64 ?> | 
|  | 5 | +    <?define MergeModuleFileName = "rtl.amd64.msm" ?> | 
|  | 6 | +  <?else?> | 
|  | 7 | +    <?define MergeModuleFileName = "rtl.$(sys.BUILDARCH).msm" ?> | 
|  | 8 | +  <?endif?> | 
|  | 9 | + | 
| 4 | 10 |   <Package | 
| 5 | 11 |       Language="1033" | 
| 6 | 12 |       Manufacturer="!(loc.ManufacturerName)" | 
|  | 
| 35 | 41 |       </Directory> | 
| 36 | 42 |     </DirectoryRef> | 
| 37 | 43 | 
 | 
|  | 44 | +    <DirectoryRef Id="toolchain_$(VariantName)_usr_bin"> | 
|  | 45 | +      <Merge DiskId="1" Id="swift_runtime" Language="0" SourceFile="$(RedistributablesDirectory)\$(MergeModuleFileName)" /> | 
|  | 46 | +    </DirectoryRef> | 
|  | 47 | + | 
| 38 | 48 |     <ComponentGroup Id="cmark_gfm" Directory="toolchain_$(VariantName)_usr_bin"> | 
| 39 | 49 |       <Component> | 
| 40 | 50 |         <File Source="$(ToolchainRoot)\usr\bin/cmark-gfm.dll" /> | 
|  | 
| 212 | 222 |       </Component> | 
| 213 | 223 |     </ComponentGroup> | 
| 214 | 224 | 
 | 
| 215 |  | -    <ComponentGroup Id="BlocksRuntime"> | 
| 216 |  | -      <Component Directory="toolchain_$(VariantName)_usr_bin"> | 
| 217 |  | -        <File Source="$(ToolchainRoot)\usr\bin\BlocksRuntime.dll" /> | 
| 218 |  | -      </Component> | 
| 219 |  | - | 
| 220 |  | -      <Component Directory="toolchain_$(VariantName)_usr_lib"> | 
| 221 |  | -        <File Source="$(ToolchainRoot)\usr\lib\BlocksRuntime.lib" /> | 
| 222 |  | -      </Component> | 
| 223 |  | - | 
| 224 |  | -      <!-- TODO(compnerd) should we install the block headers? --> | 
| 225 |  | -    </ComponentGroup> | 
| 226 |  | - | 
| 227 |  | -    <ComponentGroup Id="libdispatch"> | 
| 228 |  | -      <Component Directory="toolchain_$(VariantName)_usr_bin"> | 
| 229 |  | -        <File Source="$(ToolchainRoot)\usr\bin\dispatch.dll" /> | 
| 230 |  | -      </Component> | 
| 231 |  | - | 
| 232 |  | -      <Component Directory="toolchain_$(VariantName)_usr_lib"> | 
| 233 |  | -        <File Source="$(ToolchainRoot)\usr\lib\dispatch.lib" /> | 
| 234 |  | -      </Component> | 
| 235 |  | - | 
| 236 |  | -      <!-- TODO(compnerd) should we install the dispatch headers? --> | 
| 237 |  | -    </ComponentGroup> | 
| 238 |  | - | 
| 239 | 225 |     <ComponentGroup Id="SwiftCxx" Directory="toolchain_$(VariantName)_usr_lib_swift_swiftToCxx"> | 
| 240 | 226 |       <Component> | 
| 241 | 227 |         <File Source="$(ToolchainRoot)\usr\lib\swift\swiftToCxx\_SwiftCxxInteroperability.h" /> | 
|  | 
| 551 | 537 |       </Component> | 
| 552 | 538 |     </ComponentGroup> | 
| 553 | 539 | 
 | 
|  | 540 | +    <Feature Id="SwiftRuntimeRedistributable" Title="Swift Runtime Redistributable" AllowAdvertise="no" Display="hidden" Level="1"> | 
|  | 541 | +      <MergeRef Id="swift_runtime" /> | 
|  | 542 | +    </Feature> | 
|  | 543 | + | 
| 554 | 544 |     <Feature Id="BuildTools" AllowAbsent="no" Title="$(VariantProductName)"> | 
| 555 | 545 |       <ComponentGroupRef Id="cmark_gfm" /> | 
| 556 | 546 | 
 | 
| 557 | 547 |       <ComponentGroupRef Id="binutils" /> | 
| 558 | 548 |       <ComponentGroupRef Id="lto" /> | 
| 559 | 549 |       <ComponentGroupRef Id="clang" /> | 
| 560 | 550 |       <ComponentGroupRef Id="lld" /> | 
| 561 |  | -      <ComponentGroupRef Id="BlocksRuntime" /> | 
| 562 |  | -      <ComponentGroupRef Id="libdispatch" /> | 
| 563 | 551 |       <ComponentGroupRef Id="swift" /> | 
| 564 | 552 |       <ComponentGroupRef Id="argument_parser" /> | 
| 565 | 553 |       <ComponentGroupRef Id="tools_support_core" /> | 
|  | 
0 commit comments