mirror of
https://github.com/fork-maintainers/iceraven-browser
synced 2024-11-11 13:11:01 +00:00
[fenix] Fixes https://github.com/mozilla-mobile/fenix/issues/445 - Ship Fenix x86_64 builds (https://github.com/mozilla-mobile/fenix/pull/2856)
This commit is contained in:
parent
e70c7c8037
commit
264f522b37
@ -71,16 +71,22 @@ android {
|
||||
abiFilter "armeabi-v7a"
|
||||
}
|
||||
}
|
||||
aarch64 {
|
||||
dimension "abi"
|
||||
ndk {
|
||||
abiFilter "arm64-v8a"
|
||||
}
|
||||
}
|
||||
x86 {
|
||||
dimension "abi"
|
||||
ndk {
|
||||
abiFilter "x86"
|
||||
}
|
||||
}
|
||||
aarch64 {
|
||||
x86_64 {
|
||||
dimension "abi"
|
||||
ndk {
|
||||
abiFilter "arm64-v8a"
|
||||
abiFilter "x86_64"
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -133,7 +139,9 @@ android.applicationVariants.all { variant ->
|
||||
// Our x86 builds need a higher version code to avoid installing ARM builds on an x86 device
|
||||
// with ARM compatibility mode.
|
||||
|
||||
if (variant.flavorName.contains("x86")) {
|
||||
if (variant.flavorName.contains("x86_64")) {
|
||||
versionCode = versionCode + 3
|
||||
} else if (variant.flavorName.contains("x86")) {
|
||||
versionCode = versionCode + 2
|
||||
} else if (variant.flavorName.contains("aarch64")) {
|
||||
versionCode = versionCode + 1
|
||||
@ -319,8 +327,9 @@ dependencies {
|
||||
implementation Deps.mozilla_lib_fetch_httpurlconnection
|
||||
|
||||
armImplementation Gecko.geckoview_beta_arm
|
||||
x86Implementation Gecko.geckoview_beta_x86
|
||||
aarch64Implementation Gecko.geckoview_beta_aarch64
|
||||
x86Implementation Gecko.geckoview_beta_x86
|
||||
x86_64Implementation Gecko.geckoview_beta_x86_64
|
||||
|
||||
implementation Deps.androidx_legacy
|
||||
implementation Deps.androidx_preference
|
||||
|
@ -11,14 +11,17 @@ object GeckoVersions {
|
||||
@Suppress("MaxLineLength")
|
||||
object Gecko {
|
||||
const val geckoview_nightly_arm = "org.mozilla.geckoview:geckoview-nightly-armeabi-v7a:${GeckoVersions.nightly_version}"
|
||||
const val geckoview_nightly_x86 = "org.mozilla.geckoview:geckoview-nightly-x86:${GeckoVersions.nightly_version}"
|
||||
const val geckoview_nightly_aarch64 = "org.mozilla.geckoview:geckoview-nightly-arm64-v8a:${GeckoVersions.nightly_version}"
|
||||
const val geckoview_nightly_x86 = "org.mozilla.geckoview:geckoview-nightly-x86:${GeckoVersions.nightly_version}"
|
||||
const val geckoview_nightly_x86_64 = "org.mozilla.geckoview:geckoview-nightly-x86_64:${GeckoVersions.nightly_version}"
|
||||
|
||||
const val geckoview_beta_arm = "org.mozilla.geckoview:geckoview-beta-armeabi-v7a:${GeckoVersions.beta_version}"
|
||||
const val geckoview_beta_x86 = "org.mozilla.geckoview:geckoview-beta-x86:${GeckoVersions.beta_version}"
|
||||
const val geckoview_beta_aarch64 = "org.mozilla.geckoview:geckoview-beta-arm64-v8a:${GeckoVersions.beta_version}"
|
||||
const val geckoview_beta_x86 = "org.mozilla.geckoview:geckoview-beta-x86:${GeckoVersions.beta_version}"
|
||||
const val geckoview_beta_x86_64 = "org.mozilla.geckoview:geckoview-beta-x86_64:${GeckoVersions.beta_version}"
|
||||
|
||||
const val geckoview_release_arm = "org.mozilla.geckoview:geckoview-armeabi-v7a:${GeckoVersions.release_version}"
|
||||
const val geckoview_release_x86 = "org.mozilla.geckoview:geckoview-x86:${GeckoVersions.release_version}"
|
||||
const val geckoview_release_aarch64 = "org.mozilla.geckoview:geckoview-arm64-v8a:${GeckoVersions.release_version}"
|
||||
const val geckoview_release_x86 = "org.mozilla.geckoview:geckoview-x86:${GeckoVersions.release_version}"
|
||||
const val geckoview_release_x86_64 = "org.mozilla.geckoview:geckoview-x86_64:${GeckoVersions.release_version}"
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user