mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-09-11 07:10:12 +02:00
build: missing NDK is now a warning not a critical error
This commit is contained in:
parent
adafd4560c
commit
45bd89b3a2
@ -361,12 +361,12 @@ def build_local(app, build, vcs, build_dir, output_dir, log_dir, srclib_dir, ext
|
||||
ndk_path = build.ndk_path()
|
||||
if build.ndk or (build.buildjni and build.buildjni != ['no']):
|
||||
if not ndk_path:
|
||||
logging.critical("Android NDK version '%s' could not be found!" % build.ndk)
|
||||
logging.critical("Configured versions:")
|
||||
logging.warning("Android NDK version '%s' could not be found!" % build.ndk)
|
||||
logging.warning("Configured versions:")
|
||||
for k, v in config['ndk_paths'].items():
|
||||
if k.endswith("_orig"):
|
||||
continue
|
||||
logging.critical(" %s: %s" % (k, v))
|
||||
logging.warning(" %s: %s" % (k, v))
|
||||
if onserver:
|
||||
common.auto_install_ndk(build)
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user