aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/servo/build_commands.py5
1 files changed, 4 insertions, 1 deletions
diff --git a/python/servo/build_commands.py b/python/servo/build_commands.py
index 12990921abd..e248c4a74fe 100644
--- a/python/servo/build_commands.py
+++ b/python/servo/build_commands.py
@@ -86,9 +86,12 @@ class MachCommands(CommandBase):
env = self.build_env()
if android:
# Build OpenSSL for android
+ make_cmd = ["make"]
+ if jobs is not None:
+ make_cmd += ["-j" + jobs]
with cd(self.android_support_dir()):
status = subprocess.call(
- ["make", "-j4", "-f", "openssl.makefile"],
+ make_cmd + ["-f", "openssl.makefile"],
env=self.build_env())
env['OPENSSL_PATH'] = path.join(self.android_support_dir(), "openssl-1.0.1k")