Merge pull request #24607 from asmorkalov:as/serialize_android_samples_build

Serialize Android samples build in SDK script to prevent raise between gradle instances
This commit is contained in:
Alexander Smorkalov 2023-11-29 10:04:26 +03:00 committed by GitHub
commit 75f619fe00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

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 = []