mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 08:12:05 +00:00
d39e78a02e
In bug 1883435 comment 2 chutten mentions that including nsGlobalWindowInner.h from GleanMetrics.h causes a stylo build failure. This is because nsGlobalWindowInner.h itself brings a bunch of DOM bindings template soup that bindgen isn't great at dealing with. That can be fixed in various ways. However, there is a simpler fix, which is not including GleanMetrics at all. It's trivial to do, and given it's a massive autogenerated file, and Document.h is a very common header, it's worth doing this if only for build times. Fix a bunch of unused includes while at it. Differential Revision: https://phabricator.services.mozilla.com/D203625 |
||
---|---|---|
.. | ||
tools | ||
util | ||
moz.build | ||
nsUGenCategory.h |