Android build setup: Enable flexible page sizes

This commit is contained in:
Henrik Rydgård committed 2025-06-10 16:15:32 +02:00
1 parent 5c47fc3419
commit 5bc08cfae7
2 files changed
+5

No files matched your search

+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