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

167 Коммитов

Автор SHA1 Сообщение Дата
Jan-Erik Rediger 8182bee632 Bug 1768834 - Switch to Glean with UniFFI integration r=glandium,chutten
Upgrades to Glean v50.0.1, which comes with a rewritten core and
UniFFI-powered bindings.
Glean has some API changes, so we swap it over to that. Mostly mechanical changes.
Also upgrades to inherent v1.0 in fog.
This matches what Glean uses internally and gets rid of one duplicated crate.

Also upgrades to glean-parser==6.0.1

One crate duplication now (change in `python/mozbuild/mozbuild/vendor/vendor_rust.py` required).
Some new crates now vendored.
These are transitive dependencies of Glean dependencies, all with valid
licenses and already used in other products (mobile).

Differential Revision: https://phabricator.services.mozilla.com/D146062
2022-06-07 12:37:20 +00:00
Chris H-C 9d7fd96da1 Bug 1764549 - Update Glean SDK to v44.1.1 r=TravisLong
Differential Revision: https://phabricator.services.mozilla.com/D143749
2022-04-14 20:35:08 +00:00
Jan-Erik Rediger 236b8d27b0 Bug 1763602 - Update to Glean v44.1.0. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D143162
2022-04-11 08:25:00 +00:00
Jan-Erik Rediger c6eac14b6e Bug 1754474 - Update to Glean 44.0.0 and glean_parser 5.0.1. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D138446
2022-02-15 13:35:07 +00:00
Marian-Vasile Laza 013d79e7e6 Backed out 4 changesets (bug 1754474) for causing bc test failures. CLOSED TREE
Backed out changeset c6dd8b681aca (bug 1754474)
Backed out changeset 596955256cc6 (bug 1754474)
Backed out changeset fc692b3c27a2 (bug 1754474)
Backed out changeset 59eb7951a5eb (bug 1754474)
2022-02-11 17:30:03 +02:00
Jan-Erik Rediger 76df6d315f Bug 1754474 - Update to Glean 44.0.0 and glean_parser 5.0.1. r=janerik
Differential Revision: https://phabricator.services.mozilla.com/D138446
2022-02-11 14:27:38 +00:00
Jan-Erik Rediger 8d108a59d0 Bug 1750544 - Upgrade to Glean v43.0.2. r=chutten
Differential Revision: https://phabricator.services.mozilla.com/D136138
2022-01-17 16:26:33 +00:00
Agi Sferro 41207f7833 Bug 1749729 - Do not include -omni suffix in geckoview-exoplayer2. r=jonalmeida
geckoview-exoplayer2 does not differ between lite and omni builds so we don't
publish an -omni version.

The dependency to exoplayer2, however, does specify the -omni suffix so
geckoview ends up depending on a non-existent geckoview-exoplayer2-omni.

To fix this we don't add the -omni suffix in geckoview-exoplayer2 and keep it
only for geckoview.

Differential Revision: https://phabricator.services.mozilla.com/D135707
2022-01-12 18:04:09 +00:00
Agi Sferro 53378a9401 Bug 1745246 - Move org/mozilla/thirdparty to it's own module. r=calu
This allows us to decouple GeckoView from exoplayer2, have it's own Java
settings and not pollute GeckoView's dependencies.

Differential Revision: https://phabricator.services.mozilla.com/D133792
2022-01-11 19:16:02 +00:00
Agi Sferro 024994e801 Bug 1724480 - Upgrade JDK to Java 17. r=glandium,ahal,calu
Differential Revision: https://phabricator.services.mozilla.com/D131972
2022-01-11 19:16:01 +00:00
Agi Sferro 10649c9480 Bug 1724480 - Upgrade to apilint 0.5.1. r=calu
Differential Revision: https://phabricator.services.mozilla.com/D132530
2022-01-11 19:16:01 +00:00
Jan-Erik Rediger 1496adf625 Bug 1744674 - Update to Glean v42.3.0 & glean_parser v4.3.1 r=chutten
Also updates the docs on how to update the glean_parser in-tree.
Also adds a `no_lint` exception to test pings to avoid breaking the
build.

Differential Revision: https://phabricator.services.mozilla.com/D133077
2021-12-13 11:24:50 +00:00
Narcis Beleuzu 0bb26c9eda Backed out changeset 7ca282be411f (bug 1744674) for python failures on test_site_compatibility.py. CLOSED TREE 2021-12-11 01:08:45 +02:00
Noemi Erli 88ea88a467 Backed out 2 changesets (bug 1724480) for causing Bug 1745152 and Bug 1745153 CLOSED TREE
Backed out changeset f988b79d58f4 (bug 1724480)
Backed out changeset 8a2fb9a2a3db (bug 1724480)
2021-12-09 18:58:02 +02:00
Jan-Erik Rediger efb09bcdb5 Bug 1744674 - Update to Glean v42.3.0 & glean_parser v4.3.1 r=chutten
Also updates the docs on how to update the glean_parser in-tree.
Also adds a `no_lint` exception to test pings to avoid breaking the
build.

Differential Revision: https://phabricator.services.mozilla.com/D133077
2021-12-09 09:30:20 +00:00
Agi Sferro 49ed81f7e0 Bug 1724480 - Upgrade JDK to Java 17. r=glandium,ahal,calu
Differential Revision: https://phabricator.services.mozilla.com/D131972
2021-12-08 23:55:53 +00:00
Agi Sferro f45d4248aa Bug 1724480 - Upgrade to apilint 0.5.1. r=calu
Differential Revision: https://phabricator.services.mozilla.com/D132530
2021-12-08 23:55:52 +00:00
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