-
Notifications
You must be signed in to change notification settings - Fork 561
[tests] Add app size test for macOS, Mac Catalyst and tvOS as well. #25106
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Changes from all commits
8ca5bf9
da07a76
a0bc0da
3b5d58d
0f48288
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -2962,6 +2962,15 @@ Copyright (C) 2018 Microsoft. All rights reserved. | |||||||||||||||||||||||||||||
| <!-- This is the name of the dSYM that will be created (if that's the case) --> | ||||||||||||||||||||||||||||||
| <DSymName>%(Filename).dSYM</DSymName> | ||||||||||||||||||||||||||||||
| </_PostProcessingItem> | ||||||||||||||||||||||||||||||
| <!-- In outer multi-RID builds the merged app bundle already contains the universal dylibs, | ||||||||||||||||||||||||||||||
| but the RID-specific native references are no longer available as items. Scan the merged | ||||||||||||||||||||||||||||||
| app bundle so that dsymutil/strip still runs for those dylibs. --> | ||||||||||||||||||||||||||||||
| <_MergedAppBundleDylib Include="$(AppBundleDir)/$(_AppContentsRelativePathForPostProcessing)*.dylib" Condition="'$(RuntimeIdentifiers)' != ''" /> | ||||||||||||||||||||||||||||||
| <_PostProcessingItem Include="@(_MergedAppBundleDylib -> '$(_AppBundleName)$(AppBundleExtension)/$(_AppContentsRelativePathForPostProcessing)%(Filename)%(Extension)')" Condition="'$(RuntimeIdentifiers)' != ''"> | ||||||||||||||||||||||||||||||
| <ItemSourcePath>$(_AppContainerDir)%(_PostProcessingItem.Identity)</ItemSourcePath> | ||||||||||||||||||||||||||||||
| <dSYMSourcePath>$(_AppContainerDir)%(_PostProcessingItem.Identity).dSYM</dSYMSourcePath> | ||||||||||||||||||||||||||||||
| <DSymName>%(Filename).dSYM</DSymName> | ||||||||||||||||||||||||||||||
|
Comment on lines
+2968
to
+2972
|
||||||||||||||||||||||||||||||
| <_MergedAppBundleDylib Include="$(AppBundleDir)/$(_AppContentsRelativePathForPostProcessing)*.dylib" Condition="'$(RuntimeIdentifiers)' != ''" /> | |
| <_PostProcessingItem Include="@(_MergedAppBundleDylib -> '$(_AppBundleName)$(AppBundleExtension)/$(_AppContentsRelativePathForPostProcessing)%(Filename)%(Extension)')" Condition="'$(RuntimeIdentifiers)' != ''"> | |
| <ItemSourcePath>$(_AppContainerDir)%(_PostProcessingItem.Identity)</ItemSourcePath> | |
| <dSYMSourcePath>$(_AppContainerDir)%(_PostProcessingItem.Identity).dSYM</dSYMSourcePath> | |
| <DSymName>%(Filename).dSYM</DSymName> | |
| <_MergedAppBundleDylib Include="$(AppBundleDir)/$(_AppContentsRelativePathForPostProcessing)*.dylib" Condition="'$(RuntimeIdentifiers)' != ''"> | |
| <NuGetPackageId>@(ResolvedFileToPublish->WithMetadataValue('RelativePath', '$(_AppContentsRelativePathForPostProcessing)%(Filename)%(Extension)')->'%(NuGetPackageId)')</NuGetPackageId> | |
| </_MergedAppBundleDylib> | |
| <_PostProcessingItem Include="@(_MergedAppBundleDylib -> '$(_AppBundleName)$(AppBundleExtension)/$(_AppContentsRelativePathForPostProcessing)%(Filename)%(Extension)')" Condition="'$(RuntimeIdentifiers)' != ''"> | |
| <ItemSourcePath>$(_AppContainerDir)%(_PostProcessingItem.Identity)</ItemSourcePath> | |
| <dSYMSourcePath>$(_AppContainerDir)%(_PostProcessingItem.Identity).dSYM</dSYMSourcePath> | |
| <DSymName>%(Filename).dSYM</DSymName> | |
| <NuGetPackageId>%(NuGetPackageId)</NuGetPackageId> | |
| <NoSymbolStrip Condition="'%(NuGetPackageId)' != '' And $([System.String]::Copy('%(NuGetPackageId)').StartsWith('Microsoft.NETCore.App.Runtime'))">true</NoSymbolStrip> |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The comment says “Only remove debug symbols from frameworks”, but this branch now applies the same strip flags to dynamic libraries too. Please update the comment to match the new behavior (frameworks and dylibs) so future readers don’t misinterpret why -S/-x are used here.