1
Fork 0

new post: Glean & GeckoView

This commit is contained in:
Jan-Erik Rediger 2021-09-16 17:00:04 +02:00 committed by Jan-Erik Rediger
parent 51b8c6fa5f
commit 8aeee8b8c2
2 changed files with 41 additions and 1 deletions

View file

@ -30,5 +30,5 @@ rerun:
.PHONY: rerun .PHONY: rerun
latest-html: ## Get latests post renderewd into HTML latest-html: ## Get latests post renderewd into HTML
find _posts -type f | sort | tail -1 | xargs -I% pandoc -f markdown -t html % @find _posts -type f | sort | tail -1 | xargs -I% pandoc -f markdown -t html %
.PHONY: latest-html .PHONY: latest-html

View file

@ -0,0 +1,40 @@
---
permalink: "/{{ year }}/{{ month }}/{{ day }}/glean-geckoview"
title: "This Week in Glean: Glean & GeckoView"
published_date: "2021-09-17 13:00:00 +0200"
layout: post.liquid
data:
route: blog
tags:
- mozilla
- rust
---
(“This Week in Glean” is a series of blog posts that the Glean Team at Mozilla is using to try to communicate better about our work. They could be release notes, documentation, hopes, dreams, or whatever: so long as it is inspired by Glean.)
All "This Week in Glean" blog posts are listed in the [TWiG index](https://mozilla.github.io/glean/book/appendix/twig.html)
(and on the [Mozilla Data blog](https://blog.mozilla.org/data/category/glean/)).
This article is [cross-posted on the Mozilla Data blog][datablog].
[datablog]: https://blog.mozilla.org/data/2021/09/17/this-week-in-glean-glean-geckoview/
---
This is a followup post to [Shipping Glean with GeckoView](/2021/07/26/shipping-glean-with-geckoview/).
<center>
## It landed!
</center>
It took us several more weeks to put everything into place, but we're finally shipping the Rust parts of the Glean Android SDK with GeckoView
and consume that in [Android Components](https://github.com/mozilla-mobile/android-components/pull/10828) and [Fenix](https://github.com/mozilla-mobile/fenix/pull/20889).
And it still all works, collects data and is sending pings!
Additionally this results in a slightly smaller APK as well.
This unblocks further work now.
Currently Gecko simply stubs out all calls to Glean when compiled for Android,
but we will enable recording Glean metrics within Gecko and exposing them in pings sent from Fenix.
We will also start work on moving other Rust components into mozilla-central in order for them to use the Rust API of Glean directly.
Changing how we deliver the Rust code also made testing Glean changes across these different components a bit more challenging,
so I want to invest some time to make that easier again.