aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/post_build_commands.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/servo/post_build_commands.py')
-rw-r--r--python/servo/post_build_commands.py13
1 files changed, 1 insertions, 12 deletions
diff --git a/python/servo/post_build_commands.py b/python/servo/post_build_commands.py
index 4cc7e69318f..a6ab4de647c 100644
--- a/python/servo/post_build_commands.py
+++ b/python/servo/post_build_commands.py
@@ -272,18 +272,7 @@ class PostBuildCommands(CommandBase):
target, android = self.pick_target_triple(target, android, magicleap)
- # A guess about which platforms should use the gstreamer media stack
- if not(media_stack):
- if (
- not(target) or
- ("armv7" in target and "android" in target) or
- ("x86_64" in target)
- ):
- media_stack = "gstreamer"
- else:
- media_stack = "dummy"
-
- features += ["media-" + media_stack]
+ features += self.pick_media_stack(media_stack, target)
returncode = self.run_cargo_build_like_command("doc", params, features=features, **kwargs)
if returncode: