Gearslip installs on 32-bit ARM and x86_64 phones too

This commit is contained in:
Seb3thehacker committed 2026-11-05 12:41:56 -08:00
1 parent e8025113e9
commit 20cab97a55
3 files changed
+8 -3

No files matched your search

+8 -3
View File
@@ -109,11 +109,16 @@ android {
}
defaultConfig {
// Speech-to-text (sherpa-onnx, in jniLibs) ships for 64-bit ARM only: every phone
// Gearslip runs on, and one copy of the native library instead of four.
ndk { abiFilters += "arm64-v8a" }
// Speech-to-text (sherpa-onnx 1.13.8, static-link-onnxruntime build, in jniLibs) is the
// only native code. One APK for all three, since the updater takes the release's only APK;
// 32-bit x86 is left out, nothing that drives a car runs it.
ndk { abiFilters += listOf("arm64-v8a", "armeabi-v7a", "x86_64") }
}
// Compressed, the three copies cost a 33 MB download instead of 75 MB; the phone unpacks
// only its own at install.
packaging { jniLibs { useLegacyPackaging = true } }
testOptions {
// GearslipLog calls android.util.Log, which is a stub on the local JVM.
unitTests.isReturnDefaultValues = true