Skip to content

Conversation

@MAJigsaw77
Copy link
Contributor

This pr adds support for 16 KB page sizes on both Android toolchains.

https://developer.android.com/guide/practices/page-sizes

Starting November 1st, 2025, all new apps and updates to existing apps submitted to Google Play and targeting Android 15+ devices must support 16 KB page sizes on 64-bit devices.

@tobil4sk
Copy link
Member

I think we should add this conditionally based on ndk version, since we don't have to enable it manually for r28+. We also need an additional flag for ndk 22 and below:

https://developer.android.com/guide/practices/page-sizes#compile-16-kb-alignment

Also, does it make sense to enable it for the gcc toolchain? It is only used for ndks older than r19.

@MAJigsaw77
Copy link
Contributor Author

I think we should add this conditionally based on ndk version, since we don't have to enable it manually for r28+. We also need an additional flag for ndk 22 and below:

https://developer.android.com/guide/practices/page-sizes#compile-16-kb-alignment

Also, does it make sense to enable it for the gcc toolchain? It is only used for ndks older than r19.

In case someone uses an ndk older than 19, this should still be supported ig.

@tobil4sk
Copy link
Member

Hi @Simn, would you be able to consider this for merge? The deadline for this requirement is approaching in a few months so it will be good to have this patch out.

@Simn Simn merged commit 45246fd into HaxeFoundation:master Aug 30, 2025
120 checks passed
@MAJigsaw77 MAJigsaw77 deleted the feature/support-16KB-page-sizes branch August 30, 2025 13:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants