Skip to content

Commit

Permalink
Stop including runtime-specific symbols in non-runtime-specific packa…
Browse files Browse the repository at this point in the history
…ges (#73428)
  • Loading branch information
elinor-fung committed Aug 5, 2022
1 parent 7d19e13 commit 94e24ff
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 7 deletions.
4 changes: 2 additions & 2 deletions src/coreclr/.nuget/Directory.Build.targets
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<Project>
<Import Project="..\Directory.Build.targets" />

<PropertyGroup>
<!-- Central place to set the versions of all nuget packages produced in the repo -->
<PackageVersion Condition="'$(PackageVersion)' == ''">$(ProductVersion)</PackageVersion>
Expand All @@ -19,7 +19,7 @@
</ItemGroup>

<ItemGroup>
<NativeWithSymbolFile Include="@(NativeBinary)">
<NativeWithSymbolFile Include="@(NativeBinary)" Condition="'$(PackageTargetRuntime)'!=''">
<TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath>
</NativeWithSymbolFile>
<NativeWithSymbolFile Include="@(ArchitectureSpecificToolFile)">
Expand Down
6 changes: 1 addition & 5 deletions src/installer/pkg/projects/Directory.Build.targets
Original file line number Diff line number Diff line change
Expand Up @@ -133,10 +133,6 @@
<MakeDir Directories="$(PackageReportDir)" />
</Target>

<!--
Finds symbol files and injects them into the package build.
-->

<!--
Finds symbol files and injects them into the package build.
-->
Expand All @@ -146,7 +142,7 @@
</ItemGroup>

<ItemGroup>
<NativeWithSymbolFile Include="@(NativeBinary)">
<NativeWithSymbolFile Include="@(NativeBinary)" Condition="'$(PackageTargetRuntime)'!=''">
<TargetPath>runtimes/$(PackageTargetRuntime)/native</TargetPath>
</NativeWithSymbolFile>
<NativeWithSymbolFile Include="@(ArchitectureSpecificToolFile)">
Expand Down

0 comments on commit 94e24ff

Please sign in to comment.