Skip to content

Conversation

jkoritzinsky
Copy link
Member

…er flavor that fixes issues in the java toolchain (pulling from the dotnet/android targets)
@Copilot Copilot AI review requested due to automatic review settings July 22, 2025 22:16
@jkoritzinsky jkoritzinsky requested review from jtschuster and removed request for Copilot July 22, 2025 22:16
Copy link
Contributor

@Copilot Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR adds support for Android Runtime Identifiers (RIDs) to NativeAOT compilation by treating Android as a Linux variant in the NativeAOT toolchain. The changes enable Android applications to be compiled using NativeAOT, which provides ahead-of-time compilation benefits for mobile platforms.

Key changes:

  • Configures NativeAOT compiler to treat Android as Linux for compilation purposes
  • Sets up Android-specific linker and cryptography library configurations
  • Updates build system to recognize Android as a supported NativeAOT target platform

Reviewed Changes

Copilot reviewed 3 out of 3 changed files in this pull request and generated 1 comment.

File Description
Microsoft.NETCore.Native.targets Maps Android target OS to Linux for NativeAOT compiler
Microsoft.NETCore.Native.Unix.targets Configures Android-specific linker and crypto libraries
eng/Subsets.props Adds Android to supported NativeAOT platforms and build subsets

@risc-vv
Copy link

risc-vv commented Jul 22, 2025

@dotnet/samsung Could you please take a look? These changes may be related to riscv64.

Co-authored-by: Michal Strehovský <[email protected]>
Co-authored-by: Adeel Mujahid <[email protected]>
@jkoritzinsky
Copy link
Member Author

/ba-g wasm failures unrelated

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants