mirror of
https://github.com/f-droid/fdroidserver.git
synced 2025-11-05 15:00:30 +03:00
Fix silly object name issue, also clean jni dirs
This commit is contained in:
parent
b315968bea
commit
f9eda50276
2 changed files with 12 additions and 2 deletions
|
|
@ -390,6 +390,16 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
|
|||
else:
|
||||
error += line
|
||||
|
||||
# Also clean jni
|
||||
print "Cleaning jni dirs..."
|
||||
for baddir in [
|
||||
'libs/armeabi-v7a', 'libs/armeabi',
|
||||
'libs/mips', 'libs/x86']:
|
||||
badpath = os.path.join(build_dir, baddir)
|
||||
if os.path.exists(badpath):
|
||||
print "Removing '%s'" % badpath
|
||||
shutil.rmtree(badpath)
|
||||
|
||||
# Scan before building...
|
||||
print "Scanning source for common problems..."
|
||||
buildprobs = common.scan_source(build_dir, root_dir, thisbuild)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue