mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-11-13 02:30:11 +01:00
Don't forcefully remove libs/<arch>, we now see binaries
This commit is contained in:
parent
cf852012ed
commit
c06b817449
@ -420,16 +420,6 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
|
||||
raise BuildException("Error cleaning %s:%s" %
|
||||
(app['id'], thisbuild['version']), p.stdout, p.stderr)
|
||||
|
||||
# Also clean jni
|
||||
print "Cleaning jni dirs..."
|
||||
for baddir in [
|
||||
'libs/armeabi-v7a', 'libs/armeabi',
|
||||
'libs/mips', 'libs/x86', 'obj']:
|
||||
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)
|
||||
|
@ -943,10 +943,7 @@ def prepare_source(vcs, app, build, build_dir, srclib_dir, extlib_dir, onserver=
|
||||
for d in update_dirs:
|
||||
# Remove gen and bin dirs in libraries
|
||||
# rid of them...
|
||||
for baddir in [
|
||||
'gen', 'bin', 'obj', # ant
|
||||
'libs/armeabi-v7a', 'libs/armeabi', # jni
|
||||
'libs/mips', 'libs/x86']:
|
||||
for baddir in ['gen', 'bin', 'obj']
|
||||
badpath = os.path.join(root_dir, d, baddir)
|
||||
if os.path.exists(badpath):
|
||||
print "Removing '%s'" % badpath
|
||||
|
Loading…
Reference in New Issue
Block a user