Skip to content

Commit 4d208a1

Browse files
committed
WiX: remove the support for packaging for Debug Info
The preference for distribution of the debug information should be a symbol server which would permit the matching of the binary to the proper symbols for the particular build. This is important as the total debug information is ~10x larger than the distribution itself and would add a very large overhead to the download sizes.
1 parent bd6820b commit 4d208a1

14 files changed

+2
-1040
lines changed

platforms/Windows/devtools-amd64.wxs

Lines changed: 0 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
<SummaryInformation Description="Swift Developer Tools for Windows x86_64" />
1010

1111
<Media Id="1" Cabinet="devtools.cab" EmbedCab="yes" />
12-
<?ifdef INCLUDE_DEBUG_INFO ?>
13-
<Media Id="2" Cabinet="PDBs.cab" EmbedCab="yes" />
14-
<?endif?>
1512

1613
<!-- Directory Structure -->
1714
<!-- WindowsVolume is not a StandardDirectory value, but rather a standard property. See https://github.com/wixtoolset/issues/issues/7314 -->
@@ -57,34 +54,12 @@
5754
</Component>
5855
</ComponentGroup>
5956

60-
<?ifdef INCLUDE_DEBUG_INFO ?>
61-
<ComponentGroup Id="SwiftCollectionsDebugInfo">
62-
<Component Id="Collections.pdb" Directory="_usr_bin" Guid="be44261f-8aa1-484b-87a1-d2b1a697a2ca">
63-
<File Id="Collections.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\Collections.pdb" Checksum="yes" />
64-
</Component>
65-
<Component Id="DequeModule.pdb" Directory="_usr_bin" Guid="702354af-089c-4180-86a4-6b427305c1bb">
66-
<File Id="DequeModule.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\DequeModule.pdb" Checksum="yes" />
67-
</Component>
68-
<Component Id="OrderedCollections.pdb" Directory="_usr_bin" Guid="e88ac571-94a9-43e0-b8ea-72c555a67023">
69-
<File Id="OrderedCollections.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\OrderedCollections.pdb" Checksum="yes" />
70-
</Component>
71-
</ComponentGroup>
72-
<?endif?>
73-
7457
<ComponentGroup Id="SwiftSystem">
7558
<Component Id="SystemPackage.dll" Directory="_usr_bin" Guid="16215499-75a2-49b2-bb9c-18b72cc059ef">
7659
<File Id="SystemPackage.dll" Source="$(var.DEVTOOLS_ROOT)\usr\bin\SystemPackage.dll" Checksum="yes" />
7760
</Component>
7861
</ComponentGroup>
7962

80-
<?ifdef INCLUDE_DEBUG_INFO ?>
81-
<ComponentGroup Id="SwiftSystemDebugInfo">
82-
<Component Id="SystemPackage.pdb" Directory="_usr_bin" Guid="95301361-03eb-458b-a5d7-6f48ec148a28">
83-
<File Id="SystemPackage.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\SystemPackage.pdb" Checksum="yes" />
84-
</Component>
85-
</ComponentGroup>
86-
<?endif?>
87-
8863
<ComponentGroup Id="SwiftPackageManager">
8964
<Component Id="Basics.dll" Directory="_usr_bin" Guid="b8032e5d-802d-4ce0-963a-c799873db876">
9065
<File Id="Basics.dll" Source="$(var.DEVTOOLS_ROOT)\usr\bin\Basics.dll" Checksum="yes" />
@@ -157,91 +132,17 @@
157132
</Component>
158133
</ComponentGroup>
159134

