Skip to content
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

chore(android): ndk update #13992

Merged
merged 1 commit into from
Jun 15, 2024
Merged

chore(android): ndk update #13992

merged 1 commit into from
Jun 15, 2024

Conversation

m1ga
Copy link
Contributor

@m1ga m1ga commented Feb 15, 2024

Another small update to bring the Android toolchain to higher versions. Can be merged with #13966 (cmake, checkstyle update).

Current NDK is 21. This will update the module build to use 22.1.7171670.

I had to add APP_LD=deprecated

LLD is now used by default. If your build is not yet compatible with LLD, you can continue using the deprecated linkers, set APP_LD=deprecated for ndk-build, ANDROID_LD=deprecated for CMake, or use an explicit -fuse-ld=gold or -fuse-ld=bfd in your custom build system.

so something we'll need to look out for in a future update.

NDK is installed the first time you've build a module. Gradle will automatically use 21, using the build.gradle file we can override that version. You can even put a build.gradle into your module and use a different NDK version if needed.

Tests:

  • build a module
  • ndk22 will install during first build
  • module should build fine
  • app with module should run

@m1ga m1ga mentioned this pull request Feb 15, 2024
1 task
@hansemannn hansemannn merged commit a852835 into master Jun 15, 2024
6 checks passed
@m1ga m1ga deleted the ndkUpdate branch June 15, 2024 13:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants