diff options
author | Swaroop Sridhar <Swaroop.Sridhar@microsoft.com> | 2015-04-29 20:17:48 -0700 |
---|---|---|
committer | Swaroop Sridhar <Swaroop.Sridhar@microsoft.com> | 2015-05-05 13:39:09 -0700 |
commit | b503f15c45f9a7e6d0f90e5f4f9d3985f2060fe8 (patch) | |
tree | 358b860c39546d3dac102b06fd4a0494f9543af0 /src/.nuget | |
parent | e79b36be0a49362908f5d191ca5b1f68eef8b39f (diff) | |
download | coreclr-b503f15c45f9a7e6d0f90e5f4f9d3985f2060fe8.tar.gz coreclr-b503f15c45f9a7e6d0f90e5f4f9d3985f2060fe8.tar.bz2 coreclr-b503f15c45f9a7e6d0f90e5f4f9d3985f2060fe8.zip |
GcInfo: Add support for Standalone build
The STANDALONE_BUILD switch can be used to build the GcInfoEncoder library
independently by clients outside the CoreClr tree.
The GcInfo library uses some custom data-structures (ex: ArrayList)
and includes some utility libraries (ex: UtilCode) which pull in several other
headers with considerable unrelated content. Rather than porting all the
utility code to suite other clients, the STANDALONE_BUILD switch can be used
to include only the minimal set of headers specific to GcInfo encodings.
Clients of STANDALONE_BUILD will likely use standard library
implementations of data-structures like ArrayList, HashMap etc., in place
of the custom implementation currently used by GcInfoEncoder.
Rather than spew the GcInfoEnoder code with
#ifdef STANDALONE_BUILD ... #else .. #endif blocks, we include a special
header GcInfoUtil.h in STANDALONE_BUILD mode. GcInfoUtil.h is expected to
supply the interface/implementation for the data-structures and utilities
used by GcInfoEncoder. This header should be provided by the clients doing
the standalone build in their source tree.
Diffstat (limited to 'src/.nuget')
-rw-r--r-- | src/.nuget/Microsoft.DotNet.CoreCLR.Debug.Development.nuspec | 5 | ||||
-rw-r--r-- | src/.nuget/Microsoft.DotNet.CoreCLR.Development.nuspec | 3 |
2 files changed, 7 insertions, 1 deletions
diff --git a/src/.nuget/Microsoft.DotNet.CoreCLR.Debug.Development.nuspec b/src/.nuget/Microsoft.DotNet.CoreCLR.Debug.Development.nuspec index 7cedd34318..4fbbdf5791 100644 --- a/src/.nuget/Microsoft.DotNet.CoreCLR.Debug.Development.nuspec +++ b/src/.nuget/Microsoft.DotNet.CoreCLR.Debug.Development.nuspec @@ -40,6 +40,9 @@ <file src="..\inc\corinfo.h" target="inc\corinfo.h" /> <file src="..\inc\corjit.h" target="inc\corjit.h" /> <file src="..\inc\opcode.def" target="inc\opcode.def" /> - <file src="..\inc\openum.h" target="inc\openum.h" /> + <file src="..\inc\openum.h" target="inc\openum.h" /> + <file src="..\inc\gcinfoencoder.h" target="inc\gcinfoencoder.h" /> + <file src="..\inc\gcinfotypes.h" target="inc\gcinfotypes.h" /> + <file src="..\gcinfo\gcinfoencoder.cpp" target="gcinfo\gcinfoencoder.cpp" /> </files> </package> diff --git a/src/.nuget/Microsoft.DotNet.CoreCLR.Development.nuspec b/src/.nuget/Microsoft.DotNet.CoreCLR.Development.nuspec index 0f9a7d052b..fe3a59f472 100644 --- a/src/.nuget/Microsoft.DotNet.CoreCLR.Development.nuspec +++ b/src/.nuget/Microsoft.DotNet.CoreCLR.Development.nuspec @@ -41,5 +41,8 @@ <file src="..\inc\corjit.h" target="inc\corjit.h" /> <file src="..\inc\opcode.def" target="inc\opcode.def" /> <file src="..\inc\openum.h" target="inc\openum.h" /> + <file src="..\inc\gcinfoencoder.h" target="inc\gcinfoencoder.h" /> + <file src="..\inc\gcinfotypes.h" target="inc\gcinfotypes.h" /> + <file src="..\.\gcinfo\gcinfoencoder.cpp" target="gcinfo\gcinfoencoder.cpp" /> </files> </package> |