mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 23:10:29 +03:00
build: auto-download missing NDKS if they're known and can be verified
refs #517 #717
This commit is contained in:
parent
7a7ecbf9dc
commit
69fcd6a024
3 changed files with 378 additions and 11 deletions
|
|
@ -367,7 +367,10 @@ def build_local(app, build, vcs, build_dir, output_dir, log_dir, srclib_dir, ext
|
|||
if k.endswith("_orig"):
|
||||
continue
|
||||
logging.critical(" %s: %s" % (k, v))
|
||||
raise FDroidException()
|
||||
if onserver:
|
||||
common.auto_install_ndk(build)
|
||||
else:
|
||||
raise FDroidException()
|
||||
elif not os.path.isdir(ndk_path):
|
||||
logging.critical("Android NDK '%s' is not a directory!" % ndk_path)
|
||||
raise FDroidException()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue