gecko-dev/xpcom
Mike Hommey b006fe6c37 Bug 1711627 - Avoid xptdata.h being (indirectly) included so much. r=xpcom-reviewers,nika
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
2021-05-19 20:41:39 +00:00
..
base Bug 1710845 - Get rid of NS_ERROR_DOM_INVALID_EXPRESSION_ERR; r=smaug; 2021-05-12 23:32:38 +00:00
build Bug 1698045 part 1 - Add xpc::SelfHostedShmem to hold shared memory for JS initialization. r=smaug,tcampbell,ipc-reviewers,jld 2021-05-12 13:57:55 +00:00
components Bug 1711627 - Avoid xptdata.h being (indirectly) included so much. r=xpcom-reviewers,nika 2021-05-19 20:41:39 +00:00
docs Bug 1702245 - Expand XPCOM's in-tree documentation, r=xpcom-reviewers,kmag 2021-04-05 15:56:18 +00:00
ds Bug 1711100 - Remove XPCOM leak logging from nsTArray_base, r=mccr8 2021-05-13 23:20:31 +00:00
glue Bug 1704683 - Avoid loop for closing fd r=jld 2021-05-11 07:45:16 +00:00
idl-parser
io Bug 1709887: Add missing #define in mingw builds. r=xpcom-reviewers,nika 2021-05-07 14:02:26 +00:00
libxpt/xptcall
reflect Bug 1711627 - Avoid xptdata.h being (indirectly) included so much. r=xpcom-reviewers,nika 2021-05-19 20:41:39 +00:00
rust Bug 1709935 - Support XPCOM refcount logging with rust-xpcom, r=xpcom-reviewers,mccr8 2021-05-19 17:29:23 +00:00
string Bug 1683062 - disable 1113005.html on linux-qr r=intermittent-reviewers,ahal DONTBUILD 2021-05-10 13:41:14 +00:00
system Bug 1682030 - Remove NPAPI plugin process from GeckoChildProcess r=jld,gsvelto 2021-04-06 19:28:20 +00:00
tests Bug 1711090 - Part 2: Allow creating a nsITimer with a std::function callback, r=KrisWright 2021-05-18 20:45:16 +00:00
threads Bug 1711090 - Part 4: Remove non-string func timer names, r=KrisWright 2021-05-18 20:45:17 +00:00
windbgdlg
xpidl
moz.build
xpcom-config.h.in