Merge pull request #24607 from asmorkalov:as/serialize_android_samples_build

Serialize Android samples build in SDK script to prevent raise between gradle instances
pull/24615/head
Alexander Smorkalov 1 year ago committed by GitHub
commit 75f619fe00
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      platforms/android/build_sdk.py

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

Loading…
Cancel
Save