Add/document convenient way of overriding libwebrtc files
Categories
(Core :: WebRTC, task, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox143 | --- | fixed |
People
(Reporter: pehrsons, Assigned: mjf)
References
Details
Attachments
(6 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 |
This is filed per https://phabricator.services.mozilla.com/D254341#8802587
We'd like a better way to override libwebrtc headers/impls than explicitly modifying those files explicitly -- something in the build system.
Candidates to apply this to: api/location.h, rtc_base/system_time.cc.
Also see Chromium's webrtc_overrides where they do this.
| Assignee | ||
Updated•9 months ago
|
| Assignee | ||
Comment 1•8 months ago
|
||
| Assignee | ||
Comment 2•8 months ago
|
||
| Assignee | ||
Comment 3•8 months ago
|
||
| Assignee | ||
Comment 4•8 months ago
|
||
| Assignee | ||
Comment 5•8 months ago
|
||
| Assignee | ||
Comment 6•8 months ago
|
||
Backed out for causing build bustages @x_error_trap.h.
| Assignee | ||
Updated•8 months ago
|
Comment 10•8 months ago
|
||
| bugherder | ||
https://hg.mozilla.org/mozilla-central/rev/19164e58323d
https://hg.mozilla.org/mozilla-central/rev/b7974d218a25
https://hg.mozilla.org/mozilla-central/rev/519bc3ce648c
https://hg.mozilla.org/mozilla-central/rev/9407a3db2ccc
https://hg.mozilla.org/mozilla-central/rev/0869d45b66ed
https://hg.mozilla.org/mozilla-central/rev/817ce0936357
Comment 11•8 months ago
•
|
||
i dunno yet if i should file a followup/regressor bug, but the build fails here on OpenBSD:
38:56.05 dom/media/webrtc/libwebrtc_overrides
38:58.76 In file included from Unified_cpp_libwebrtc_overrides0.cpp:11:
38:58.76 In file included from /build/buildslave-amd64/mozilla-central-amd64/build/dom/media/webrtc/libwebrtc_overrides/modules/desktop_capture/linux/x11/x_error_trap.cc:7:
38:58.76 In file included from /build/buildslave-amd64/mozilla-central-amd64/build/dom/media/webrtc/libwebrtc_overrides/modules/desktop_capture/linux/x11/x_error_trap.h:10:
38:58.76 /usr/obj/buildslave/mozilla-central/dist/system_wrappers/X11/Xlibint.h:3:15: fatal error: 'X11/Xlibint.h' file not found
38:58.76 3 | #include_next <X11/Xlibint.h>
38:58.76 | ^~~~~~~~~~~~~~~
38:58.77 1 error generated.
maybe with the changes in this bug the path to X11 headers (eg MOZ_X11_CFLAGS contains ['-I/usr/X11R6/include']) isnt propagated to moz.build files ?
| Assignee | ||
Comment 12•8 months ago
|
||
(In reply to Landry Breuil (:gaston) from comment #11)
i dunno yet if i should file a followup/regressor bug, but the build fails here on OpenBSD:
38:56.05 dom/media/webrtc/libwebrtc_overrides 38:58.76 In file included from Unified_cpp_libwebrtc_overrides0.cpp:11: 38:58.76 In file included from /build/buildslave-amd64/mozilla-central-amd64/build/dom/media/webrtc/libwebrtc_overrides/modules/desktop_capture/linux/x11/x_error_trap.cc:7: 38:58.76 In file included from /build/buildslave-amd64/mozilla-central-amd64/build/dom/media/webrtc/libwebrtc_overrides/modules/desktop_capture/linux/x11/x_error_trap.h:10: 38:58.76 /usr/obj/buildslave/mozilla-central/dist/system_wrappers/X11/Xlibint.h:3:15: fatal error: 'X11/Xlibint.h' file not found 38:58.76 3 | #include_next <X11/Xlibint.h> 38:58.76 | ^~~~~~~~~~~~~~~ 38:58.77 1 error generated.
Please do file a follow-up bug. I'll take a patch if you have it. If not, I'll try to spin up an OpenBSD VM.
Updated•7 months ago
|
Description
•