aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/command_base.py
diff options
context:
space:
mode:
authorManish Goregaokar <manishsmail@gmail.com>2018-09-11 22:14:31 +0530
committerManish Goregaokar <manishsmail@gmail.com>2018-09-11 22:14:31 +0530
commit2cc4e1dcdcdee9505d4d790386b1df0a680549d5 (patch)
tree5e3fea37d9a6868a45b2b91b508fff442aba6798 /python/servo/command_base.py
parent5d6701179c71abcd6a020091ec7d2cb6d47351ed (diff)
downloadservo-2cc4e1dcdcdee9505d4d790386b1df0a680549d5.tar.gz
servo-2cc4e1dcdcdee9505d4d790386b1df0a680549d5.zip
mach package should work on android
Diffstat (limited to 'python/servo/command_base.py')
-rw-r--r--python/servo/command_base.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/python/servo/command_base.py b/python/servo/command_base.py
index c813242f85d..b335dcd69eb 100644
--- a/python/servo/command_base.py
+++ b/python/servo/command_base.py
@@ -488,8 +488,9 @@ class CommandBase(object):
# Some systems don't have pkg-config; we can't probe in this case
# and must hope for the best
return False
- if "x86_64" not in (target or host_triple()):
- # We don't build gstreamer for non-x86_64 yet
+ effective_target = target or host_triple()
+ 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":
if path.isdir(self.get_gstreamer_path()):