Load GStreamer plugins on Windows arm64.

This commit is contained in:
Josh Matthews 2019-07-26 13:27:09 -04:00
parent 9336931377
commit e9a7544e7e
2 changed files with 6 additions and 4 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] [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"} gaol = {git = "https://github.com/servo/gaol"}
[target.'cfg(any(all(target_os = "android", target_arch = "arm"), target_arch = "x86_64"))'.dependencies.servo-media-gstreamer] [target.'cfg(any(all(target_os = "android", target_arch = "arm"), target_arch = "x86_64", all(target_os = "windows", target_arch = "aarch64")))'.dependencies.servo-media-gstreamer]
git = "https://github.com/servo/media" git = "https://github.com/servo/media"
[target.'cfg(not(any(all(target_os = "android", target_arch = "arm"), target_arch = "x86_64")))'.dependencies.servo-media-dummy] [target.'cfg(not(any(all(target_os = "android", target_arch = "arm"), target_arch = "x86_64", all(target_os = "windows", target_arch = "aarch64"))))'.dependencies.servo-media-dummy]
git = "https://github.com/servo/media" git = "https://github.com/servo/media"
[target.'cfg(target_os = "windows")'.dependencies] [target.'cfg(target_os = "windows")'.dependencies]

View file

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