160-
<?ifdef INCLUDE_DEBUG_INFO ?>
161-
<ComponentGroup Id="SwiftPackageManagerDebugInfo">
162-
<Component Id="Basics.pdb" Directory="_usr_bin" Guid="7237e918-9b5b-4c2c-9330-bb8670624463">
163-
<File Id="Basics.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\Basics.pdb" Checksum="yes" />
164-
</Component>
165-
<Component Id="Build.pdb" Directory="_usr_bin" Guid="5da27caf-801f-430a-9b9a-e5efbf13708e">
166-
<File Id="Build.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\Build.pdb" Checksum="yes" />
167-
</Component>
168-
<Component Id="Commands.pdb" Directory="_usr_bin" Guid="949a08c5-ec4e-4d69-a18a-d8547a66c50a">
169-
<File Id="Commands.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\Commands.pdb" Checksum="yes" />
170-
</Component>
171-
<Component Id="CoreCommands.pdb" Directory="_usr_bin" Guid="39e660e2-e428-4828-848a-c11bccb727e2">
172-
<File Id="CoreCommands.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\CoreCommands.pdb" Checksum="yes" />
173-
</Component>
174-
<Component Id="DriverSupport.pdb" Directory="_usr_bin" Guid="e228fd9f-13df-4ec5-b989-cca47925f272">
175-
<File Id="DriverSupport.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\DriverSupport.pdb" Checksum="yes" />
176-
</Component>
177-
<Component Id="PackageGraph.pdb" Directory="_usr_bin" Guid="07b49917-5bdd-4491-a151-cb180a04aa90">
178-
<File Id="PackageGraph.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\PackageGraph.pdb" Checksum="yes" />
179-
</Component>
180-
<Component Id="PackageLoading.pdb" Directory="_usr_bin" Guid="94294eda-8c10-446c-a26f-c652bf6da155">
181-
<File Id="PackageLoading.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\PackageLoading.pdb" Checksum="yes" />
182-
</Component>
183-
<Component Id="PackageModel.pdb" Directory="_usr_bin" Guid="3f849e3c-649f-426d-b088-d840600dbca2">
184-
<File Id="PackageModel.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\PackageModel.pdb" Checksum="yes" />
185-
</Component>
186-
<Component Id="SPMBuildCore.pdb" Directory="_usr_bin" Guid="aff3a3f5-2bc4-4fa1-b07d-f4e85bb54734">
187-
<File Id="SPMBuildCore.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\SPMBuildCore.pdb" Checksum="yes" />
188-
</Component>
189-
<Component Id="Workspace.pdb" Directory="_usr_bin" Guid="a690ccb6-cc82-47f1-91c3-bed6994dc44b">
190-
<File Id="Workspace.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\Workspace.pdb" Checksum="yes" />
191-
</Component>
192-
193-
<Component Id="swift_build.pdb" Directory="_usr_bin" Guid="bfea3c79-9656-4dee-8259-d041db3be1ba">
194-
<File Id="swift_build.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\swift-build.pdb" Checksum="yes" />
195-
</Component>
196-
<Component Id="swift_package.pdb" Directory="_usr_bin" Guid="0b9cf255-e141-43d3-af4b-e93984b57b4f">
197-
<File Id="swift_package.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\swift-package.pdb" Checksum="yes" />
198-
</Component>
199-
<Component Id="swift_run.pdb" Directory="_usr_bin" Guid="aedc7604-351a-4134-baaf-6364db8d53b3">
200-
<File Id="swift_run.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\swift-run.pdb" Checksum="yes" />
201-
</Component>
202-
<Component Id="swift_test.pdb" Directory="_usr_bin" Guid="afec8751-e99d-4e2b-b7e9-32e6c3e4507f">
203-
<File Id="swift_test.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\swift-test.pdb" Checksum="yes" />
204-
</Component>
205-
206-
<Component Id="PackageDescription.pdb" Directory="_usr_lib_swift_pm_ManifestAPI" Guid="01d006f5-431e-4f75-820d-98249c580893">
207-
<File Id="PackageDescription.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\lib\swift\pm\ManifestAPI\PackageDescription.pdb" Checksum="yes" />
208-
</Component>
209-
210-
<Component Id="PackagePlugin.pdb" Directory="_usr_lib_swift_pm_ManifestAPI" Guid="7739a6e7-b8f7-4b99-bd7e-0fd13b717b94">
211-
<File Id="PackagePlugin.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\lib\swift\pm\pluginAPI\PackagePlugin.pdb" Checksum="yes" />
212-
</Component>
213-
</ComponentGroup>
214-
<?endif?>
215-
216135
<ComponentGroup Id="SourceKitLSP">
217136
<Component Id="sourcekit_lsp.exe" Directory="_usr_bin" Guid="61d82a9e-2f72-415c-b6bb-9f43ec3f6bcd">
218137
<File Id="sourcekit_lsp.exe" Source="$(var.DEVTOOLS_ROOT)\usr\bin\sourcekit-lsp.exe" Checksum="yes" />
219138
</Component>
220139
</ComponentGroup>
221140

