Skip to content

Commit 791a0d8

Browse files
mdh1418Mitchell Hwang
andauthored
[libraries] Restrict ILLink Suppression xml to mobile platforms (#58519)
Co-authored-by: Mitchell Hwang <mitchell.hwang@microsoft.com>
1 parent b7e1037 commit 791a0d8

2 files changed

Lines changed: 1 addition & 0 deletions

File tree

src/libraries/System.Net.Http/src/ILLink/ILLink.Suppressions.LibraryBuild.xml renamed to src/libraries/System.Net.Http/src/ILLink/ILLink.Suppressions.Mobile.LibraryBuild.xml

File renamed without changes.

src/libraries/System.Net.Http/src/System.Net.Http.csproj

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -35,6 +35,7 @@
3535
<ILLinkSubstitutionsXmls Include="$(ILLinkDirectory)ILLink.Substitutions.xml" />
3636
<ILLinkSubstitutionsXmls Condition="'$(TargetsAndroid)' == 'true' or '$(TargetsiOS)' == 'true' or '$(TargetsMacCatalyst)' == 'true' or '$(TargetsTVOS)' == 'true'"
3737
Include="$(ILLinkDirectory)ILLink.Substitutions.mobile.xml" />
38+
<ILLinkSuppressionsXmls Condition="'$(TargetsMobile)' == 'true'" Include="$(ILLinkDirectory)ILLink.Suppressions.Mobile.LibraryBuild.xml" />
3839
</ItemGroup>
3940
<ItemGroup>
4041
<Compile Include="System\Net\Http\ByteArrayContent.cs" />

0 commit comments

Comments
 (0)