Add only one architecture per apk

This commit is contained in:
Paul Rouget 2018-11-14 11:41:38 +01:00
parent b1a2b6b5bf
commit 971bda7b10

View file

@ -65,28 +65,52 @@ android {
// Custom build types // Custom build types
armDebug { armDebug {
initWith(debug) initWith(debug)
ndk {
abiFilters getNDKAbi('arm')
}
} }
armRelease { armRelease {
initWith(release) initWith(release)
ndk {
abiFilters getNDKAbi('arm')
}
} }
armv7Debug { armv7Debug {
initWith(debug) initWith(debug)
ndk {
abiFilters getNDKAbi('armv7')
}
} }
armv7Release { armv7Release {
initWith(release) initWith(release)
ndk {
abiFilters getNDKAbi('armv7')
}
} }
arm64Debug { arm64Debug {
initWith(debug) initWith(debug)
ndk {
abiFilters getNDKAbi('arm64')
}
} }
arm64Release { arm64Release {
initWith(release) initWith(release)
ndk {
abiFilters getNDKAbi('arm64')
}
} }
x86Debug { x86Debug {
initWith(debug) initWith(debug)
ndk {
abiFilters getNDKAbi('x86')
}
} }
x86Release { x86Release {
initWith(release) initWith(release)
ndk {
abiFilters getNDKAbi('x86')
}
} }
} }