mirror of
https://github.com/VSadov/Satori.git
synced 2025-06-10 18:11:04 +09:00
[mono][ios] Add support for stripping during AOT compilation on iOS (#87728)
* Add support for stripping debug symbols and enabling IL stripping during AOT compilation on iOS
This commit is contained in:
parent
919d316fa8
commit
9e93f42dce
3 changed files with 5 additions and 1 deletions
|
@ -15,7 +15,9 @@
|
|||
<UseMonoRuntime>true</UseMonoRuntime>
|
||||
<UseMonoJustInterp Condition="'$(RunAOTCompilation)' == 'true' and '$(MonoForceInterpreter)' == 'true'">true</UseMonoJustInterp>
|
||||
|
||||
<!--<ShouldILStrip Condition="'$(RunAOTCompilation)' == 'true' and '$(MonoForceInterpreter)' != 'true'">true</ShouldILStrip>-->
|
||||
<StripDebugSymbols Condition="'$(StripDebugSymbols)' == ''" >false</StripDebugSymbols>
|
||||
<!-- Tracking issue: https://github.com/dotnet/runtime/issues/87740 -->
|
||||
<!-- <ShouldILStrip Condition="'$(RunAOTCompilation)' == 'true' and '$(MonoForceInterpreter)' != 'true'">true</ShouldILStrip> -->
|
||||
|
||||
<_IsLibraryMode Condition="'$(NativeLib)' != ''">true</_IsLibraryMode>
|
||||
|
||||
|
|
|
@ -261,6 +261,7 @@
|
|||
ProjectName="$(AppName)"
|
||||
RuntimeComponents="$(RuntimeComponents)"
|
||||
TargetOS="$(TargetOS)"
|
||||
StripSymbolTable="$(StripDebugSymbols)"
|
||||
ExcludeFromAppDir="@(_ExcludeFromAppDir)"
|
||||
UseConsoleUITemplate="$(UseConsoleUITemplate)">
|
||||
<Output TaskParameter="AppBundlePath" PropertyName="AppBundlePath" />
|
||||
|
|
|
@ -13,6 +13,7 @@
|
|||
<PublishTrimmed>true</PublishTrimmed>
|
||||
<TrimMode>Link</TrimMode>
|
||||
<Optimized Condition="'$(Configuration)' == 'Release'">true</Optimized>
|
||||
<ShouldILStrip Condition="'$(RunAOTCompilation)' == 'true' and '$(MonoForceInterpreter)' != 'true'">true</ShouldILStrip>
|
||||
|
||||
<EnableDefaultAssembliesToBundle>true</EnableDefaultAssembliesToBundle>
|
||||
<AppleGenerateAppBundle>true</AppleGenerateAppBundle>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue