Skip to content

Android nuget package build broken in runtime.Linux.Microsoft.NETCore.Runtime.CoreCLR.props #8620

@cydhaselton

Description

@cydhaselton

The Android conditional set up to exclude libsosplugin.so and createdump from being included in packages is broken; the following code no longer works:

<_PlatformDoesNotSupportSosPlugin Condition="'$(_runtimeOSFamily)' == 'android'">true</_PlatformDoesNotSupportSosPlugin>

link

Replacing the line with the following conditionals allows the build to finish successfully...

<_PlatformDoesNotSupportSosPlugin Condition="'$(_runtimeOSFamily)' == 'android'">true</_PlatformDoesNotSupportSosPlugin>
<_PlatformDoesNotSupportCreatedump Condition="'$(Platform)' == 'arm'">true</_PlatformDoesNotSupportCreatedump>

...but may not be accurate (i.e. other arm64 OSs may build those two files.)

NOTE: Not sure if this is relevant but running the build.sh script with the necessary cross variables does not pick up the correct value for __DistroRid; pretty sure that android.21-arm64 was detected successfully after dotnet/coreclr#10286

Metadata

Metadata

Assignees

No one assigned

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions