Enable GStreamer on Windows.

This commit is contained in:
Josh Matthews 2019-08-16 13:15:05 -04:00
parent a3e33d6388
commit c0ff30b71f
5 changed files with 1331 additions and 12 deletions

View file

@ -125,10 +125,7 @@ pub use msg::constellation_msg::TopLevelBrowsingContextId as BrowserId;
pub use servo_config as config;
pub use servo_url as url;
#[cfg(all(
not(target_os = "windows"),
any(target_os = "android", target_arch = "x86_64",)
))]
#[cfg(any(target_os = "android", target_arch = "x86_64", target_os = "windows",))]
mod media_platform {
use super::ServoMedia;
use servo_media_gstreamer::GStreamerBackend;
@ -206,10 +203,7 @@ mod media_platform {
}
}
#[cfg(not(all(
not(target_os = "windows"),
any(target_os = "android", target_arch = "x86_64",)
)))]
#[cfg(not(any(target_os = "android", target_arch = "x86_64", target_os = "windows",)))]
mod media_platform {
use super::ServoMedia;
pub fn init() {