Граф коммитов

17 Коммитов

Автор SHA1 Сообщение Дата
Geoff Brown 4e738cda84 Bug 1881094 - 7. cleanup firefox-android exclusions in license.yml r=gl,android-reviewers
Cleanup license.yml by:
 - adding license headers to gradle.properties: some gradle.properties files already have license headers; I have just copied those headers to files where they were missing
 - adding license headers for a few .xml files
 - moving the .../src/main/res/ exclusions to Generated.txt; these exclusions are primarily needed for the strings.xml files, which are updated from the android-l10n repo, so they seem more appropriate for Generated.txt

Differential Revision: https://phabricator.services.mozilla.com/D209818
2024-05-09 16:28:42 +00:00
mcarare 2739e56b53 Bug 1873677 - Upgrade Gradle to 8.5 version r=geckoview-reviewers,calu
Gradle 8.5 is still compatible with AGP 7.4.2, so upgrading AGP can be done as a follow-up.

Differential Revision: https://phabricator.services.mozilla.com/D198584
2024-01-23 14:50:12 +00:00
Ryan VanderMeulen 998208305e Bug 1786164 - Add more Gradle JVM memory flags. r=geckoview-reviewers,jonalmeida
See https://github.com/mozilla-mobile/fenix/pull/26542 for more discussion.
Also specify a lower maximum heap size more in line with other projects and
remove some redundant settings in other gradle.properties files.

Differential Revision: https://phabricator.services.mozilla.com/D155179
2022-08-31 22:10:39 +00:00
Agi Sferro 8b804e3125 Bug 1727438 - Increase java max heap to 32G. r=nalexander,owlish
Looks like 6G is not enough for an ASAN build when updating the gradle version.
I tried 8G and 16G on try but that's not enough either.

This also:

* Moves the asan job to `b-linux-large` as the `b-linux` builder does not have
  enough memory to run this build.
* Stops running a full build during lints, which is not necessary (and
  sometimes uses more memory than the build runner has, failing the lint).

Differential Revision: https://phabricator.services.mozilla.com/D123970
2021-08-31 20:53:08 +00:00
Cosmin Sabou c9893d3d5f Backed out 5 changesets (bug 1727438) for causing android build bustages. CLOSED TREE
Backed out changeset 66bad7f53820 (bug 1727438)
Backed out changeset e015a4e8b62e (bug 1727438)
Backed out changeset 97a06ad4cbcc (bug 1727438)
Backed out changeset ebb080f68880 (bug 1727438)
Backed out changeset 8d03d49fe3a3 (bug 1727438)
2021-08-31 00:11:19 +03:00
Agi Sferro d15794b08e Bug 1727438 - Increase java max heap to 16G. r=nalexander
Looks like 6G is not enough for an ASAN build when updating the gradle version.
I tried 8G on try but that's not enough either.

Differential Revision: https://phabricator.services.mozilla.com/D123970
2021-08-30 19:15:10 +00:00
James Willcox 173058981b Bug 1553459 - Migrate to AndroidX r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D90711
2020-09-18 22:29:04 +00:00
Jesse Schwartzentruber f45935703c Bug 1577814 - Increase Gradle heap size. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D44173

--HG--
extra : moz-landing-system : lando
2019-08-30 17:13:46 +00:00
Jesse Schwartzentruber a359caba44 Bug 1527896 - Increase Gradle heaps to handle large assets. r=nalexander
Differential Revision: https://phabricator.services.mozilla.com/D19792

--HG--
extra : moz-landing-system : lando
2019-02-14 18:21:13 +00:00
Nick Alexander 192d1c3159 Bug 1453413 - Use aapt2 to build Firefox for Android. r=mcomella
MozReview-Commit-ID: LhWmLl2movv

--HG--
extra : rebase_source : 4ce9d7bc365b0ddbcd19b4e7d0b347dff29a9921
2018-04-11 09:59:22 -07:00
Nick Alexander ea45b76573 Bug 1411654 - Part 2: Update Robolectric to 3.5.1. r=mcomella
There were a few API changes, mostly around explicitly creating
Services/Activities/ContentProvider instances, but they were pretty
easy to address.

Sadly, Robolectric doesn't really work with the new aapt2 processing
in Android-Gradle plugin 3.0+ -- see in particular
https://github.com/robolectric/robolectric/issues/3333#issuecomment-324300418
-- so we have to opt-out of the new implementation for now.  Hopefully
plugin 3.1+ will address these issues, which are widespread.

MozReview-Commit-ID: dlbd32kMs6

