New: Add Android build support on macOS

Enable Android SDK/NDK discovery on macOS, use the darwin-x86_64 NDK
toolchain, and support the modern NDK include layout used by NDK r27.
This commit is contained in:
Andrei Gagua
2026-05-30 18:18:43 +03:00
parent 6daec81db1
commit 04f2274272
7 changed files with 42 additions and 17 deletions
@@ -963,7 +963,7 @@ void AndroidPlatform::Tick()
// Pool app events
int events;
android_poll_source* source;
while (ALooper_pollAll(0, nullptr, &events, reinterpret_cast<void**>(&source)) >= 0)
while (ALooper_pollOnce(0, nullptr, &events, reinterpret_cast<void**>(&source)) >= 0)
{
// Process event
if (source != nullptr)