build: add Android arm64 cross-compile support

- Add build-android-arm64, build-launcher-android-arm64, build-all-android
  targets to Makefile and web/Makefile
- Use -tags stdjson (no goolm) for Android; CGO_ENABLED=0 throughout
- Output staged as build/android-staging/arm64-v8a/libpicoclaw{,-web}.so
  for JNI consumption; zip packaging handled by CI
- Exclude Matrix channel from android builds (channel_matrix.go) to avoid
  modernc.org/sqlite CGO dependency
- Exclude systray from android builds; use headless stub instead
  (systray.go / systray_stub_nocgo.go)
This commit is contained in:
sky5454
2026-04-12 17:41:10 +08:00
parent 748ac58dd1
commit 080f532d82
5 changed files with 51 additions and 4 deletions
+1 -1
View File
@@ -1,4 +1,4 @@
//go:build !mipsle && !netbsd && !(freebsd && arm)
//go:build !mipsle && !netbsd && !(freebsd && arm) && !android
package gateway