Added gstreamer support to the magicleap port

This commit is contained in:
Alan Jeffrey 2019-08-06 17:59:22 -05:00
parent 555fa75b2c
commit 11b3d78f40
11 changed files with 246 additions and 11 deletions

View file

@ -85,10 +85,10 @@ webxr-api = {git = "https://github.com/servo/webxr"}
[target.'cfg(all(not(target_os = "windows"), not(target_os = "ios"), not(target_os="android"), not(target_arch="arm"), not(target_arch="aarch64")))'.dependencies]
gaol = {git = "https://github.com/servo/gaol"}
[target.'cfg(all(not(target_os = "windows"), any(all(target_os = "android", target_arch = "arm"), target_arch = "x86_64")))'.dependencies.servo-media-gstreamer]
[target.'cfg(all(not(target_os = "windows"), any(target_os = "android", target_arch = "x86_64")))'.dependencies.servo-media-gstreamer]
git = "https://github.com/servo/media"
[target.'cfg(any(target_os = "windows", not(any(all(target_os = "android", target_arch = "arm"), target_arch = "x86_64"))))'.dependencies.servo-media-dummy]
[target.'cfg(any(target_os = "windows", not(any(target_os = "android", target_arch = "x86_64"))))'.dependencies.servo-media-dummy]
git = "https://github.com/servo/media"
[target.'cfg(target_os = "windows")'.dependencies]

View file

@ -127,10 +127,7 @@ pub use servo_url as url;
#[cfg(all(
not(target_os = "windows"),
any(
all(target_os = "android", target_arch = "arm"),
target_arch = "x86_64",
)
any(target_os = "android", target_arch = "x86_64",)
))]
mod media_platform {
use super::ServoMedia;
@ -211,10 +208,7 @@ mod media_platform {
#[cfg(not(all(
not(target_os = "windows"),
any(
all(target_os = "android", target_arch = "arm"),
target_arch = "x86_64",
)
any(target_os = "android", target_arch = "x86_64",)
)))]
mod media_platform {
use super::ServoMedia;