mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-09-16 16:02:33 +03:00
Avoid printing the dir ''
This commit is contained in:
parent
fb933ebafd
commit
c08987cf4b
1 changed files with 4 additions and 1 deletions
|
@ -485,7 +485,10 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
|
||||||
jni_components = ['']
|
jni_components = ['']
|
||||||
cmd = [ os.path.join(config['ndk_path'], "ndk-build"), "-j1" ]
|
cmd = [ os.path.join(config['ndk_path'], "ndk-build"), "-j1" ]
|
||||||
for d in jni_components:
|
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'
|
manifest = root_dir + '/' + d + '/AndroidManifest.xml'
|
||||||
if os.path.exists(manifest):
|
if os.path.exists(manifest):
|
||||||
# Read and write the whole AM.xml to fix newlines and avoid
|
# Read and write the whole AM.xml to fix newlines and avoid
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue