Skip to content

Commit

Permalink
Use OptimizeForSize condition in SPC only on Browser (#50413)
Browse files Browse the repository at this point in the history
The size impact doesn't matter for tvOS.
  • Loading branch information
akoeplinger committed Mar 30, 2021
1 parent 20864e7 commit b23205f
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
<SupportsX86Intrinsics Condition="'$(Platform)' == 'x64' or ('$(Platform)' == 'x86' and '$(TargetsUnix)' != 'true')">true</SupportsX86Intrinsics>
<ILLinkSharedDirectory>$(MSBuildThisFileDirectory)ILLink\</ILLinkSharedDirectory>
<Is64Bit Condition="'$(Platform)' == 'arm64' or '$(Platform)' == 'x64'">true</Is64Bit>
<OptimizeForSize Condition="'$(TargetsBrowser)' == 'true' or '$(TargetstvOS)' == 'true'">true</OptimizeForSize>
<OptimizeForSize Condition="'$(TargetsBrowser)' == 'true'">true</OptimizeForSize>
</PropertyGroup>
<PropertyGroup>
<DefineConstants Condition="'$(Is64Bit)' != 'true'">$(DefineConstants);TARGET_32BIT</DefineConstants>
Expand Down

0 comments on commit b23205f

Please sign in to comment.