зеркало из https://github.com/mozilla/gecko-dev.git
b006fe6c37
cf. bug 1710755, touching idl files regenerates xptdata.cpp and xptdata.h, and the latter currently triggers tons of things to be rebuilt because xptdata.h is included from xptinfo.h, which is directly or indirectly included in many other places. But there's only one thing defined in xptdata.h: nsXPTInterface, and there's actually only one place that actively uses it: StaticComponents.cpp.in, via a function defined in xptinfo.h. Using a forward declaration in xptinfo.h allows to only include xptdata.h from StaticComponents.cpp.in. While here, add an include guard to xptdata.h. Differential Revision: https://phabricator.services.mozilla.com/D115329 |
||
---|---|---|
.. | ||
moz.build | ||
xptcodegen.py | ||
xptinfo.cpp | ||
xptinfo.h |