diff options
author | Alan Jeffrey <ajeffrey@mozilla.com> | 2019-08-23 11:54:46 -0500 |
---|---|---|
committer | Alan Jeffrey <ajeffrey@mozilla.com> | 2019-08-23 11:54:46 -0500 |
commit | 1c661be721f24742017355d0d7fa79c0fe01377f (patch) | |
tree | a0739db7b6a913cdc0257407c9d3a9377ed11e51 /python/servo/command_base.py | |
parent | 5bf00c07c2e22e05ba9643a94290b4affbc9b4be (diff) | |
download | servo-1c661be721f24742017355d0d7fa79c0fe01377f.tar.gz servo-1c661be721f24742017355d0d7fa79c0fe01377f.zip |
In mach, add arguments to bare uses of is_windows
Diffstat (limited to 'python/servo/command_base.py')
-rw-r--r-- | python/servo/command_base.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/python/servo/command_base.py b/python/servo/command_base.py index 9784b0a1af1..21118c68add 100644 --- a/python/servo/command_base.py +++ b/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 @@ class CommandBase(object): 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: |