diff options
author | Jeremy Koritzinsky <jkoritzinsky@gmail.com> | 2018-03-19 10:43:52 +0300 |
---|---|---|
committer | Michal Strehovský <MichalStrehovsky@users.noreply.github.com> | 2018-03-19 10:43:52 +0300 |
commit | 31651b1066d54ad75cb073d2b9063a45b18758ba (patch) | |
tree | 8956609774ccc023613609f30a8021f231d73938 /pkg | |
parent | 828a35d585cabd47cc74c58a4570e3c6eccecdae (diff) |
Make Server GC component optional (#5565)
Make the Server GC an optional component by building two flavors of the runtime and selecting a specific one in the build via the `ServerGarbageCollection` MSBuild property. Don't build the Server GC flavor for Web Assembly.
Fixes #5182, Fixes #5306.
Diffstat (limited to 'pkg')
-rw-r--r-- | pkg/Microsoft.DotNet.ILCompiler/TargetSpecific/Microsoft.DotNet.ILCompiler.pkgproj | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/pkg/Microsoft.DotNet.ILCompiler/TargetSpecific/Microsoft.DotNet.ILCompiler.pkgproj b/pkg/Microsoft.DotNet.ILCompiler/TargetSpecific/Microsoft.DotNet.ILCompiler.pkgproj index df63fb391..25fa52a38 100644 --- a/pkg/Microsoft.DotNet.ILCompiler/TargetSpecific/Microsoft.DotNet.ILCompiler.pkgproj +++ b/pkg/Microsoft.DotNet.ILCompiler/TargetSpecific/Microsoft.DotNet.ILCompiler.pkgproj @@ -46,6 +46,9 @@ <File Condition="Exists('$(BaseOutputPath)\$(OSPlatformConfig)\sdk\PortableRuntime.pdb')" Include="$(BaseOutputPath)\$(OSPlatformConfig)\sdk\PortableRuntime.pdb"> <TargetPath>sdk</TargetPath> </File> + <File Condition="Exists('$(BaseOutputPath)\$(OSPlatformConfig)\sdk\Runtime.ServerGC.pdb')" Include="$(BaseOutputPath)\$(OSPlatformConfig)\sdk\Runtime.ServerGC.pdb"> + <TargetPath>sdk</TargetPath> + </File> </ItemGroup> <Target Name="GetPackageDependencies"/> |