aboutsummaryrefslogtreecommitdiffstats
path: root/components/script/dom/xrframe.rs
diff options
context:
space:
mode:
authorbors-servo <lbergstrom+bors@mozilla.com>2019-10-02 13:03:04 -0400
committerGitHub <noreply@github.com>2019-10-02 13:03:04 -0400
commit22e3797fb620b8b24b28abbce781ac0c0aa6ccda (patch)
tree51bfdf80fdc58fb68fecb60b5051890d302ccc22 /components/script/dom/xrframe.rs
parent218a2aefc5708a22a3594a2947317810bcf3c6f5 (diff)
parentc716d4662dc56021316215adc2f1cee9c4fc589a (diff)
downloadservo-22e3797fb620b8b24b28abbce781ac0c0aa6ccda.tar.gz
servo-22e3797fb620b8b24b28abbce781ac0c0aa6ccda.zip
Auto merge of #24343 - Manishearth:pkg-config-gst-uwp, r=jdm
Isolate UWP builds from external gstreamers Fixes https://github.com/servo/servo/issues/24327 This further seals the UWP build from the non-cross regular environment and makes pkg-config look at the UWP package. This makes sure external gstreamer stuff doesn't sneak in. We already kinda do this by setting the LIB environment variable, but PKG_CONFIG_PATH also sneaks in and causes problems. Thing is, it turns out that the pkgconfig in gstreamer-uwp isn't enough for a full servo build, since we don't package gstreamer-webrtc, and the gstreamer-webrtc crate requires it to be around, even if we won't end up loading the library at runtime. Stuff has succeeded so far because people have gstreamer installations whose PKG_CONFIG_PATH is pulled in, despite us using a different set of DLLs, which somehow works but sometimes doesn't (I still don't know why). I've added a fake gstreamer-webrtc-1.0.pc file to both targets in the gstreamer-uwp package with the following contents. It doesn't do anything the other pc files don't, so it doesn't end up pulling in additional libraries, it just exists to convince pkgconfig that we *have* this library (even though we don't), so that the build may succeed (we'll fail at runtime when we try to open WebRTC connections, but those are disabled anyway). <details> ```pkgconfig prefix=c:/gstreamer/1.0/arm64.uwp-release exec_prefix=${prefix} libdir=${prefix}/lib includedir=${prefix}/include/gstreamer-1.0 datarootdir=${prefix}/share datadir=${datarootdir} girdir=${datadir}/gir-1.0 typelibdir=${libdir}/girepository-1.0 Name: Fake GStreamer WebRTC library Description: Hacky stand-in for gstreamer-webrtc, does nothing but stops the Rust gstreamer-webrtc crate from failing during build Requires: gstreamer-1.0 gstreamer-base-1.0 Version: 1.16.0 Libs: -L${libdir} Cflags: -I${includedir} ``` </details> r? @jdm Perhaps don't merge yet, I can't test this until tomorrow (and ideally would like to test this from scratch tomorrow evening) <!-- Reviewable:start --> --- This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/24343) <!-- Reviewable:end -->
Diffstat (limited to 'components/script/dom/xrframe.rs')
0 files changed, 0 insertions, 0 deletions