Skip to content

Conversation

@radekdoulik
Copy link
Member

Context: dotnet/android#5451

Split the code to static helper class, which can be used from
Java.Interop.Tools.TypeNameMappings.JavaNativeTypeManager.GetPackageName.

This way the linker can strip the whole
System.Security.Cryptography.Primitives assembly out of simple XA
apps.

The Crc64 is still needed in XA, so we still keep it based
on System.Security.Cryptography.HashAlgorithm.

Context: dotnet/android#5451

Split the code to static helper class, which can be used from
`Java.Interop.Tools.TypeNameMappings.JavaNativeTypeManager.GetPackageName`.

This way the linker can strip the whole
`System.Security.Cryptography.Primitives` assembly out in simple XA
apps.

The `Crc64` is still needed in XA, so we still keep it based
on `System.Security.Cryptography.HashAlgorithm`.
@grendello grendello merged commit 7d197f1 into dotnet:master Jan 4, 2021
@jpobst jpobst added this to the 11.2 (16.10 / 8.10) milestone Jan 5, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Apr 12, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants