Skip to content
Permalink
Browse files

In mach, add arguments to bare uses of is_windows

  • Loading branch information...
asajeffrey committed Aug 23, 2019
1 parent 5bf00c0 commit 1c661be721f24742017355d0d7fa79c0fe01377f
Showing with 2 additions and 2 deletions.
  1. +2 −2 python/servo/command_base.py
@@ -240,7 +240,7 @@ def set_osmesa_env(bin_path, env):


def gstreamer_root(target, env, topdir=None):
if is_windows:
if is_windows():
arch = {
"x86_64": "X86_64",
"x86": "X86",
@@ -570,7 +570,7 @@ def needs_gstreamer_env(self, target, env):
if "x86_64" not in effective_target or "android" in effective_target:
# We don't build gstreamer for non-x86_64 / android yet
return False
if sys.platform == "linux2" or is_windows:
if sys.platform == "linux2" or is_windows():
if path.isdir(gstreamer_root(effective_target, env, self.get_top_dir)):
return True
else:

0 comments on commit 1c661be

Please sign in to comment.
You can’t perform that action at this time.