222-
<?ifdef INCLUDE_DEBUG_INFO ?>
223-
<ComponentGroup Id="SourceKitLSPDebugInfo">
224-
<Component Id="sourcekit_lsp.pdb" Directory="_usr_bin" Guid="e8a2c9bd-2988-43a4-9382-6d85b3d6e7b4">
225-
<File Id="soucekit_lsp.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\sourcekit-lsp.pdb" Checksum="yes" />
226-
</Component>
227-
</ComponentGroup>
228-
<?endif?>
229-
230141
<Feature Id="DeveloperTools" AllowAbsent="no" AllowAdvertise="yes" ConfigurableDirectory="INSTALLDIR" Description="Swift Developer Tools for Windows x86_64" Level="1" Title="Swift Developer Tools (Windows x86_64)">
231142
<ComponentGroupRef Id="SwiftCollections" />
232143
<ComponentGroupRef Id="SwiftSystem" />
233144
<ComponentGroupRef Id="SwiftPackageManager" />
234145
<ComponentGroupRef Id="SourceKitLSP" />
235-
236-
<?ifdef INCLUDE_DEBUG_INFO ?>
237-
<Feature Id="DebugInfo" AllowAbsent="yes" AllowAdvertise="yes" Description="Debug Information for Swift Developer Tools for Windows x86_64" Level="0" Title="Debug Info">
238-
<Level Value="1" Condition="INSTALL_DEBUGINFO" />
239-
<ComponentGroupRef Id="SwiftCollectionsDebugInfo" />
240-
<ComponentGroupRef Id="SwiftSystemDebugInfo" />
241-
<ComponentGroupRef Id="SwiftPackageManagerDebugInfo" />
242-
<ComponentGroupRef Id="SourceKitLSPDebugInfo" />
243-
</Feature>
244-
<?endif?>
245146
</Feature>
246147

247148
<UI>

platforms/Windows/devtools-arm64.wxs

Lines changed: 0 additions & 99 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@
99
<SummaryInformation Description="Swift Developer Tools for Windows aarch64" />
1010

1111
<Media Id="1" Cabinet="devtools.cab" EmbedCab="yes" />
12-
<?ifdef INCLUDE_DEBUG_INFO ?>
13-
<Media Id="2" Cabinet="PDBs.cab" EmbedCab="yes" />
14-
<?endif?>
1512

1613
<!-- Directory Structure -->
1714
<!-- WindowsVolume is not a StandardDirectory value, but rather a standard property. See https://github.com/wixtoolset/issues/issues/7314 -->
@@ -57,34 +54,12 @@
5754
</Component>
5855
</ComponentGroup>
5956

60-
<?ifdef INCLUDE_DEBUG_INFO ?>
61-
<ComponentGroup Id="SwiftCollectionsDebugInfo">
62-
<Component Id="Collections.pdb" Directory="_usr_bin" Guid="d33e610e-171b-445b-bfbe-8f4dadaa8741">
63-
<File Id="Collections.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\Collections.pdb" Checksum="yes" />
64-
</Component>
65-
<Component Id="DequeModule.pdb" Directory="_usr_bin" Guid="779c0307-95fe-4cf8-9631-fe2de10e6031">
66-
<File Id="DequeModule.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\DequeModule.pdb" Checksum="yes" />
67-
</Component>
68-
<Component Id="OrderedCollections.pdb" Directory="_usr_bin" Guid="0546f5b7-10c3-4766-968b-0add6b08c3e1">
69-
<File Id="OrderedCollections.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\OrderedCollections.pdb" Checksum="yes" />
70-
</Component>
71-
</ComponentGroup>
72-
<?endif?>
73-
7457
<ComponentGroup Id="SwiftSystem">
7558
<Component Id="SystemPackage.dll" Directory="_usr_bin" Guid="3a77763d-f9fb-4f1e-a056-f785bb1912e9">
7659
<File Id="SystemPackage.dll" Source="$(var.DEVTOOLS_ROOT)\usr\bin\SystemPackage.dll" Checksum="yes" />
7760
</Component>
7861
</ComponentGroup>
7962

