aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/platform/base.py
diff options
context:
space:
mode:
authorMartin Robinson <mrobinson@igalia.com>2023-07-05 08:46:07 +0200
committerMartin Robinson <mrobinson@igalia.com>2023-07-05 09:12:09 +0200
commitc58d74fe62ce1b82f2d5a193f4f02bb20a7c402e (patch)
treeedd0e707d8ab0909621160921dcc04bf64b5869c /python/servo/platform/base.py
parent041d95e0f4ef08dddab22e0276204240682cdf79 (diff)
downloadservo-c58d74fe62ce1b82f2d5a193f4f02bb20a7c402e.tar.gz
servo-c58d74fe62ce1b82f2d5a193f4f02bb20a7c402e.zip
Remove UWP / Hololens support
Diffstat (limited to 'python/servo/platform/base.py')
-rw-r--r--python/servo/platform/base.py11
1 files changed, 3 insertions, 8 deletions
diff --git a/python/servo/platform/base.py b/python/servo/platform/base.py
index 65731ba0364..a1bce7e3bb8 100644
--- a/python/servo/platform/base.py
+++ b/python/servo/platform/base.py
@@ -25,14 +25,9 @@ class Base:
def set_gstreamer_environment_variables_if_necessary(
self, env: Dict[str, str], cross_compilation_target: Optional[str], check_installation=True
):
- # Environment variables are not needed when cross-compiling on any
- # platform other than Windows. UWP doesn't support GStreamer. GStreamer
- # for Android is handled elsewhere.
- if cross_compilation_target and (
- not self.is_windows
- or "uwp" in cross_compilation_target
- or "android" in cross_compilation_target
- ):
+ # Environment variables are not needed when cross-compiling on any platform other
+ # than Windows. GStreamer for Android is handled elsewhere.
+ if cross_compilation_target and (not self.is_windows or "android" in cross_compilation_target):
return
# We may not need to update environment variables if GStreamer is installed