Commit 23f34e29 authored by armin's avatar armin

support for multiarch

parent 9435021a
......@@ -105,25 +105,32 @@ android {
defaultConfig {
def archCode = 0
if (android_armv7 == 1) {
ndk {
abiFilters 'armeabi-v7a'
}
archCode = 0
} else if (android_armv8 == 1){
ndk {
abiFilters 'arm64-v8a'
}
archCode = 1
} else if(android_x86 == 1){
ndk {
abiFilters 'x86'
}
archCode = 2
}else if(android_x86_64 == 1){
ndk {
abiFilters 'x86_64'
}
archCode = 3
}
versionCode versionMajor * (100000 + versionMinor * 1000)+1 + versionPatch * 100
versionCode versionMajor * 100000 + versionMinor * 1000 + versionPatch * 10 +archCode
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