80-
<?ifdef INCLUDE_DEBUG_INFO ?>
81-
<ComponentGroup Id="SwiftSystemDebugInfo">
82-
<Component Id="SystemPackage.pdb" Directory="_usr_bin" Guid="157a0be9-c296-4244-8975-7125fb8306d4">
83-
<File Id="SystemPackage.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\SystemPackage.pdb" Checksum="yes" />
84-
</Component>
85-
</ComponentGroup>
86-
<?endif?>
87-
8863
<ComponentGroup Id="SwiftPackageManager">
8964
<Component Id="Basics.dll" Directory="_usr_bin" Guid="03e5871a-9ded-4010-9708-6217f294edc4">
9065
<File Id="Basics.dll" Source="$(var.DEVTOOLS_ROOT)\usr\bin\Basics.dll" Checksum="yes" />
@@ -157,91 +132,17 @@
157132
</Component>
158133
</ComponentGroup>
159134

160-
<?ifdef INCLUDE_DEBUG_INFO ?>
161-
<ComponentGroup Id="SwiftPackageManagerDebugInfo">
162-
<Component Id="Basics.pdb" Directory="_usr_bin" Guid="2fdea2ca-5498-4cb1-bf74-b771321a0b2b">
163-
<File Id="Basics.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\Basics.pdb" Checksum="yes" />
164-
</Component>
165-
<Component Id="Build.pdb" Directory="_usr_bin" Guid="cbc19845-fd86-4d2a-977e-5ae49de856d4">
166-
<File Id="Build.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\Build.pdb" Checksum="yes" />
167-
</Component>
168-
<Component Id="Commands.pdb" Directory="_usr_bin" Guid="345f96d2-f9ac-4c83-8722-855686401a9d">
169-
<File Id="Commands.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\Commands.pdb" Checksum="yes" />
170-
</Component>
171-
<Component Id="CoreCommands.pdb" Directory="_usr_bin" Guid="8925173e-f45d-44ea-bc8f-a936b1a883ad">
172-
<File Id="CoreCommands.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\CoreCommands.pdb" Checksum="yes" />
173-
</Component>
174-
<Component Id="DriverSupport.pdb" Directory="_usr_bin" Guid="f8f8cb75-8f42-4522-bdd7-89499943ef32">
175-
<File Id="DriverSupport.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\DriverSupport.pdb" Checksum="yes" />
176-
</Component>
177-
<Component Id="PackageGraph.pdb" Directory="_usr_bin" Guid="71a32056-bb8d-4d9b-ab76-e25ee6fd04bc">
178-
<File Id="PackageGraph.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\PackageGraph.pdb" Checksum="yes" />
179-
</Component>
180-
<Component Id="PackageLoading.pdb" Directory="_usr_bin" Guid="991958ab-0f7b-4547-8286-732671282ec1">
181-
<File Id="PackageLoading.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\PackageLoading.pdb" Checksum="yes" />
182-
</Component>
183-
<Component Id="PackageModel.pdb" Directory="_usr_bin" Guid="511fd24a-f9b9-4c7b-97c1-5845dfc308d0">
184-
<File Id="PackageModel.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\PackageModel.pdb" Checksum="yes" />
185-
</Component>
186-
<Component Id="SPMBuildCore.pdb" Directory="_usr_bin" Guid="3f66ca4f-d560-496f-9f8f-bc350a559ce5">
187-
<File Id="SPMBuildCore.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\SPMBuildCore.pdb" Checksum="yes" />
188-
</Component>
189-
<Component Id="Workspace.pdb" Directory="_usr_bin" Guid="cf7d3735-03f9-4d17-89b3-c051d1cc3c5a">
190-
<File Id="Workspace.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\Workspace.pdb" Checksum="yes" />
191-
</Component>
192-
193-
<Component Id="swift_build.pdb" Directory="_usr_bin" Guid="84d4c04b-158f-446b-aa5e-9ffe3318dd02">
194-
<File Id="swift_build.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\swift-build.pdb" Checksum="yes" />
195-
</Component>
196-
<Component Id="swift_package.pdb" Directory="_usr_bin" Guid="7038d860-c614-4c74-b2ce-d6dc84f8f638">
197-
<File Id="swift_package.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\swift-package.pdb" Checksum="yes" />
198-
</Component>
199-
<Component Id="swift_run.pdb" Directory="_usr_bin" Guid="d5eb453e-1e43-4492-b9d6-e3c08b8f7b80">
200-
<File Id="swift_run.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\swift-run.pdb" Checksum="yes" />
201-
</Component>
202-
<Component Id="swift_test.pdb" Directory="_usr_bin" Guid="a9240a6b-9934-4356-80e9-5311d6c35fa5">
203-
<File Id="swift_test.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\swift-test.pdb" Checksum="yes" />
204-
</Component>
205-
206-
<Component Id="PackageDescription.pdb" Directory="_usr_lib_swift_pm_ManifestAPI" Guid="aabedd70-4b90-46ef-8db6-9724c2340f81">
207-
<File Id="PackageDescription.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\lib\swift\pm\ManifestAPI\PackageDescription.pdb" Checksum="yes" />
208-
</Component>
209-
210-
<Component Id="PackagePlugin.pdb" Directory="_usr_lib_swift_pm_ManifestAPI" Guid="bbf77ff9-fa10-4fe3-ab4b-3cbf95fa6be9">
211-
<File Id="PackagePlugin.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\lib\swift\pm\pluginAPI\PackagePlugin.pdb" Checksum="yes" />
212-
</Component>
213-
</ComponentGroup>
214-
<?endif?>
215-
216135
<ComponentGroup Id="SourceKitLSP">
217136
<Component Id="sourcekit_lsp.exe" Directory="_usr_bin" Guid="1e4d7fbd-a435-4d11-bd17-2dec0b235c28">
218137
<File Id="sourcekit_lsp.exe" Source="$(var.DEVTOOLS_ROOT)\usr\bin\sourcekit-lsp.exe" Checksum="yes" />
219138
</Component>
220139
</ComponentGroup>
221140

