aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--components/servo/Cargo.toml4
-rw-r--r--components/servo/lib.rs6
2 files changed, 6 insertions, 4 deletions
diff --git a/components/servo/Cargo.toml b/components/servo/Cargo.toml
index cc158af843f..ce4ca523b0f 100644
--- a/components/servo/Cargo.toml
+++ b/components/servo/Cargo.toml
@@ -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(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"
-[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"
[target.'cfg(target_os = "windows")'.dependencies]
diff --git a/components/servo/lib.rs b/components/servo/lib.rs
index 1ffd3e6818d..0f3cc8c5f0e 100644
--- a/components/servo/lib.rs
+++ b/components/servo/lib.rs
@@ -126,7 +126,8 @@ pub use servo_url as url;
#[cfg(any(
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 {
use super::ServoMedia;
@@ -207,7 +208,8 @@ mod media_platform {
#[cfg(not(any(
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 {
use super::ServoMedia;