Skip to content

Commit 8e375d1

Browse files
committed
Enable flexible page sizes in CMake build
Adds the ANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES argument to the CMake configuration in the Gradle build file to support flexible page sizes in native builds.
1 parent ee04ec8 commit 8e375d1

1 file changed

Lines changed: 6 additions & 0 deletions

File tree

android/app/build.gradle

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -119,6 +119,12 @@ android {
119119
// Supported language variants must be declared here to avoid from being removed during the compilation.
120120
// This also helps us to not include unnecessary language variants in the APK.
121121
resConfigs "en", "es"
122+
123+
externalNativeBuild {
124+
cmake {
125+
arguments "-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON"
126+
}
127+
}
122128
}
123129

124130
flavorDimensions "default"

0 commit comments

Comments
 (0)