mirror of
https://github.com/twinksoftware/Gearslip.git
synced 2026-11-10 16:02:25 +01:00
Gearslip installs on 32-bit ARM and x86_64 phones too
This commit is contained in:
1 parent
e8025113e9
commit
20cab97a55
3 files changed
+8
-3
No files matched your search
@@ -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
|
||||
|
||||
Binary file not shown.
Binary file not shown.
Reference in new issue
Block a user