gecko-dev/browser/installer
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
..
windows Bug 1427670 - Escape warning message when the user can't write to their profile. r=mhowell 2018-01-02 22:40:44 -05:00
allowed-dupes.mn Bug 1374574 - Remove the FlyWeb system add-on from Firefox. r=mconley 2017-11-22 14:47:49 +01:00
Makefile.in Bug 1426528: Pass paths to extra dmg files explicitly when packing; r=glandium 2017-12-21 13:38:35 -07:00
package-manifest.in Bug 1409707 - [Wayland] - provide library shell, r=jhorak 2017-10-18 14:34:27 +02:00
removed-files.in Bug 1392913 - Remove updatev2.manifest support and other code that is no longer necessary for backwards compatibility after the next watershed. r=mhowell 2017-09-27 13:57:18 -07:00