From: Daniel Martí Date: Fri, 4 Dec 2015 18:32:01 +0000 (+0100) Subject: scanner: remove jni check X-Git-Tag: 0.6.0~58 X-Git-Url: http://www.chiark.greenend.org.uk/ucgi/~ianmdlvl/git?a=commitdiff_plain;h=7a7d36feef083e3a9c8b4b9f78eec314165bf187;p=fdroidserver.git 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. --- diff --git a/fdroidserver/scanner.py b/fdroidserver/scanner.py index 4ac6276d..f57c2f1b 100644 --- a/fdroidserver/scanner.py +++ b/fdroidserver/scanner.py @@ -236,14 +236,6 @@ def scan_source(build_dir, root_dir, build): logging.error('Unused scandelete path: %s' % p) 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