gecko-dev/layout/build
Mike Hommey 071a2fe984 Bug 1541792 - Replace linker magic with manual component registration. r=froydnj
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
2019-04-05 02:30:56 +00:00
..
components.conf Bug 1524687: Part 3 - Convert nsImageModule to static registration. r=jwatt 2019-01-24 15:40:58 -08:00
moz.build Bug 1478124: Part 8c - Update Layout module to use a static component manifest. r=Ehsan 2019-01-23 15:45:56 -08:00
nsContentDLF.cpp Bug 1519636 - clang-format-8: Reformat recent changes to the Google coding style r=Ehsan 2019-04-05 21:41:42 +00:00
nsContentDLF.h Bug 1517241 - Rename nsIDocument to mozilla::dom::Document. r=smaug 2019-01-03 17:48:33 +01:00
nsLayoutCID.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
nsLayoutModule.cpp Bug 1541792 - Replace linker magic with manual component registration. r=froydnj 2019-04-05 02:30:56 +00:00
nsLayoutModule.h Bug 1478124: Part 8c - Update Layout module to use a static component manifest. r=Ehsan 2019-01-23 15:45:56 -08:00
nsLayoutStatics.cpp Bug 1498287 - Support RTL pref in non-XUL documents too. r=smaug 2019-04-03 09:26:31 +00:00
nsLayoutStatics.h Bug 1511842 - Remove unused nsLayoutStaticsRef. r=TYLin 2018-12-05 02:21:40 +00:00