1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-11-09 00:40:11 +01:00

Avoid printing the dir ''

This commit is contained in:
Daniel Martí 2014-04-03 16:10:54 +02:00
parent fb933ebafd
commit c08987cf4b

View File

@ -485,7 +485,10 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
jni_components = ['']
cmd = [ os.path.join(config['ndk_path'], "ndk-build"), "-j1" ]
for d in jni_components:
logging.info("Building native code in '%s'" % d)
if d:
logging.info("Building native code in '%s'" % d)
else:
logging.info("Building native code in the main project")
manifest = root_dir + '/' + d + '/AndroidManifest.xml'
if os.path.exists(manifest):
# Read and write the whole AM.xml to fix newlines and avoid