зеркало из https://github.com/mozilla/gecko-dev.git
071a2fe984
Before bug 938437, we had a rather large and error-prone nsStaticXULComponents.cpp used to register all modules. That was replaced with clever use of the linker, which allowed to avoid the mess that maintaining that file was. Fast forward to now, where after bug 1524687 and other work that preceded it, we have a much smaller number of remaining static xpcom components, registered via this linker hack, and don't expect to add any new ones. The list should eventually go down to zero. Within that context, it seems to be the right time to get rid of the magic, and with it the problems it causes on its own. Some of those components could probably be trivially be converted to static registration via .conf files, but I didn't want to deal with the possible need to increase the number of dummy modules in XPCOMInit.cpp. They can still be converted as a followup. Differential Revision: https://phabricator.services.mozilla.com/D26076 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
GenericFactory.cpp | ||
GenericFactory.h | ||
ManifestParser.cpp | ||
ManifestParser.h | ||
Module.h | ||
ModuleUtils.h | ||
StaticComponents.cpp.in | ||
StaticComponents.h | ||
components.conf | ||
gen_static_components.py | ||
moz.build | ||
nsCategoryCache.cpp | ||
nsCategoryCache.h | ||
nsCategoryManager.cpp | ||
nsCategoryManager.h | ||
nsCategoryManagerUtils.h | ||
nsComponentManager.cpp | ||
nsComponentManager.h | ||
nsComponentManagerUtils.cpp | ||
nsComponentManagerUtils.h | ||
nsICategoryManager.idl | ||
nsIClassInfo.idl | ||
nsIComponentManager.idl | ||
nsIComponentRegistrar.idl | ||
nsIFactory.idl | ||
nsIModule.idl | ||
nsIServiceManager.idl | ||
nsServiceManagerUtils.h |