aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/build_commands.py
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2023-05-27 08:24:27 +0200
committerMartin Robinson <mrobinson@igalia.com>2023-05-27 12:31:06 +0200
commit3fcff73f4db85f16577c2032c3b12e7c4262dd74 (patch)
treee43087bf1ce648100173ea4e5b1023c4a6fcc428 /python/servo/build_commands.py
parentae23298403cd5ebcade7b3e6b1a0ce162ffecd1e (diff)
downloadservo-3fcff73f4db85f16577c2032c3b12e7c4262dd74.tar.gz
servo-3fcff73f4db85f16577c2032c3b12e7c4262dd74.zip
Only check the GStreamer installation when building
Instead of always checking whether GStreamer is installed in mach's `build_env`, only do this when actually building. Also, use the instance variable to find features and look for the "media-gstreamer" feature instead of looking for !"media-dummy." Fixes #29797.
Diffstat (limited to 'python/servo/build_commands.py')
-rw-r--r--python/servo/build_commands.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py
index e9687479ea3..30d6618f19b 100644
--- a/python/servo/build_commands.py
+++ b/python/servo/build_commands.py
@@ -113,7 +113,7 @@ class MachCommands(CommandBase):
if very_verbose:
opts += ["-vv"]
- env = self.build_env(is_build=True, features=self.features)
+ env = self.build_env(is_build=True)
self.ensure_bootstrapped()
self.ensure_clobbered()