Unconditionally enable Glean in Firefox builds
Categories
(Toolkit :: Telemetry, task, P1)
Tracking
()
Tracking | Status | |
---|---|---|
firefox88 | --- | fixed |
People
(Reporter: janerik, Assigned: janerik)
References
Details
Attachments
(3 files)
From https://bugzilla.mozilla.org/show_bug.cgi?id=1685406#c2:
Additional requirement: Due to bug 1670261 stalled due to new gecko+nimbus+a-s+glean megazord proposal, this should also provide an ability to instrument using Glean APIs in C++/JS without Glean actually being present in the build. (Glean No-op or GNop)
As a result C++ and JS APIs and generated metrics will be unconditionally present in Gecko.
We can do that part now.
Assignee | ||
Comment 1•4 years ago
|
||
We enable compilation of FOG/Glean on all platforms.
We disable Glean initialization and metric recording on Android (GeckoView) by respecting MOZ_GLEAN_ANDROID.
This way GeckoView just works, consumers don't need to think about it (except in tests, these need to be disabled for Android builds).
Stubbing out the metric implementations will happen in the commits after
this one.
Assignee | ||
Comment 2•4 years ago
|
||
GNop = Glean No-op.
This disables all control and recording functionality when build for
Android.
Depends on D106766
Assignee | ||
Comment 3•4 years ago
|
||
We ensure nothing in this library is called from the C++ side.
Depends on D106767
Comment 5•4 years ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/233230cc7cb2
https://hg.mozilla.org/mozilla-central/rev/2eaa66d45695
https://hg.mozilla.org/mozilla-central/rev/4c3019f2af09
Description
•