mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
Add check for unbuilt jni to scanner
This commit is contained in:
parent
b4ea881db9
commit
373f892558
1 changed files with 8 additions and 0 deletions
|
@ -102,6 +102,14 @@ for app in apps:
|
||||||
msg += ' in ' + app['id'] + ' ' + thisbuild['version']
|
msg += ' in ' + app['id'] + ' ' + thisbuild['version']
|
||||||
problems.append(msg)
|
problems.append(msg)
|
||||||
|
|
||||||
|
# Presence of a jni directory without buildjni=yes might
|
||||||
|
# indicate a problem...
|
||||||
|
if (os.path.exists(os.path.join(root_dir, 'jni')) and
|
||||||
|
thisbuild.get('buildjni', 'no') != 'yes'):
|
||||||
|
msg = 'Found jni directory, but buildjni is not enabled'
|
||||||
|
msg += ' in ' + app['id'] + ' ' + thisbuild['version']
|
||||||
|
problems.append(msg)
|
||||||
|
|
||||||
except BuildException as be:
|
except BuildException as be:
|
||||||
msg = "Could not scan app %s due to BuildException: %s" % (app['id'], be)
|
msg = "Could not scan app %s due to BuildException: %s" % (app['id'], be)
|
||||||
problems.append(msg)
|
problems.append(msg)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue