Serialize Android samples build in SDK script to prevent raise between gradle instances.

This commit is contained in:
Alexander Smorkalov 2023-11-28 09:42:39 +03:00
parent e9f35610a5
commit 07da2c9d10

View File

@ -270,7 +270,7 @@ class Builder:
if self.no_samples_build:
execute([self.ninja_path, "install" if (self.debug_info or self.debug) else "install/strip"])
else:
execute([self.ninja_path, "-j1" if (self.debug_info or self.debug) else "-j3", "install" if (self.debug_info or self.debug) else "install/strip"])
execute([self.ninja_path, "-j1", "install" if (self.debug_info or self.debug) else "install/strip"])
def build_javadoc(self):
classpaths = []