[release/9.0-staging] Change assembler to clang in android MonoAOT by github-actions[bot] · Pull Request #110812 · dotnet/runtime

Backport of #110393 to release/9.0-staging

Customer Impact

  • Customer reported
  • Found internally

This change will allows us to bump NDK version to newer one. This will increase security.

Regression

  • Yes
  • No

Testing

This changes were tested with both NDK 23 and NDK 27. Both NDK versions resulted in successful android pipeline runs.

Risk

Low/Medium - this changes the assembler and linker used in android build as per Android official recommendation, this can however result in some unexpected behaviour changes which slipped our tests