specifically only build known abis
This commit is contained in:
parent
e76dfb96bf
commit
695bdc329f
|
@ -111,6 +111,8 @@ android {
|
||||||
abi {
|
abi {
|
||||||
universalApk true
|
universalApk true
|
||||||
enable true
|
enable true
|
||||||
|
reset()
|
||||||
|
include project.ext.abiCodes.keySet() as String[]
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -240,7 +242,7 @@ android {
|
||||||
buildConfig true
|
buildConfig true
|
||||||
}
|
}
|
||||||
|
|
||||||
android.applicationVariants.all { variant ->
|
android.applicationVariants.configureEach { variant ->
|
||||||
variant.outputs.each { output ->
|
variant.outputs.each { output ->
|
||||||
def baseAbiVersionCode = project.ext.abiCodes.get(output.getFilter(com.android.build.OutputFile.ABI))
|
def baseAbiVersionCode = project.ext.abiCodes.get(output.getFilter(com.android.build.OutputFile.ABI))
|
||||||
if (baseAbiVersionCode != null) {
|
if (baseAbiVersionCode != null) {
|
||||||
|
|
Loading…
Reference in a new issue