Skip to content
This repository has been archived by the owner on Feb 20, 2023. It is now read-only.

Commit

Permalink
Use armeabi-v7a version code for MozillaOnline builds
Browse files Browse the repository at this point in the history
  • Loading branch information
rxumoz authored and mergify[bot] committed Aug 23, 2021
1 parent ffad73d commit f88be38
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion app/build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -264,9 +264,11 @@ android.applicationVariants.all { variant ->

variant.outputs.each { output ->
def abi = output.getFilter(OutputFile.ABI)
// If it is a Mozilla Online build, use a unified version code of armeabi-v7a
def arch = (project.hasProperty("mozillaOnline") || gradle.hasProperty("localProperties.mozillaOnline")) ? "armeabi-v7a" : abi
// We use the same version code generator, that we inherited from Fennec, across all channels - even on
// channels that never shipped a Fennec build.
def versionCodeOverride = Config.generateFennecVersionCode(abi)
def versionCodeOverride = Config.generateFennecVersionCode(arch)

println("versionCode for $abi = $versionCodeOverride")

Expand Down

0 comments on commit f88be38

Please sign in to comment.