Allow to use system libraries for gbm/drm/PipeWire instead of bundled
Categories
(Core :: WebRTC, enhancement)
Tracking
()
People
(Reporter: jgrulich, Assigned: jgrulich)
Details
Attachments
(6 files, 2 obsolete files)
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review | |
48 bytes,
text/x-phabricator-request
|
Details | Review |
We currently bundle gbm/drm/pipewire libraries for screencast/camera support in WebRTC, but it would be beneficial to have an option to use system libraries.
Assignee | ||
Comment 1•1 month ago
|
||
Assignee | ||
Comment 2•1 month ago
|
||
Assignee | ||
Comment 3•1 month ago
|
||
Assignee | ||
Comment 4•1 month ago
|
||
Regenerate moz.build files for the special handling in gn_processor.py
for gbm, drm and PipeWire libraries.
Also remove libwebrtc/third_party/[gbm,drm,pipewire] libs for which we
now have a special handling in gn_processor.py.
Generation command:
./mach python build/gn_processor.py
dom/media/webrtc/third_party_build/gn-configs/webrtc.json
Assignee | ||
Comment 5•1 month ago
|
||
We were using libepoxy only for GL/EGL defines, but we can use GL/EGL
headers directly.
This is a simple backport of an WebRTC upstream change and also update
to moz.build files to pickup the drop of libepoxy.
Upstream commit: 839b657b184b1afa563f6456b6caeac7c25dcb23
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Updated•1 month ago
|
Assignee | ||
Comment 6•1 month ago
|
||
We already include main <pipewire/pipewire.h> header, which includes all
the PipeWire headers, making <pipewire/core.h> to be included twice.
This breaks Firefox builds, where using system libraries we have to list
all system headers, making Firefox to unnecessarily list "core.h" header
in the list, while "pipewire.h" should be enough.
This is a simple backport of an WebRTC upstream change.
Upstream commit: 537158885bc60ffe64c2c0c8a7c89d74cb7c105b
Updated•1 month ago
|
Assignee | ||
Comment 7•1 month ago
|
||
Regenerate moz.build files for the special handling in gn_processor.py
for gbm, drm and PipeWire libraries and for updates in GN config files.
Generation command:
./mach python build/gn_processor.py
dom/media/webrtc/third_party_build/gn-configs/webrtc.json
Updated•1 month ago
|
Assignee | ||
Updated•26 days ago
|
Updated•26 days ago
|
Assignee | ||
Comment 10•11 days ago
|
||
With removal of libepoxy usage from WebRTC, we need GL/EGL headers to be
available during the build.
Updated•11 days ago
|
Updated•9 days ago
|
Updated•9 days ago
|
Comment 11•5 days ago
|
||
Comment 12•4 days ago
|
||
bugherder |
https://hg.mozilla.org/mozilla-central/rev/473cee020c76
https://hg.mozilla.org/mozilla-central/rev/9b7841236572
https://hg.mozilla.org/mozilla-central/rev/792f94b3567b
https://hg.mozilla.org/mozilla-central/rev/506d4efaf2dc
https://hg.mozilla.org/mozilla-central/rev/cae5ddd30f59
Description
•