specify ABI per-debug/release: no x86 for release

This is as it was before I updated my invocation of NDK recently.
This commit is contained in:
Eric House 2020-04-06 17:56:40 -07:00
parent 674b9dbccf
commit 0904a5299e

View file

@ -223,6 +223,9 @@ android {
externalNativeBuild { externalNativeBuild {
ndkBuild.arguments += ['BUILD_TARGET=release'] ndkBuild.arguments += ['BUILD_TARGET=release']
} }
ndk {
abiFilters 'armeabi-v7a', 'arm64-v8a'
}
} }
debug { debug {
debuggable true debuggable true
@ -238,6 +241,10 @@ android {
arguments += ['BUILD_TARGET=debug'] arguments += ['BUILD_TARGET=debug']
} }
} }
ndk {
abiFilters 'armeabi-v7a', 'arm64-v8a', 'x86', 'x86_64'
}
} }
} }