fune/toolkit/library/libxul.symbols
serge-sans-paille afb505be6b Bug 1836369 - Only export XRE_GetBootstrap symbol from libxul r=glandium
Better control of the ABI has its own merit, but in that case, we
significantly shrink the amount of dynamic symbol, which in turns
reduces the size of the binary.

As this limits the exported symbol to one, there's no longer a risk to
conflict with libjs, so just remove the symbol versioning.

On linux64 opt build, this saves ~2.5MB on the installer size libxul.so

Do not apply this on Android as it's using some extra symbols from
libxul.

Exclude Android from the targets as it requires some extra symbols.

Differential Revision: https://phabricator.services.mozilla.com/D179806
2023-06-20 19:57:25 +00:00

1 line
17 B
Text

XRE_GetBootstrap