222-
<?ifdef INCLUDE_DEBUG_INFO ?>
223-
<ComponentGroup Id="SourceKitLSPDebugInfo">
224-
<Component Id="sourcekit_lsp.pdb" Directory="_usr_bin" Guid="3a72124e-6b23-42ac-be52-c1ac2d7972f6">
225-
<File Id="soucekit_lsp.pdb" Source="$(var.DEVTOOLS_ROOT)\usr\bin\sourcekit-lsp.pdb" Checksum="yes" />
226-
</Component>
227-
</ComponentGroup>
228-
<?endif?>
229-
230141
<Feature Id="DeveloperTools" AllowAbsent="no" AllowAdvertise="yes" ConfigurableDirectory="INSTALLDIR" Description="Swift Developer Tools for Windows aarch64" Level="1" Title="Swift Developer Tools (Windows aarch64)">
231142
<ComponentGroupRef Id="SwiftCollections" />
232143
<ComponentGroupRef Id="SwiftSystem" />
233144
<ComponentGroupRef Id="SwiftPackageManager" />
234145
<ComponentGroupRef Id="SourceKitLSP" />
235-
236-
<?ifdef INCLUDE_DEBUG_INFO ?>
237-
<Feature Id="DebugInfo" AllowAbsent="yes" AllowAdvertise="yes" Description="Debug Information for Swift Developer Tools for Windows aarch64" Level="0" Title="Debug Info">
238-
<Level Value="1" Condition="INSTALL_DEBUGINFO" />
239-
<ComponentGroupRef Id="SwiftCollectionsDebugInfo" />
240-
<ComponentGroupRef Id="SwiftSystemDebugInfo" />
241-
<ComponentGroupRef Id="SwiftPackageManagerDebugInfo" />
242-
<ComponentGroupRef Id="SourceKitLSPDebugInfo" />
243-
</Feature>
244-
<?endif?>
245146
</Feature>
246147

247148
<UI>

0 commit comments

Comments
 (0)