Android build setup: Enable flexible page sizes

This commit is contained in:
Henrik Rydgård
2025-01-05 16:03:22 +01:00
parent 5c47fc3419
commit 5bc08cfae7
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -142,6 +142,7 @@ android {
'-DANDROID_PLATFORM=android-16',
'-DANDROID_TOOLCHAIN=clang',
'-DANDROID_CPP_FEATURES=',
'-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON',
'-DANDROID_STL=c++_static'
}
}
@@ -161,6 +162,7 @@ android {
'-DANDROID_CPP_FEATURES=',
'-DANDROID_STL=c++_static',
'-DANDROID_ARM_NEON=TRUE',
'-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON',
'-DGOLD=TRUE'
}
}
@@ -180,6 +182,7 @@ android {
'-DANDROID_TOOLCHAIN=clang',
'-DANDROID_CPP_FEATURES=',
'-DANDROID_STL=c++_static',
'-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON',
'-DANDROID_LEGACY=TRUE'
}
}
@@ -200,6 +203,7 @@ android {
'-DANDROID_CPP_FEATURES=',
'-DANDROID_STL=c++_static',
'-DANDROID_ARM_NEON=TRUE',
'-DANDROID_SUPPORT_FLEXIBLE_PAGE_SIZES=ON',
'-DOPENXR=TRUE',
'-DANDROID_LEGACY=TRUE'
}
+1
View File
@@ -2,4 +2,5 @@ APP_STL := c++_static
APP_PLATFORM := android-9
APP_ABI := arm64-v8a armeabi-v7a x86_64
APP_GNUSTL_CPP_FEATURES := exceptions
APP_SUPPORT_FLEXIBLE_PAGE_SIZES := true
NDK_TOOLCHAIN_VERSION := clang