Require 16kb pages sizes for Android builds#625
Conversation
Google announced that starting Nov 2025 all apps in the Play Store will be required to be compatible with 16KB page sizes (cf. https://developer.android.com/guide/practices/page-sizes). Here we update our linker flags to ensure the generated shared libraries meet that requirement.
|
👋 Thanks for assigning @TheBlueMatt as a reviewer! |
TheBlueMatt
left a comment
There was a problem hiding this comment.
Where'd you get the common-page-size option from? The Google docs seem to indicate we only need the max-page-size option.
They mention it here for NDK r22 and lower: https://developer.android.com/guide/practices/page-sizes#compile-r22-lower |
Fixes #624.
Google announced that starting Nov 2025 all apps in the Play Store will be required to be compatible with 16KB page sizes (cf. https://developer.android.com/guide/practices/page-sizes). Here we update our linker flags to ensure the generated shared libraries meet that requirement.