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"
|
flavorDimensions "version", "coreversion", "abi"
|
||||||
productFlavors {
|
productFlavors {
|
||||||
// ABI
|
// ABI
|
||||||
|
armv8 {
|
||||||
|
flavorDimension "abi"
|
||||||
|
ndk {
|
||||||
|
abiFilter "arm64-v8a"
|
||||||
|
}
|
||||||
|
}
|
||||||
armv7 {
|
armv7 {
|
||||||
flavorDimension "abi"
|
flavorDimension "abi"
|
||||||
ndk {
|
ndk {
|
||||||
|
@ -104,6 +110,12 @@ android {
|
||||||
abiFilter "x86"
|
abiFilter "x86"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
x64 {
|
||||||
|
flavorDimension "abi"
|
||||||
|
ndk {
|
||||||
|
abiFilter "x86_64"
|
||||||
|
}
|
||||||
|
}
|
||||||
mips {
|
mips {
|
||||||
flavorDimension "abi"
|
flavorDimension "abi"
|
||||||
ndk {
|
ndk {
|
||||||
|
|
|
@ -13,17 +13,24 @@ endif
|
||||||
|
|
||||||
APP_ABI :=
|
APP_ABI :=
|
||||||
ifneq ($(filter x86,$(OSMAND_ARCHITECTURES_SET)),)
|
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
|
endif
|
||||||
ifneq ($(filter mips,$(OSMAND_ARCHITECTURES_SET)),)
|
ifneq ($(filter mips,$(OSMAND_ARCHITECTURES_SET)),)
|
||||||
APP_ABI += mips
|
APP_ABI += mips
|
||||||
endif
|
endif
|
||||||
ifneq ($(filter arm,$(OSMAND_ARCHITECTURES_SET)),)
|
ifneq ($(filter arm,$(OSMAND_ARCHITECTURES_SET)),)
|
||||||
APP_ABI += armeabi armeabi-v7a
|
APP_ABI += armeabi armeabi-v7a arm64-v8a
|
||||||
else
|
else
|
||||||
ifneq ($(filter armv7,$(OSMAND_ARCHITECTURES_SET)),)
|
ifneq ($(filter armv7,$(OSMAND_ARCHITECTURES_SET)),)
|
||||||
APP_ABI += armeabi-v7a
|
APP_ABI += armeabi-v7a
|
||||||
endif
|
endif
|
||||||
|
ifneq ($(filter armv8,$(OSMAND_ARCHITECTURES_SET)),)
|
||||||
|
APP_ABI += arm64-v8a
|
||||||
|
endif
|
||||||
endif
|
endif
|
||||||
|
|
||||||
ifndef OSMAND_DEBUG_NATIVE
|
ifndef OSMAND_DEBUG_NATIVE
|
||||||
|
|
Loading…
Reference in a new issue