Always dummy (#30240)

This commit is contained in:
Samson 2023-08-30 08:09:14 +02:00 committed by GitHub
parent 9aa3f74878
commit 5e60088276
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 7 additions and 12 deletions

View file

@ -17,7 +17,6 @@ googlevr = ["webxr/googlevr"]
jitspew = ["script/jitspew"]
js_backtrace = ["script/js_backtrace"]
max_log_level = ["log/release_max_level_info"]
media-dummy = ["servo-media-dummy"]
media-gstreamer = ["servo-media-gstreamer", "gstreamer"]
native-bluetooth = ["bluetooth/native-bluetooth"]
no-wgl = ["canvas/no-wgl"]
@ -67,7 +66,7 @@ script = { path = "../script" }
script_layout_interface = { path = "../script_layout_interface" }
script_traits = { path = "../script_traits" }
servo-media = { git = "https://github.com/servo/media" }
servo-media-dummy = { git = "https://github.com/servo/media", optional = true }
servo-media-dummy = { git = "https://github.com/servo/media" }
servo-media-gstreamer = { git = "https://github.com/servo/media", optional = true }
servo_config = { path = "../config" }
servo_geometry = { path = "../geometry" }

View file

@ -171,7 +171,7 @@ mod media_platform {
}
}
#[cfg(feature = "media-dummy")]
#[cfg(not(feature = "media-gstreamer"))]
mod media_platform {
use super::ServoMedia;
pub fn init() {