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

pull/24607/head
Alexander Smorkalov 1 year ago
parent e9f35610a5
commit 07da2c9d10
  1. 2
      platforms/android/build_sdk.py

@ -270,7 +270,7 @@ class Builder:
if self.no_samples_build: if self.no_samples_build:
execute([self.ninja_path, "install" if (self.debug_info or self.debug) else "install/strip"]) execute([self.ninja_path, "install" if (self.debug_info or self.debug) else "install/strip"])
else: 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): def build_javadoc(self):
classpaths = [] classpaths = []

Loading…
Cancel
Save