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

150 Коммитов

Автор SHA1 Сообщение Дата
Chris H-C ba64aca37a Bug 1735628 - Update Glean to v42.1.0 r=TravisLong
Depends on D128927

Differential Revision: https://phabricator.services.mozilla.com/D128928
2021-10-19 20:32:38 +00:00
Agi Sferro 2bd64785fc Bug 1571899 - Use google-java-format via spotless to enforce Java formatting. r=ahal,owlish
This change adds a new lint `android-format` which enforces formatting of Java
code using google-java-format.

To run the lint simply run:

./mach lint -l android-format

This command also support automatically fixing all errors running by adding
--fix:

./mach lint -l android-format --fix

This change also removes all the formatting-related checkstyle checks which are
now implicitly enforced by the formatter.

Differential Revision: https://phabricator.services.mozilla.com/D127734
2021-10-11 18:11:55 +00:00
Jan-Erik Rediger 5d2e201845 Bug 1733757 - Update to Glean v42.0.1. r=Dexter
This includes a bugfix preventing a crash on Fenix,
a bugfix preventing a panic when trying to flush ping-lifetime data after shutdown,
as well as an API change to make `glean::persist_ping_lifetime_data` async.

Differential Revision: https://phabricator.services.mozilla.com/D128053
2021-10-11 10:35:04 +00:00
Agi Sferro 1f930e4253 Bug 1557796 - Custom mozconfig for gradle build. r=nalexander,owlish
This patch introduces a new local.settings field: mozilla-central.mozconfig.

This field can be used to set a custom mozconfig file for the gradle build (and
for Android Studio).

The environment variable MOZCONFIG will take precedence over what is defined in
local.settings to allow Gecko engineers to use multiple mozconfig files.

Co-Authored-By: Nick Alexander <nalexander@mozilla.com>

Differential Revision: https://phabricator.services.mozilla.com/D124830
2021-09-29 17:54:57 +00:00
Jan-Erik Rediger ef6e43ba54 Bug 1733152 - Upgrade to Glean v41.1.1. r=chutten
This pulls in a patch to limit logging to Glean crates on Android.

Differential Revision: https://phabricator.services.mozilla.com/D126962
2021-09-29 16:06:32 +00:00
Chris H-C 192be51921 Bug 1729723 - Upgrade Glean to v41.1.0 r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D125834
2021-09-20 13:49:31 +00:00
Chris H-C d28d2fc970 Bug 1729723 - Update Glean to 41.0.0 r=TravisLong
Differential Revision: https://phabricator.services.mozilla.com/D125456
2021-09-20 13:49:30 +00:00
Cristian Tuns f9d950e3ab Backed out 5 changesets (bug 1729723) for causing reftest failures with block_on_dispatcher(). CLOSED TREE
Backed out changeset 1cd9afe6d8fd (bug 1729723)
Backed out changeset 90faab13d8ca (bug 1729723)
Backed out changeset c977b9868082 (bug 1729723)
Backed out changeset 74b132e68ed0 (bug 1729723)
Backed out changeset 994d51619f15 (bug 1729723)
2021-09-17 11:44:48 -04:00
Chris H-C 9de4c0218e Bug 1729723 - Upgrade Glean to v41.1.0 r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D125834
2021-09-17 14:01:21 +00:00
Chris H-C 83f3b5a43e Bug 1729723 - Update Glean to 41.0.0 r=TravisLong
Differential Revision: https://phabricator.services.mozilla.com/D125456
2021-09-17 14:01:21 +00:00
Narcis Beleuzu 45e308665e Backed out 4 changesets (bug 1729723) for mochitest crashes on LateWriteChecks.cpp . CLOSED TREE
Backed out changeset 728ead24c5e8 (bug 1729723)
Backed out changeset 466be2d40e28 (bug 1729723)
Backed out changeset 7b67981c7531 (bug 1729723)
Backed out changeset 378b0f332427 (bug 1729723)
2021-09-16 22:23:31 +03:00
Chris H-C 02f38f3f55 Bug 1729723 - Upgrade Glean to v41.1.0 r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D125834
2021-09-16 18:03:52 +00:00
Chris H-C 4e3e7ba250 Bug 1729723 - Update Glean to 41.0.0 r=TravisLong
Differential Revision: https://phabricator.services.mozilla.com/D125456
2021-09-16 18:03:51 +00:00
Sandor Molnar ffee439d44 Backed out 4 changesets (bug 1729723) for causing build bustages. CLOSED TREE
Backed out changeset d99b451638d8 (bug 1729723)
Backed out changeset 151dcec458a3 (bug 1729723)
Backed out changeset 444336616b77 (bug 1729723)
Backed out changeset 0522676f94c3 (bug 1729723)
2021-09-16 18:48:13 +03:00
Chris H-C 8419536749 Bug 1729723 - Upgrade Glean to v41.1.0 r=janerik
Depends on D125456

