diff options
author | Martin Robinson <mrobinson@igalia.com> | 2023-07-05 08:46:07 +0200 |
---|---|---|
committer | Martin Robinson <mrobinson@igalia.com> | 2023-07-05 09:12:09 +0200 |
commit | c58d74fe62ce1b82f2d5a193f4f02bb20a7c402e (patch) | |
tree | edd0e707d8ab0909621160921dcc04bf64b5869c /python/servo/platform/base.py | |
parent | 041d95e0f4ef08dddab22e0276204240682cdf79 (diff) | |
download | servo-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.py | 11 |
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 |