vpn/native/android/libs/README.md
2026-09-23 01:19:36 +00:00

15 lines
722 B
Markdown

# Local Android engine artifacts
This directory is intentionally ignored by git. Put reviewed, pinned native
artifacts here before making a release APK:
- `freeturn.aar` — built from the FreeTurn commit recorded in
`THIRD_PARTY_NOTICES.md`.
- `libbox.aar` — the exact SignBox artifact with the API used by
`EngineAdapter.kt`; a generic sing-box AAR is not assumed to be compatible.
`scripts/build-android.sh` extracts `classes.jar` and `jni/*` from each AAR into
the Flet Android extension because Gradle does not allow a direct local AAR
dependency while building the extension AAR. It then runs the normal Flet APK
build. Use `REQUIRE_NATIVE_ARTIFACTS=1` for a release build so no engine is
silently omitted.