Don't attempt to generate profiling symbols on Mac OS

This commit is contained in:
Nick Guerrera 2017-11-02 16:35:29 -07:00
parent 4f31e3db66
commit a2d18edb91

View file

@ -233,12 +233,18 @@
Glob="$(CrossgenPath)" Glob="$(CrossgenPath)"
Mode="u+x" /> Mode="u+x" />
<!-- Crossgen does not support generating symbols on Mac -->
<PropertyGroup Condition="'$(CreateCrossgenSymbols)' == ''">
<CreateCrossgenSymbols>true</CreateCrossgenSymbols>
<CreateCrossgenSymbols Condition="'$(OSName)' == 'osx'">false</CreateCrossgenSymbols>
</PropertyGroup>
<Crossgen SourceAssembly="%(CrossgenTargets.FullPath)" <Crossgen SourceAssembly="%(CrossgenTargets.FullPath)"
DestinationPath="%(CrossgenTargets.FullPath)" DestinationPath="%(CrossgenTargets.FullPath)"
JITPath="$(LibCLRJitPath)" JITPath="$(LibCLRJitPath)"
CrossgenPath="$(CrossgenPath)" CrossgenPath="$(CrossgenPath)"
ReadyToRun="True" ReadyToRun="True"
CreateSymbols="True" CreateSymbols="$(CreateCrossgenSymbols)"
DiasymReaderPath="@(DiasymReaderPath)" DiasymReaderPath="@(DiasymReaderPath)"
PlatformAssemblyPaths="@(PlatformAssemblies); PlatformAssemblyPaths="@(PlatformAssemblies);
@(PublishDirSubDirectories); @(PublishDirSubDirectories);