Differential Revision: https://phabricator.services.mozilla.com/D125834
2021-09-16 14:34:52 +00:00
Chris H-C ae527d1169 Bug 1729723 - Update Glean to 41.0.0 r=TravisLong
Differential Revision: https://phabricator.services.mozilla.com/D125456
2021-09-16 14:34:51 +00:00
Sandor Molnar e3fd361c8b Backed out 2 changesets (bug 1729723) for causing linux debug bustage. CLOSED TREE
Backed out changeset e52c90cdf117 (bug 1729723)
Backed out changeset b166c01d2010 (bug 1729723)
2021-09-13 23:46:51 +03:00
Chris H-C 72115b2010 Bug 1729723 - Update Glean to 41.0.0 r=TravisLong
Depends on D124930

Differential Revision: https://phabricator.services.mozilla.com/D125456
2021-09-13 19:39:51 +00:00
Jan-Erik Rediger 75eda7908a Bug 1727515 - Update to Glean v40.1.0 r=Dexter
Differential Revision: https://phabricator.services.mozilla.com/D123625
2021-09-01 11:17:04 +00:00
Agi Sferro a820b1404e Bug 1727438 - Upgrade kotlin to 1.5.20. r=nalexander,owlish
Co-authored-by: Jan-Erik Rediger <janerik@fnordig.de>

Differential Revision: https://phabricator.services.mozilla.com/D123570
2021-08-31 20:53:09 +00:00
Agi Sferro 5675e00bd6 Bug 1727438 - Upgrade to Gradle 6.9.1. r=nalexander,owlish
This is the last version that doesn't require Java 11, we will upgrade to
Gradle 7 once all components are ready (namely, apilint).

Co-authored-by: Jan-Erik Rediger <janerik@fnordig.de>

Differential Revision: https://phabricator.services.mozilla.com/D123569
2021-08-31 20:53:09 +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 aed476bdf8 Bug 1727438 - Upgrade kotlin to 1.5.20. r=nalexander,owlish
Co-authored-by: Jan-Erik Rediger <janerik@fnordig.de>

Differential Revision: https://phabricator.services.mozilla.com/D123570
2021-08-30 19:15:10 +00:00
Agi Sferro 78ae1c7c9b Bug 1727438 - Upgrade to Gradle 6.9.1. r=nalexander,owlish
This is the last version that doesn't require Java 11, we will upgrade to
Gradle 7 once all components are ready (namely, apilint).

Co-authored-by: Jan-Erik Rediger <janerik@fnordig.de>

Differential Revision: https://phabricator.services.mozilla.com/D123569
2021-08-30 19:15:10 +00:00
Csoregi Natalia ca064c11bd Backed out changeset 645e92e661ee (bug 1727515) for causing toolchains bustage. CLOSED TREE 2021-08-26 15:43:29 +03:00
Jan-Erik Rediger 755e6f9c8f Bug 1727515 - Update to Glean v40.1.0 r=Dexter
Differential Revision: https://phabricator.services.mozilla.com/D123625
2021-08-26 08:45:06 +00:00
Butkovits Atila e42d7aa018 Backed out 5 changesets (bug 1727438, bug 1727577) for causing Android bustage. CLOSED TREE
Backed out changeset 552d8919435c (bug 1727577)
Backed out changeset 59d1a463178b (bug 1727438)
Backed out changeset 8cba5f574196 (bug 1727438)
Backed out changeset 00d32a3af979 (bug 1727438)
Backed out changeset efda82445d85 (bug 1727438)
2021-08-26 03:33:58 +03:00
Agi Sferro 3e4b709e6d Bug 1727438 - Upgrade kotlin to 1.5.20. r=nalexander
Co-authored-by: Jan-Erik Rediger <janerik@fnordig.de>

