Unterstütze den Ausbau der fairapps.net Infrastruktur und Serviceangebote per Crowdfunding oder hilf mit Issues zu lösen!

Commit 23f34e29 authored by armin's avatar armin

support for multiarch

parent 9435021a
...@@ -105,25 +105,32 @@ android { ...@@ -105,25 +105,32 @@ android {
defaultConfig { defaultConfig {
def archCode = 0
if (android_armv7 == 1) { if (android_armv7 == 1) {
ndk { ndk {
abiFilters 'armeabi-v7a' abiFilters 'armeabi-v7a'
} }
archCode = 0
} else if (android_armv8 == 1){ } else if (android_armv8 == 1){
ndk { ndk {
abiFilters 'arm64-v8a' abiFilters 'arm64-v8a'
} }
archCode = 1
} else if(android_x86 == 1){ } else if(android_x86 == 1){
ndk { ndk {
abiFilters 'x86' abiFilters 'x86'
} }
archCode = 2
}else if(android_x86_64 == 1){ }else if(android_x86_64 == 1){
ndk { ndk {
abiFilters 'x86_64' abiFilters 'x86_64'
} }
archCode = 3
} }
versionCode versionMajor * (100000 + versionMinor * 1000)+1 + versionPatch * 100
versionCode versionMajor * 100000 + versionMinor * 1000 + versionPatch * 10 +archCode
versionName QtApp.VERSION versionName QtApp.VERSION
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment