aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/command_base.py
diff options
context:
space:
mode:
Diffstat (limited to 'python/servo/command_base.py')
-rw-r--r--python/servo/command_base.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/python/servo/command_base.py b/python/servo/command_base.py
index d5269de42d2..c813242f85d 100644
--- a/python/servo/command_base.py
+++ b/python/servo/command_base.py
@@ -503,10 +503,10 @@ class CommandBase(object):
install them, let us know by filing a bug!")
return False
- def set_run_env(self):
+ def set_run_env(self, android=False):
"""Some commands, like test-wpt, don't use a full build env,
but may still need dynamic search paths. This command sets that up"""
- if self.needs_gstreamer_env(None):
+ if not android and self.needs_gstreamer_env(None):
gstpath = self.get_gstreamer_path()
os.environ["LD_LIBRARY_PATH"] = path.join(gstpath, "lib", "x86_64-linux-gnu")