|
| 1 | +<Wix xmlns="http://wixtoolset.org/schemas/v4/wxs"> |
| 2 | + <Fragment> |
| 3 | + <?if $(sys.BUILDARCH) == x64 ?> |
| 4 | + <?define RuntimeDirectoryComponentGuidGenerationSeed = "E33B165B-8460-467D-ABCD-27EA8197A3CF" ?> |
| 5 | + <?define RuntimeRoot = $(WindowsExperimentalRuntimeX64)?> |
| 6 | + <?elseif $(sys.BUILDARCH) == arm64 ?> |
| 7 | + <?define RuntimeDirectoryComponentGuidGenerationSeed = "BFFDD8F7-CC47-40CB-AF0E-095273FF10FC" ?> |
| 8 | + <?define RuntimeRoot = $(WindowsExperimentalRuntimeARM64)?> |
| 9 | + <?elseif $(sys.BUILDARCH) == x86 ?> |
| 10 | + <?define RuntimeDirectoryComponentGuidGenerationSeed = "72064820-3795-4331-8CBD-FF1ABA7DAE7B" ?> |
| 11 | + <?define RuntimeRoot = $(WindowsExperimentalRuntimeX86)?> |
| 12 | + <?endif?> |
| 13 | + |
| 14 | + <Directory Id="RUNTIMEDIR_$(ProductArchitecture)" ComponentGuidGenerationSeed="$(RuntimeDirectoryComponentGuidGenerationSeed)" /> |
| 15 | + |
| 16 | + <ComponentGroup Id="stdlib_$(ProductArchitecture)" Directory="RUNTIMEDIR_$(ProductArchitecture)"> |
| 17 | + <Component> |
| 18 | + <File Source="$(RuntimeRoot)\usr\bin\swiftCore.dll" /> |
| 19 | + </Component> |
| 20 | + <Component> |
| 21 | + <File Source="$(RuntimeRoot)\usr\bin\swiftCRT.dll" /> |
| 22 | + </Component> |
| 23 | + <Component> |
| 24 | + <File Source="$(RuntimeRoot)\usr\bin\swiftDistributed.dll" /> |
| 25 | + </Component> |
| 26 | + <Component> |
| 27 | + <File Source="$(RuntimeRoot)\usr\bin\swiftObservation.dll" /> |
| 28 | + </Component> |
| 29 | + <Component> |
| 30 | + <File Source="$(RuntimeRoot)\usr\bin\swiftRegexBuilder.dll" /> |
| 31 | + </Component> |
| 32 | + <Component> |
| 33 | + <File Source="$(RuntimeRoot)\usr\bin\swiftRemoteMirror.dll" /> |
| 34 | + </Component> |
| 35 | + <Component> |
| 36 | + <File Source="$(RuntimeRoot)\usr\bin\swiftSwiftOnoneSupport.dll" /> |
| 37 | + </Component> |
| 38 | + <Component> |
| 39 | + <File Source="$(RuntimeRoot)\usr\bin\swiftSynchronization.dll" /> |
| 40 | + </Component> |
| 41 | + <Component> |
| 42 | + <File Source="$(RuntimeRoot)\usr\bin\swiftWinSDK.dll" /> |
| 43 | + </Component> |
| 44 | + <Component> |
| 45 | + <File Source="$(RuntimeRoot)\usr\bin\swift_Builtin_float.dll" /> |
| 46 | + </Component> |
| 47 | + <Component> |
| 48 | + <File Source="$(RuntimeRoot)\usr\bin\swift_Concurrency.dll" /> |
| 49 | + </Component> |
| 50 | + <Component> |
| 51 | + <File Source="$(RuntimeRoot)\usr\bin\swift_Differentiation.dll" /> |
| 52 | + </Component> |
| 53 | + <Component> |
| 54 | + <File Source="$(RuntimeRoot)\usr\bin\swift_RegexParser.dll" /> |
| 55 | + </Component> |
| 56 | + <Component> |
| 57 | + <File Source="$(RuntimeRoot)\usr\bin\swift_StringProcessing.dll" /> |
| 58 | + </Component> |
| 59 | + <Component> |
| 60 | + <File Source="$(RuntimeRoot)\usr\bin\swift_Volatile.dll" /> |
| 61 | + </Component> |
| 62 | + |
| 63 | + <!-- TODO(compnerd) should we distribute the undecoration library in the runtime? |
| 64 | + <Component Directory="_usr_bin" Id="swiftDemangle.dll"> |
| 65 | + <File Id="swiftDemangle.dll" Source="$(RuntimeRoot)\bin\swiftDemangle.dll" /> |
| 66 | + </Component> |
| 67 | + --> |
| 68 | + </ComponentGroup> |
| 69 | + |
| 70 | + <ComponentGroup Id="BlocksRuntime_$(ProductArchitecture)" Directory="RUNTIMEDIR_$(ProductArchitecture)"> |
| 71 | + <Component> |
| 72 | + <File Source="$(RuntimeRoot)\usr\bin\BlocksRuntime.dll" /> |
| 73 | + </Component> |
| 74 | + </ComponentGroup> |
| 75 | + |
| 76 | + <ComponentGroup Id="libdispatch_$(ProductArchitecture)" Directory="RUNTIMEDIR_$(ProductArchitecture)"> |
| 77 | + <Component> |
| 78 | + <File Source="$(RuntimeRoot)\usr\bin\dispatch.dll" /> |
| 79 | + </Component> |
| 80 | + <Component> |
| 81 | + <File Source="$(RuntimeRoot)\usr\bin\swiftDispatch.dll" /> |
| 82 | + </Component> |
| 83 | + </ComponentGroup> |
| 84 | + |
| 85 | + <ComponentGroup Id="Foundation_$(ProductArchitecture)" Directory="RUNTIMEDIR_$(ProductArchitecture)"> |
| 86 | + <Component> |
| 87 | + <File Source="$(RuntimeRoot)\usr\bin\Foundation.dll" /> |
| 88 | + </Component> |
| 89 | + <Component> |
| 90 | + <File Source="$(RuntimeRoot)\usr\bin\FoundationEssentials.dll" /> |
| 91 | + </Component> |
| 92 | + <Component> |
| 93 | + <File Source="$(RuntimeRoot)\usr\bin\FoundationInternationalization.dll" /> |
| 94 | + </Component> |
| 95 | + <Component> |
| 96 | + <File Source="$(RuntimeRoot)\usr\bin\FoundationNetworking.dll" /> |
| 97 | + </Component> |
| 98 | + <Component> |
| 99 | + <File Source="$(RuntimeRoot)\usr\bin\FoundationXML.dll" /> |
| 100 | + </Component> |
| 101 | + <Component> |
| 102 | + <File Source="$(RuntimeRoot)\usr\bin\_FoundationICU.dll" /> |
| 103 | + </Component> |
| 104 | + </ComponentGroup> |
| 105 | + |
| 106 | + <ComponentGroup Id="plutil_$(ProductArchitecture)" Directory="RUNTIMEDIR_$(ProductArchitecture)"> |
| 107 | + <Component> |
| 108 | + <File Source="$(RuntimeRoot)\usr\bin\plutil.exe" /> |
| 109 | + </Component> |
| 110 | + </ComponentGroup> |
| 111 | + |
| 112 | + <ComponentGroup Id="swift_runtime_$(ProductArchitecture)"> |
| 113 | + <ComponentGroupRef Id="stdlib_$(ProductArchitecture)" /> |
| 114 | + <ComponentGroupRef Id="BlocksRuntime_$(ProductArchitecture)" /> |
| 115 | + <ComponentGroupRef Id="libdispatch_$(ProductArchitecture)" /> |
| 116 | + <ComponentGroupRef Id="Foundation_$(ProductArchitecture)" /> |
| 117 | + </ComponentGroup> |
| 118 | + |
| 119 | + <ComponentGroup Id="swift_runtime_utilities_$(ProductArchitecture)"> |
| 120 | + <ComponentGroupRef Id="plutil_$(ProductArchitecture)" /> |
| 121 | + </ComponentGroup> |
| 122 | + </Fragment> |
| 123 | +</Wix> |
0 commit comments