Install latest Android SDK toolchain packages

This commit is contained in:
2026-06-05 13:12:30 +02:00
parent e731c06330
commit 8a4ca331cb
7 changed files with 313 additions and 29 deletions

View File

@@ -1437,11 +1437,12 @@ monolithically, and share a generated `nanort` compatibility overlay from
`android/cmake/PanoPainterAndroidLegacyCompat.cmake` instead of dirtying the
vendor submodule. The standard package `native-lib` arm64 target now compiles
and links with the current NDK; Quest and Focus configure with the aligned Yoga
source list and their SDK imported-library paths. Android automation now
discovers the newest installed SDK-managed NDK and CMake package before
configuring Android presets or retained package paths; on the current Windows
host that selects NDK `30.0.14904198` and CMake `4.1.2` after installing the
latest NDK through `sdkmanager`.
source list and their SDK imported-library paths. Android automation now uses
`sdkmanager` to compare the newest available SDK-managed NDK and CMake packages,
installs newer or missing packages when needed, and selects those versions
before configuring Android presets or retained package paths; on the current
Windows host both NDK `30.0.14904198` and CMake `4.1.2` report
`already-latest-available`.
Implementation tasks:
@@ -2395,9 +2396,10 @@ Results:
configures/builds `native-lib` directly for arm64 using C++23 and the shared
modern component source set, while Quest and Focus package CMake paths
configure with the same compatibility helper and current Yoga source list.
The Android platform-build wrapper and retained package helper now select the
newest installed SDK Manager NDK/CMake pair automatically and report the
selected versions in their structured output. `package-smoke.ps1
The Android platform-build wrapper and retained package helper now query
`sdkmanager`, install newer/missing SDK Manager NDK/CMake packages when
needed, select that pair automatically, and report the selected versions plus
update decisions in their structured output. `package-smoke.ps1
-ReadinessOnly -AndroidNativeChecks -PackageKinds
android-standard-apk,android-quest-apk,android-focus-apk` now runs those
retained native checks from the package-smoke surface while keeping APK