Differential Revision: https://phabricator.services.mozilla.com/D123570
2021-08-25 21:02:17 +00:00
Agi Sferro 16fe3c1b74 Bug 1727438 - Upgrade to Gradle 6.9.1. r=nalexander
This is the last version that doesn't require Java 11, we will upgrade to
Gradle 7 once all components are ready (namely, apilint).

Co-authored-by: Jan-Erik Rediger <janerik@fnordig.de>

Differential Revision: https://phabricator.services.mozilla.com/D123569
2021-08-25 21:02:17 +00:00
Jan-Erik Rediger 9ff433d96b Bug 1670261 - Ensure the Glean versions in the project match. r=agi,chutten
In GeckoView we need to depend on the same Glean version as the included
Glean Rust crate has.
We _could_ let Gradle read that from Cargo.lock directly,
but that complicates the build.

Instead we manually update both versions to the same
and have Gradle ensure we don't forget that.

Differential Revision: https://phabricator.services.mozilla.com/D116602
2021-08-10 07:49:08 +00:00
Jan-Erik Rediger b2808bbfce Bug 1670261 - Re-export the Glean Kotlin bindings from GeckoView. r=agi
This also upgrades to Kotlin 1.3.50, which is required to due Glean
requirements. Fenix is already on 1.4, so that's no problem.

We also turn the geckoview_example into a multiDex application.
Otherwise we run into the 64k dex symbols size limit.

Differential Revision: https://phabricator.services.mozilla.com/D116601
2021-08-10 07:49:08 +00:00
Butkovits Atila 0474a346a1 Backed out 6 changesets (bug 1670261) for causing perma android bustage. CLOSED TREE
Backed out changeset 58ab9d5d45b7 (bug 1670261)
Backed out changeset e68f58dd9c24 (bug 1670261)
Backed out changeset af093190c4f7 (bug 1670261)
Backed out changeset 150c73837e22 (bug 1670261)
Backed out changeset c42784eeccee (bug 1670261)
Backed out changeset 45ab05c0c371 (bug 1670261)
2021-08-03 15:11:22 +03:00
Jan-Erik Rediger d1298df426 Bug 1670261 - Ensure the Glean versions in the project match. r=agi,chutten
In GeckoView we need to depend on the same Glean version as the included
Glean Rust crate has.
We _could_ let Gradle read that from Cargo.lock directly,
but that complicates the build.

Instead we manually update both versions to the same
and have Gradle ensure we don't forget that.

Differential Revision: https://phabricator.services.mozilla.com/D116602
2021-08-02 16:22:46 +00:00
Jan-Erik Rediger e31efdfb2d Bug 1670261 - Re-export the Glean Kotlin bindings from GeckoView. r=agi
This also upgrades to Kotlin 1.3.50, which is required to due Glean
requirements. Fenix is already on 1.4, so that's no problem.

We also turn the geckoview_example into a multiDex application.
Otherwise we run into the 64k dex symbols size limit.

Differential Revision: https://phabricator.services.mozilla.com/D116601
2021-08-02 16:22:46 +00:00
Agi Sferro 8a8ce8a54f Bug 1685390 - Update apilint to 0.4.1. r=esawin
Differential Revision: https://phabricator.services.mozilla.com/D100958
2021-01-08 16:17:22 +00:00
Agi Sferro 6cc1c746de Bug 1671460 - Update to apilint 0.4.0. r=snorp
There is an unfortunate-but-necessary ordering issue that needs to be fixed in
the api.txt file which is causing a lot of one time updates. The ordering of
annotations was not stable (and now it is).

Differential Revision: https://phabricator.services.mozilla.com/D95382
2020-11-02 19:42:25 +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
Nick Alexander 851257343a Bug 1626336 - Remove `MOZ_GECKOVIEW_JAR`. r=agi,geckoview-reviewers
While we're here we remove some Gradle Fennec-isms that are no longer
needed.

