aboutsummaryrefslogtreecommitdiffstats
path: root/python/servo/build_commands.py
diff options
context:
space:
mode:
authorJosh Matthews <josh@joshmatthews.net>2018-09-20 14:12:37 -0400
committerGitHub <noreply@github.com>2018-09-20 14:12:37 -0400
commiteb9e408396ab5469cc2d6baac186a8308bbf8b93 (patch)
treeac0b66b5de15c3498517d60da81279716b4adb02 /python/servo/build_commands.py
parentac331c6663f50300a1b647ecf3fc3df9d46eac97 (diff)
downloadservo-eb9e408396ab5469cc2d6baac186a8308bbf8b93.tar.gz
servo-eb9e408396ab5469cc2d6baac186a8308bbf8b93.zip
Do not suppress errors from packaging android build.
Diffstat (limited to 'python/servo/build_commands.py')
-rw-r--r--python/servo/build_commands.py6
1 files changed, 4 insertions, 2 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py
index d788b092c05..8182f42dc9e 100644
--- a/python/servo/build_commands.py
+++ b/python/servo/build_commands.py
@@ -406,8 +406,10 @@ class MachCommands(CommandBase):
# Do some additional things if the build succeeded
if status == 0:
if android and not no_package:
- Registrar.dispatch("package", context=self.context,
- release=release, dev=dev, target=target)
+ rv = Registrar.dispatch("package", context=self.context,
+ release=release, dev=dev, target=target)
+ if rv:
+ return rv
if sys.platform == "win32":
servo_exe_dir = path.join(base_path, "debug" if dev else "release")