[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
[tor-commits] [tor-browser] 02/69: Bug 40857: Modified the fat .aar creation file
This is an automated email from the git hooks/post-receive script.
richard pushed a commit to branch tor-browser-102.2.0esr-12.0-3
in repository tor-browser.
commit fde438b1d16ef61effc6ff1fc97f73a0328040ec
Author: Pier Angelo Vendrame <pierov@xxxxxxxxxxxxxx>
AuthorDate: Wed Apr 6 22:34:02 2022 +0200
Bug 40857: Modified the fat .aar creation file
This is a workaround to build fat .aars with the compiling enviornment
disabled.
Mozilla does not use a similar configuration, but either runs a Firefox
build and discards its output, or uses artifacts build.
We might switch to artifact builds too, and drop this patch, or write a
better one to upstream. But until then we need this patch.
See also https://bugzilla.mozilla.org/show_bug.cgi?id=1763770.
---
mobile/android/gradle/with_gecko_binaries.gradle | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/mobile/android/gradle/with_gecko_binaries.gradle b/mobile/android/gradle/with_gecko_binaries.gradle
index 702c4bacc629b..170d7feecd5af 100644
--- a/mobile/android/gradle/with_gecko_binaries.gradle
+++ b/mobile/android/gradle/with_gecko_binaries.gradle
@@ -198,7 +198,7 @@ ext.configureVariantWithGeckoBinaries = { variant ->
def distDir = "${topobjdir}/dist/geckoview"
def syncOmnijarFromDistDir
- if (hasCompileArtifacts()) {
+ if (hasCompileArtifacts() || true) {
syncOmnijarFromDistDir = task("syncOmnijarFromDistDirFor${variant.name.capitalize()}", type: Sync) {
onlyIf {
if (source.empty) {
@@ -254,7 +254,7 @@ ext.configureVariantWithGeckoBinaries = { variant ->
} }()
syncLibsFromDistDir.onlyIf { task ->
- if (!hasCompileArtifacts()) {
+ if (!hasCompileArtifacts() || true) {
// We won't have JNI libraries if we're not compiling and we're not downloading
// artifacts. Such a configuration is used for running lints, generating docs, etc.
return true
@@ -272,7 +272,7 @@ ext.configureVariantWithGeckoBinaries = { variant ->
}
}
- if (hasCompileArtifacts()) {
+ if (hasCompileArtifacts() || true) {
// Local (read, not 'official') builds want to reflect developer changes to
// the omnijar sources, and (when compiling) to reflect developer changes to
// the native binaries. To do this, the Gradle build calls out to the
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits