mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-08 00:10:29 +03:00
build: missing NDK is now a warning not a critical error
This commit is contained in:
parent
adafd4560c
commit
45bd89b3a2
1 changed files with 3 additions and 3 deletions
|
|
@ -361,12 +361,12 @@ def build_local(app, build, vcs, build_dir, output_dir, log_dir, srclib_dir, ext
|
||||||
ndk_path = build.ndk_path()
|
ndk_path = build.ndk_path()
|
||||||
if build.ndk or (build.buildjni and build.buildjni != ['no']):
|
if build.ndk or (build.buildjni and build.buildjni != ['no']):
|
||||||
if not ndk_path:
|
if not ndk_path:
|
||||||
logging.critical("Android NDK version '%s' could not be found!" % build.ndk)
|
logging.warning("Android NDK version '%s' could not be found!" % build.ndk)
|
||||||
logging.critical("Configured versions:")
|
logging.warning("Configured versions:")
|
||||||
for k, v in config['ndk_paths'].items():
|
for k, v in config['ndk_paths'].items():
|
||||||
if k.endswith("_orig"):
|
if k.endswith("_orig"):
|
||||||
continue
|
continue
|
||||||
logging.critical(" %s: %s" % (k, v))
|
logging.warning(" %s: %s" % (k, v))
|
||||||
if onserver:
|
if onserver:
|
||||||
common.auto_install_ndk(build)
|
common.auto_install_ndk(build)
|
||||||
else:
|
else:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue