This is a fork of https://github.com/cdave1/freetype2-android with small modifications to:
-
Build for all platforms relevant for Castle Game Engine:
- 32-bit ARM (android-19 platform, minimal platform possible with NDK 25).
- 64-bit ARM (aka Aarch64) (android-21, minimal platform possible).
- 32-bit X86
- 64-bit X86 (x86_64) (both x86 and x86_64 are mostly useful in emulators/virtual machines).
-
Has 16 KB ELF alignment when compiled with NDK 25, per latest Google Play requirements.
-
Easily copy the output to Castle Game Engine tree.
Just use make build. This calls ndk-build to compile the libraries and copies them to Castle Game Engine tree (assumed in $CASTLE_ENGINE_PATH).
See README-original.md for license and original (from https://github.com/cdave1/freetype2-android ) comments. Most of them still apply -- the changes here are minimal.