Bug 1949346 - Default Gecko shared libraries to no linkage. r=firefox-build-system-reviewers,sergesanspaille

Back in the old days, shared libraries that linked against libxul/xpcom
were common (binary components), but those days are long gone. Even when
GeckoSharedLibrary was added, most uses were linkage=None. Nowadays, all
of them are, it's time to admit that this should be the default.

Differential Revision: https://phabricator.services.mozilla.com/D238899
This commit is contained in:
Mike Hommey
2025-04-22 02:23:13 +00:00
parent 5e45718373
commit ceb7a7d6e5
12 changed files with 13 additions and 12 deletions

View File

@@ -11,7 +11,7 @@
# both from libxul (when decoding using the codec integration layer Gecko
# provides) and from ffmpeg (when decoding and encoding through ffmpeg).
GeckoSharedLibrary("gkcodecs", linkage=None)
GeckoSharedLibrary("gkcodecs")
SHARED_LIBRARY_NAME = "gkcodecs"
SYMBOLS_FILE = "gkcodecs.symbols"
if CONFIG["MOZ_SYSTEM_LIBVPX"]:

View File

@@ -10,7 +10,7 @@
#
# Any library added here should also be reflected in the about:license page.
GeckoSharedLibrary("lgpllibs", linkage=None)
GeckoSharedLibrary("lgpllibs")
SHARED_LIBRARY_NAME = "lgpllibs"
# For some reason, mingw builds export way too many symbols.