--HG--
extra : rebase_source : fe30729161e5dc91ea9173f9b7aaa9135d096791
extra : source : 690e265c684ce70ecb89355314fd1574bb421f0b
2017-11-07 20:26:43 -08:00
Ryan VanderMeulen ac18fd5152 Backed out 20 changesets (bug 1411654) for incorrect android:debuggable. r=nalexander, a=RyanVM
Backed out changeset cfad693be918 (bug 1411654)
Backed out changeset 55776829a744 (bug 1411654)
Backed out changeset c5bf85d56fed (bug 1411654)
Backed out changeset c270f97bb0da (bug 1411654)
Backed out changeset fde9bf9c14c3 (bug 1411654)
Backed out changeset 01836fd98c63 (bug 1411654)
Backed out changeset 730a70767743 (bug 1411654)
Backed out changeset 690e265c684c (bug 1411654)
Backed out changeset f918500d9cf5 (bug 1411654)
Backed out changeset cec2b8828cc8 (bug 1411654)
Backed out changeset 76085ddd5ac7 (bug 1411654)
Backed out changeset 2b37201606f5 (bug 1411654)
Backed out changeset d0d513d1c379 (bug 1411654)
Backed out changeset e7b0cc801cf1 (bug 1411654)
Backed out changeset 901b304603d9 (bug 1411654)
Backed out changeset 373c9a71d945 (bug 1411654)
Backed out changeset 3dc3beab95f8 (bug 1411654)
Backed out changeset 22a861db1573 (bug 1411654)
Backed out changeset 0850b319efd4 (bug 1411654)
Backed out changeset d276d3deba05 (bug 1411654)

--HG--
rename : mobile/android/app/src/main/res/values-v17/themes.xml => mobile/android/base/resources/values-v17/themes.xml
2018-01-17 15:55:38 -05:00
Nick Alexander d8db003c57 Bug 1411654 - Part 2: Update Robolectric to 3.5.1. r=mcomella
There were a few API changes, mostly around explicitly creating
Services/Activities/ContentProvider instances, but they were pretty
easy to address.

Sadly, Robolectric doesn't really work with the new aapt2 processing
in Android-Gradle plugin 3.0+ -- see in particular
https://github.com/robolectric/robolectric/issues/3333#issuecomment-324300418
-- so we have to opt-out of the new implementation for now.  Hopefully
plugin 3.1+ will address these issues, which are widespread.

MozReview-Commit-ID: dlbd32kMs6

--HG--
extra : rebase_source : 325bc8142ec9b8a9d5029e7820e8f990d7e1a5fd
2017-11-07 20:26:43 -08:00
Dorel Luca ab63c465d9 Backed out 19 changesets (bug 1411654) for Android nightly bustages a=backout
Backed out changeset 649e7aa405ca (bug 1411654)
Backed out changeset c2e51b70519f (bug 1411654)
Backed out changeset a371f3ef4312 (bug 1411654)
Backed out changeset db978e230556 (bug 1411654)
Backed out changeset 56538ed998cf (bug 1411654)
Backed out changeset 6ff0cdf46a3d (bug 1411654)
Backed out changeset 0e493bacc5e3 (bug 1411654)
Backed out changeset 23cbcf427745 (bug 1411654)
Backed out changeset eda74143389f (bug 1411654)
Backed out changeset 359fadf9b3e9 (bug 1411654)
Backed out changeset 5c64eda20f1e (bug 1411654)
Backed out changeset bffb6a5b78d1 (bug 1411654)
Backed out changeset 43787f4089c3 (bug 1411654)
Backed out changeset 9141bbdfd13b (bug 1411654)
Backed out changeset 108674372ef7 (bug 1411654)
Backed out changeset fb15e1f54987 (bug 1411654)
Backed out changeset 264476c77210 (bug 1411654)
Backed out changeset d23f467218da (bug 1411654)
Backed out changeset 78576ff98660 (bug 1411654)

--HG--
rename : mobile/android/app/src/main/res/values-v17/themes.xml => mobile/android/base/resources/values-v17/themes.xml
2018-01-13 15:17:49 +02:00
Nick Alexander 4a8ac4504e Bug 1411654 - Part 2: Update Robolectric to 3.5.1. r=mcomella
There were a few API changes, mostly around explicitly creating
Services/Activities/ContentProvider instances, but they were pretty
easy to address.

Sadly, Robolectric doesn't really work with the new aapt2 processing
in Android-Gradle plugin 3.0+ -- see in particular
https://github.com/robolectric/robolectric/issues/3333#issuecomment-324300418
-- so we have to opt-out of the new implementation for now.  Hopefully
plugin 3.1+ will address these issues, which are widespread.

MozReview-Commit-ID: dlbd32kMs6

--HG--
extra : rebase_source : 1b4a681863e8917b473f4852c4b88fe1f95dc1fd
2017-11-07 20:26:43 -08:00
Nick Alexander b4575dcc58 Bug 1366644 - Pre: Bump Gradle JVM heap to allow in-process dex. r=maliu
In-process dex is a slight performance win.

This also upgrades `dexcount-gradle-plugin` to 0.7.1.

MozReview-Commit-ID: 2Bg5qX41pHB

--HG--
extra : rebase_source : 1f42d73b53bb46b29d3602845c62578576cd0f3e
2017-07-18 17:59:57 -07:00
Nick Alexander 94ffd0e444 Bug 1218370 - Use Gradle daemon in srcdir builds. r=me
DONTBUILD NPOTB

--HG--
rename : mobile/android/gradle/gradle.properties => gradle.properties
extra : commitid : 8L4GIKHfAHF
2015-10-26 09:28:14 -07:00