Differential Revision: https://phabricator.services.mozilla.com/D87334
2020-08-24 18:13:49 +00:00
Agi Sferro f71284aeab Bug 1641983 - Update apilint to 0.3.0. r=snorp
Differential Revision: https://phabricator.services.mozilla.com/D77534
2020-06-01 15:58:01 +00:00
Ricky Stewart 0015091b18 Bug 1633039 - Don't check for Python 2 in configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D72895
2020-05-05 16:02:02 +00:00
Bogdan Tara f137fa0613 Backed out 6 changesets (bug 1632916, bug 1599658, bug 1633037, bug 1633039, bug 1633016, bug 1632920) for SA bustages CLOSED TREE
Backed out changeset 332ce0963b4e (bug 1633039)
Backed out changeset a9904cbc40d9 (bug 1633037)
Backed out changeset d06b0ec349f8 (bug 1599658)
Backed out changeset 8fd300cad80f (bug 1633016)
Backed out changeset f8820941c703 (bug 1632916)
Backed out changeset ac9c2c8746ed (bug 1632920)
2020-05-02 01:49:29 +03:00
Ricky Stewart 035981e445 Bug 1633039 - Don't check for Python 2 in configure r=glandium
Differential Revision: https://phabricator.services.mozilla.com/D72895
2020-04-30 15:23:51 +00:00
Agi Sferro 4ddf309897 Bug 1631603 - Update apilint to 0.2.7. r=snorp
This version includes the following commits:

d89245f Update com.gradle.plugin-publish to 0.11.0.
17bc5ea Closes #77: Don't fail when the map index is out of range.

Differential Revision: https://phabricator.services.mozilla.com/D72405
2020-04-27 15:56:00 +00:00
Aaron Klotz f826c80377 Bug 1627354: Part 2 - Update gradle files to set buildToolsVersion; r=nalexander
Per https://developer.android.com/studio/releases/build-tools, the default
version of the build tools used is internal to the Gradle plugin for Android,
which in the current version of Gradle is 28. To use 29, we need to explicitly
specify that in `.gradle` files using `buildToolsVersion`.

We also change the specification of `compileSdkVersion` to obtain that
information from the build configuration.

Differential Revision: https://phabricator.services.mozilla.com/D69632

--HG--
extra : moz-landing-system : lando
2020-04-04 03:15:56 +00:00
Bogdan Tara 6b0b300cc5 Backed out 3 changesets (bug 1620145) for lints failure and Android bustages CLOSED TREE
Backed out changeset eee5907efc81 (bug 1620145)
Backed out changeset 80acd7d7bc10 (bug 1620145)
Backed out changeset f07bb47f20b3 (bug 1620145)
2020-03-28 01:36:27 +02:00
Aaron Klotz fa8d4a5ee5 Bug 1620145: Part 0 - Set compileSdkVersion to use ANDROID_TARGET_SDK; r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D68612

--HG--
extra : moz-landing-system : lando
2020-03-27 22:52:30 +00:00
Ciure Andrei 00c3cac8c7 Backed out 3 changesets (bug 1620145) for causing bustages CLOSED TREE
Backed out changeset 31e174d8cdba (bug 1620145)
Backed out changeset 84ee808383ae (bug 1620145)
Backed out changeset 32a639056a5f (bug 1620145)
2020-03-28 00:38:13 +02:00
Aaron Klotz e350b4fef4 Bug 1620145: Part 0 - Set compileSdkVersion to use ANDROID_TARGET_SDK; r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D68612

--HG--
extra : moz-landing-system : lando
2020-03-27 21:58:36 +00:00
Bogdan Tara 2a170da7ed Backed out 3 changesets (bug 1620145) for toolchains bustage complaining about SelectionActionDelegateTest.kt CLOSED TREE
Backed out changeset 4614b6ccb155 (bug 1620145)
Backed out changeset 72d548277bd9 (bug 1620145)
Backed out changeset 4f3ee911b5c7 (bug 1620145)
2020-03-27 22:24:56 +02:00
Aaron Klotz e778f96ec7 Bug 1620145: Part 0 - Set compileSdkVersion to use ANDROID_TARGET_SDK; r=geckoview-reviewers,agi
Differential Revision: https://phabricator.services.mozilla.com/D68612

--HG--
extra : moz-landing-system : lando
2020-03-27 19:59:03 +00:00