Remove GStreamer dependencies from UWP app. Remove GStreamer backend on Windows.

It's impossible to conditionally use a crate based only on cargo features, so
temporarily disable the backend on all Windows builds while we sort out how
to get the UWP builds working again.
This commit is contained in:
Josh Matthews 2019-07-30 16:58:50 -07:00
parent 6429fbeeff
commit 8a10faf3b9
5 changed files with 59 additions and 1503 deletions

View file

@ -125,10 +125,12 @@ pub use msg::constellation_msg::TopLevelBrowsingContextId as BrowserId;
pub use servo_config as config;
pub use servo_url as url;
#[cfg(any(
all(target_os = "android", target_arch = "arm"),
target_arch = "x86_64",
all(target_os = "windows", target_arch = "aarch64"),
#[cfg(all(
not(target_os = "windows"),
any(
all(target_os = "android", target_arch = "arm"),
target_arch = "x86_64",
)
))]
mod media_platform {
use super::ServoMedia;
@ -207,10 +209,12 @@ mod media_platform {
}
}
#[cfg(not(any(
all(target_os = "android", target_arch = "arm"),
target_arch = "x86_64",
all(target_os = "windows", target_arch = "aarch64"),
#[cfg(not(all(
not(target_os = "windows"),
any(
all(target_os = "android", target_arch = "arm"),
target_arch = "x86_64",
)
)))]
mod media_platform {
use super::ServoMedia;