[illink] Set runtime libraries feature switches defaults#5337
Merged
radekdoulik merged 4 commits intodotnet:masterfrom Dec 1, 2020
Merged
[illink] Set runtime libraries feature switches defaults#5337radekdoulik merged 4 commits intodotnet:masterfrom
radekdoulik merged 4 commits intodotnet:masterfrom
Conversation
Set all current feature switches, but `InvariantGlobalization`, to defaults which trim the features. Context: https://github.com/dotnet/runtime/blob/master/docs/workflow/trimming/feature-switches.md Difference in apk size of XA BuildReleaseArm64False test before/after: Summary: - 417,632 Assemblies -15.98% (of 2,613,075)
Member
Author
|
Detailed comparison of the above mentioned apks |
Member
Author
|
@rolfbjarne do you set these feature switches for iOS as well? |
grendello
approved these changes
Nov 27, 2020
dellis1972
reviewed
Nov 27, 2020
...marin.Android.Build.Tasks/Microsoft.Android.Sdk/targets/Microsoft.Android.Sdk.ILLink.targets
Outdated
Show resolved
Hide resolved
Remove `System.Diagnostics.DiagnosticSource.dll` from the list, as it is now linked away as it should be.
dellis1972
reviewed
Nov 30, 2020
...marin.Android.Build.Tasks/Microsoft.Android.Sdk/targets/Microsoft.Android.Sdk.ILLink.targets
Outdated
Show resolved
Hide resolved
jonathanpeppers
approved these changes
Nov 30, 2020
Member
jonathanpeppers
left a comment
There was a problem hiding this comment.
This looks good, I restarted the MBuild device tests.
The CheckIncludedAssemblies test that is failing because of Mono.Android.Export.dll happens on master, so it is unrelated.
rolfbjarne
added a commit
to rolfbjarne/macios
that referenced
this pull request
Dec 10, 2020
Set all current feature switches, except for InvariantGlobalization, to defaults which trim the features. Ref: https://github.com/dotnet/runtime/blob/master/docs/workflow/trimming/feature-switches.md Ref: dotnet/android#5337 This drops the hello world app size from 28.6 MB to 23.5 MB. Full report: https://gist.github.com/rolfbjarne/71cc18b49446862f1d42aa29526b0ac6
rolfbjarne
added a commit
to dotnet/macios
that referenced
this pull request
Dec 10, 2020
Set all current feature switches, except for InvariantGlobalization, to defaults which trim the features. Ref: https://github.com/dotnet/runtime/blob/master/docs/workflow/trimming/feature-switches.md Ref: dotnet/android#5337 This drops the hello world app size from 28.6 MB to 23.5 MB. Full report: https://gist.github.com/rolfbjarne/71cc18b49446862f1d42aa29526b0ac6
This was referenced May 25, 2021
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Set all current feature switches, but
InvariantGlobalization, todefaults which trim the features.
Context: https://github.com/dotnet/runtime/blob/master/docs/workflow/trimming/feature-switches.md
Difference in assembly size of XA BuildReleaseArm64False test before/after: