gecko-dev/toolkit/library
Martin Stransky a65c7eb6a0 Bug 1409707 - [Wayland] - provide library shell, r=jhorak
We don't add build-time dependency on Wayland libraries; that allows Wayland enabled Firefox
builds to run on systems without Wayland support.

We also can't dlsym() Wayland symbols directly from libwayland-client.so library as we miss
global data entries referenced by code at wayland-client.h then.

As a partial solution (for glibc systems only) we create dummy libwayland-client.so library
implementation and place it *after* Gtk+ 3.0 libraries at linking time.

It fixes build-time dependencies (we link against our libwayland-client.so library).
Run-time dependency is resolved by ld.so - when Gtk+ 3.0 libraries are linked with
system libwayland-client.so library, wayland symbols are pulled from there instead
from our dummy libwayland-client.so library.

When Gtk+ 3.0 is not linked with system libwayland-client.so it means we're running
on system without Wayland support. Our dummy libwayland-client.so implementation
is used (symbols are pulled run-time from there) and Firefox Wayland support is
disabled then.

MozReview-Commit-ID: IyaePwp4MxV

--HG--
extra : rebase_source : 852955d001657176e0bf69c099580be862d0b448
2017-10-18 14:34:27 +02:00
..
dummydll Bug 1386876 - Replace all uses of NO_VISIBILITY_FLAGS with a template and remove NO_VISIBILITY_FLAGS. r=glandium 2017-05-01 18:12:35 -07:00
gtest No bug - Servo bustage fix for PR 19751 r=bustage-fix 2018-01-13 02:17:37 +02:00
rust No bug - Servo bustage fix for PR 19751 r=bustage-fix 2018-01-13 02:17:37 +02:00
StaticXULComponentsEnd Bug 1185424 - Fix build failures on SunOS due to "NSModules are not ordered appropriately". r=glandium 2017-08-22 01:54:58 -07:00
dependentlibs.py Bug 1336791 - Allow readelf to print types without parentheses. r=glandium 2017-02-05 10:57:06 +00:00
gen_symverscript.py Bug 1423815 - Move symverscript for libxul from libxul.mk to GENERATED_FILES. r=ted 2017-12-08 12:39:10 -08:00
libxul.mk Bug 1423815 - Move symverscript for libxul from libxul.mk to GENERATED_FILES. r=ted 2017-12-08 12:39:10 -08:00
libxul.so-gdb.py.in
Makefile.in Bug 1200311 - Build the gtest libxul during the compile tier instead of package-tests. r=ted 2017-02-06 14:34:07 -08:00
moz.build Bug 1409707 - [Wayland] - provide library shell, r=jhorak 2017-10-18 14:34:27 +02:00
nsDllMain.cpp Bug 1378712 - Remove all trailing whitespaces r=Ehsan 2017-07-06 14:00:35 +02:00
StaticXULComponents.ld
StaticXULComponentsStart.cpp Bug 1185424 - Fix build failures on SunOS due to "NSModules are not ordered appropriately". r=glandium 2017-08-22 01:54:58 -07:00
symverscript.in
xulrunner.rc Backed out 3 changesets (bug 1354077) for assertions in AccessibleWrap.cpp a=backout CLOSED TREE 2017-06-12 16:54:10 -07:00