Alex Hochheiden
3465852b66
Bug 1954747 - Standardize jvmargs across projects to share Gradle daemon r=nalexander,android-reviewers
...
This changes makes all projects use identical `org.gradle.jvmargs`, eliminating
the `Starting a Gradle Daemon, 2 incompatible Daemons could not be reused`warning.
By sharing a single daemon with consistent JVM settings, we greatly reduce the
build’s overall memory footprint.
Differential Revision: https://phabricator.services.mozilla.com/D247878
2025-05-06 22:09:31 +00:00
Aaditya Dhingra
7189580ef9
Bug 1951509 - Fix errors caused by com.google.android.gms.oss.licenses.plugin.LicensesTask and configuration-cache r=android-reviewers,nalexander,ohall
...
As tracking in https://bugzilla.mozilla.org/show_bug.cgi?id=1946302 , com.google.android.gms.oss.licenses.plugin.LicensesTask is not compatible with configuration-cache. The solution originally used was to report those issues as warnings and still attempt to build. This caused issues with UI test in Nightly where in app listing of libraries used is empty.
This patch removes the warnings, the side effect of which is that any tasks using oss plugin will not use configuration-cache, for example, fenix:assembleDebug. A better solution will be tracked in bug 1946302.
Differential Revision: https://phabricator.services.mozilla.com/D240226
2025-03-04 22:00:42 +00:00
Aaditya Dhingra
4425245f16
Bug 1924520 - Enable gradle configuration cache to improve build speed. r=firefox-build-system-reviewers,geckoview-reviewers,android-reviewers,webcompat-reviewers,nalexander,twisniewski,owlish,ohall,willdurand
...
Differential Revision: https://phabricator.services.mozilla.com/D232874
2025-03-04 22:00:41 +00:00
Cristian Tuns
0b7c7fb4a9
Backed out 2 changesets (bug 1924520) partial backout for as requested by Aaditya Dhingra. CLOSED TREE
...
Backed out changeset 17764af0218a (bug 1924520)
Backed out changeset 4447d8955f60 (bug 1924520)
2025-03-03 14:12:45 -05:00
Aaditya Dhingra
64ad68597e
Bug 1924520 - Enable gradle configuration cache to improve build speed. r=firefox-build-system-reviewers,geckoview-reviewers,android-reviewers,webcompat-reviewers,nalexander,twisniewski,owlish,ohall,willdurand
...
Differential Revision: https://phabricator.services.mozilla.com/D232874
2025-03-03 14:03:48 +00:00
Aaditya Dhingra
aca2071c3c
Bug 1947567 - Enable configuration-on-demand. r=android-reviewers,nalexander,florian,ohall
...
Differential Revision: https://phabricator.services.mozilla.com/D237783
2025-02-12 21:22:55 +00:00
Ryan VanderMeulen
33f347e99d
Bug 1886426 - Re-enable the AGP preciseShrinking optimization. r=android-reviewers,mcarare
...
Differential Revision: https://phabricator.services.mozilla.com/D217458
2024-07-24 13:20:01 +00:00
Ryan VanderMeulen
21e282bbb6
Bug 1879132- Upgrade AGP to version 8.3.0. r=mcarare
...
Differential Revision: https://phabricator.services.mozilla.com/D205008
2024-03-19 16:06:32 +00:00
mcarare
4ad5988a37
Bug 1821005 - Disable R8 fullMode for Focus and Fenix.
...
This causes issues with extension methods and methods from libraries.
2023-12-05 03:44:20 +00:00
mcarare
60d3978145
Bug 1821005 - Restore reverted Gradle 8 upgrade due to startup crashes"
...
This reverts commit 592e88b3547d2e96ae04d8b5bd69cbab2ac3e97e.
2023-12-05 03:44:20 +00:00
Ryan VanderMeulen
c65ab071b9
Bug 1821005 - Revert Gradle 8 upgrade due to startup crashes
...
Revert "Bug 1863744 - Update Gradle to version 8.4"
This reverts commit 829795632954148709fbe945c78d55cc62053ac8.
Revert "Bug 1821005 - Apply additional keep rules for missing classes detected while running R8."
This reverts commit 8f3f246cc5ff571323f56d46963d8d176bec91e3.
Revert "Bug 1821005 - Set UI_INJECTION_HOST mode for lint in test."
This reverts commit 6962bf0b5df57781045f68417f76527bcdf521ab.
Revert "Bug 1821005 - Include sourcesJar as an input of publishing."
This reverts commit 41b2a48da577787c3189eec8c8af71c35cfecbfb.
Revert "Bug 1821005 - Set compileOptions for android subprojects."
This reverts commit fb21df9d0a9cd585e216733dc1bf929636df20f1.
Revert "Bug 1821005 - Replace deprecated project.buildDir"
This reverts commit 6f880de46ec73f7e5240a0279108bbb6aeb0f63b.
Revert "Bug 1821005 - Exclude generated metrics docs from detekt."
This reverts commit f17d2430bf1daabeed2724312354018050f3f52a.
Revert "Bug 1821005 - Exclude build in extensions versioning from detekt."
This reverts commit 34144c5ad1d62e2d85492f8d32341bbcd032690b.
Revert "Bug 1821005 - Add uses-feature tag for camera permission."
This reverts commit 13c80944bd1756cdcaa98eef783b6a23ad12cabd.
Revert "Bug 1821005 - Set nonTransitiveRClass and nonFinalResIds build flags to false."
This reverts commit 219fbc19c54134ad264edc79642fa1799c6f54d6.
Revert "Bug 1821005 - Apply plugin: 'kotlin-android' for UI modules."
This reverts commit ddbd5e18eb9d2b33b4de4a6df48d97ec4ab42963.
Revert "Bug 1821005 - Enable generation of the BuildConfig class"
This reverts commit 65c2b8c63790fbd2352f3f94b99c80d81d18dae1.
Revert "Bug 1821005 - Add namespace to samples-glean-library module"
This reverts commit 0239233efb1cc4e896e4aa0337e3da911eeb2f1c.
Revert "Bug 1821005 - Replace deprecated toLowerCase with lowercase."
This reverts commit 69f2c66aad3aa638a1bab31b2a1e6c597d1f3992.
Revert "Bug 1821005 - Replace deprecated 'toInt' method with 'code' property."
This reverts commit 7adb38a6fbe20de3fdb6723a10e574d183e7fcff.
Revert "Bug 1821005 - Replace deprecated execResult."
This reverts commit bfd02dd16d7e5c9dbcf34858fbbe4176d698f8cd.
Revert "Bug 1849833 - Replace deprecated extractNativeLibs manifest attribute."
This reverts commit a05bc9618457ab2d71a5d3d88d8d3b0318497a54.
Revert "Bug 1821005 - Upgrade AGP to 8.0.2"
This reverts commit fc0fadd63553e2144ce074454d502ecf307eb988.
Revert "Bug 1821005 - Upgrade kotlin-dsl to 4.1.0."
This reverts commit 14e8903e922fa22e28450520be3b6152be6a3a8f.
Revert "Bug 1821005 - Upgrade Gradle to 8.3 version."
This reverts commit f14f447a4d43588d24e4ca3efde0668ddcf7cf08.
2023-11-08 13:35:38 -05:00
mcarare
9ad1af8c4e
Bug 1821005 - Set nonTransitiveRClass and nonFinalResIds build flags to false.
...
From Gradle 8 the default value has changed from false to true.
2023-11-08 09:10:09 +00:00
Geoff Brown
4b36c91e06
Bug 1825116 - Add license notice where missing ( https://github.com/mozilla-mobile/firefox-android/pull/1637 )
...
* Bug 1825116 - Add license notice where missing
* Bug 1825116 - Revert changes to strings.xml
* Bug 1825116 - Restore ic_cc*.xml
2023-04-19 21:08:15 +00:00
Ryan VanderMeulen
98cd73b962
Bug 1826176 - Syncronize Focus jvmargs with AC.
2023-04-03 18:54:48 +00:00
Gabriel Luong
6d44da3f59
Bug 1804785 - Consume AC via gradle build with relative path in Fenix
2023-02-14 07:16:27 +00:00
Gabriel Luong
bb8a657855
Bug 1804716 - Consume AC via gradle build with relative path in Focus
...
Co-authored-by: Christian Sadilek <christian.sadilek@gmail.com >
2022-12-13 10:08:23 +00:00
Jonathan Almeida
0b4d0b6312
[focus] Update to Gradle 6.5.1 and AGP 4.0.1
2021-05-26 13:08:03 +00:00
Jonathan Almeida
0fb47a459d
[focus] Update Robolectric to 4.4 and remove Jetifier
...
The previous version of Robolectric still hits HTTP-only endpoints that
run into SSL exceptions when trying to upgrade. This is fixed in 4.4.
Jetifier is also no longer needed as well and we need to remove it when
upgrading Robolectric.
2021-03-17 09:49:07 +00:00
Colin Lee
dedcac0407
[focus] Fixes for coroutines and R8 optimization
2019-09-17 11:33:51 -05:00
Dylan Roeh
eeca1238bb
[focus] Update to AC 0.53.0, GV 68 5/20/19, and replace android support library usage with androidx.
2019-05-29 18:31:48 -05:00
Colin Lee
4130a61386
[focus] Bump Gradle max heap to 4g
2018-08-16 17:55:19 -05:00
Colin Lee
0e6f5f644e
[focus] Bump Gradle memory limit to 2GB
...
TaskCluster builds were running out of Java heap with the Gradle upgrade
2018-08-15 15:03:38 -05:00
Sebastian Kaspari
249bc2c440
[focus] Let's do this. #mozAloha
2016-12-08 16:20:11 -10:00