|
45 | 45 | <!-- Include suppression XML files bin-placed in earlier per-library linker run. --> |
46 | 46 | <OOBLibrarySuppressionsXml Include="$(ILLinkTrimAssemblyOOBSuppressionsXmlsDir)*.xml" /> |
47 | 47 |
|
48 | | - <!-- The following is the list of all the OOBs we will ignore for now --> |
49 | | - <OOBAssemblyToIgnore Include="System.CodeDom; |
50 | | - System.ComponentModel.Composition; |
51 | | - System.ComponentModel.Composition.Registration; |
52 | | - System.Composition.AttributedModel; |
53 | | - System.Composition.Convention; |
54 | | - System.Composition.Hosting; |
55 | | - System.Composition.Runtime; |
56 | | - System.Composition.TypedParts; |
57 | | - System.Configuration.ConfigurationManager; |
58 | | - System.Speech; |
59 | | - Microsoft.Extensions.DependencyInjection.Specification.Tests" /> |
60 | | - |
61 | | - <!-- Move items to FileName so that we can subtract them. --> |
62 | | - <OOBAssemblyWithFilename Include="@(OOBAssembly->Metadata('Filename'))" |
63 | | - OriginalIdentity="%(Identity)" /> |
64 | | - <OOBAssemblyToTrimWithFilename Include="@(OOBAssemblyWithFilename)" |
65 | | - Exclude="@(OOBAssemblyToIgnore)" /> |
66 | | - <OOBAssemblyToIgnoreWithFilename Include="@(OOBAssemblyWithFilename)" |
67 | | - Exclude="@(OOBAssemblyToTrimWithFilename)" /> |
68 | | - |
69 | | - <OOBAssemblyToTrim Include="@(OOBAssemblyToTrimWithFilename->Metadata('OriginalIdentity'))" /> |
70 | | - <OOBAssemblyReference Include="@(OOBAssemblyToIgnoreWithFilename->Metadata('OriginalIdentity')); |
| 48 | + <OOBAssemblyToTrim Include="@(OOBAssembly->WithMetadataValue('IsTrimmable', 'true'))" /> |
| 49 | + <OOBAssemblyReference Include="@(OOBAssembly->WithMetadataValue('IsTrimmable', 'false')); |
71 | 50 | @(SharedFrameworkAssembly)" /> |
72 | 51 | </ItemGroup> |
73 | 52 | </Target> |
|
0 commit comments