Enable x86_64 and arm64-v8a ABIs
This commit is contained in:
parent
f69e50bcf6
commit
6457124908
2 changed files with 21 additions and 2 deletions
|
@ -86,6 +86,12 @@ android {
|
|||
flavorDimensions "version", "coreversion", "abi"
|
||||
productFlavors {
|
||||
// ABI
|
||||
armv8 {
|
||||
flavorDimension "abi"
|
||||
ndk {
|
||||
abiFilter "arm64-v8a"
|
||||
}
|
||||
}
|
||||
armv7 {
|
||||
flavorDimension "abi"
|
||||
ndk {
|
||||
|
@ -104,6 +110,12 @@ android {
|
|||
abiFilter "x86"
|
||||
}
|
||||
}
|
||||
x64 {
|
||||
flavorDimension "abi"
|
||||
ndk {
|
||||
abiFilter "x86_64"
|
||||
}
|
||||
}
|
||||
mips {
|
||||
flavorDimension "abi"
|
||||
ndk {
|
||||
|
|
|
@ -13,17 +13,24 @@ endif
|
|||
|
||||
APP_ABI :=
|
||||
ifneq ($(filter x86,$(OSMAND_ARCHITECTURES_SET)),)
|
||||
APP_ABI += x86
|
||||
APP_ABI += x86 x86_64
|
||||
else
|
||||
ifneq ($(filter x64,$(OSMAND_ARCHITECTURES_SET)),)
|
||||
APP_ABI += x86_64
|
||||
endif
|
||||
endif
|
||||
ifneq ($(filter mips,$(OSMAND_ARCHITECTURES_SET)),)
|
||||
APP_ABI += mips
|
||||
endif
|
||||
ifneq ($(filter arm,$(OSMAND_ARCHITECTURES_SET)),)
|
||||
APP_ABI += armeabi armeabi-v7a
|
||||
APP_ABI += armeabi armeabi-v7a arm64-v8a
|
||||
else
|
||||
ifneq ($(filter armv7,$(OSMAND_ARCHITECTURES_SET)),)
|
||||
APP_ABI += armeabi-v7a
|
||||
endif
|
||||
ifneq ($(filter armv8,$(OSMAND_ARCHITECTURES_SET)),)
|
||||
APP_ABI += arm64-v8a
|
||||
endif
|
||||
endif
|
||||
|
||||
ifndef OSMAND_DEBUG_NATIVE
|
||||
|
|
Loading…
Reference in a new issue