whisper.android : migrate from ndk-build to CMake (#1204)

This commit is contained in:
junkfood
2023-08-28 00:35:16 +08:00
committed by GitHub
parent 7ef3f3837e
commit 20a80972f4
5 changed files with 49 additions and 47 deletions

View File

@@ -18,6 +18,9 @@ android {
vectorDrawables {
useSupportLibrary true
}
ndk {
abiFilters 'arm64-v8a', 'armeabi-v7a'
}
}
buildTypes {
@@ -42,8 +45,8 @@ android {
}
ndkVersion "25.1.8937393"
externalNativeBuild {
ndkBuild {
path 'src/main/jni/whisper/Android.mk'
cmake {
path = file("src/main/jni/whisper/CMakeLists.txt")
}
}
packagingOptions {