mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-06 15:30:28 +03:00
scanner: remove jni check
buildjni=no is the default. Moreover, some apps now run ndk-build via gradle, so this was just in the way.
This commit is contained in:
parent
3101ad6c39
commit
7a7d36feef
1 changed files with 0 additions and 8 deletions
|
|
@ -236,14 +236,6 @@ def scan_source(build_dir, root_dir, build):
|
||||||
logging.error('Unused scandelete path: %s' % p)
|
logging.error('Unused scandelete path: %s' % p)
|
||||||
count += 1
|
count += 1
|
||||||
|
|
||||||
# Presence of a jni directory without buildjni=yes might
|
|
||||||
# indicate a problem (if it's not a problem, explicitly use
|
|
||||||
# buildjni=no to bypass this check)
|
|
||||||
if (os.path.exists(os.path.join(root_dir, 'jni')) and
|
|
||||||
not build.buildjni):
|
|
||||||
logging.error('Found jni directory, but buildjni is not enabled. Set it to \'no\' to ignore.')
|
|
||||||
count += 1
|
|
||||||
|
|
||||||
return count
|
return count
|
||||||
|
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue