1
0
mirror of https://gitlab.com/fdroid/fdroidserver.git synced 2024-07-08 10:10:10 +02:00

add libs/armeabi-v7a to list of dirs deleted before building...

I had completely forgotten that native libs were being deleted before
building . It is a sensible thing to do but I'm sure others will fall
foul of this one day.
This commit is contained in:
David Black 2013-05-08 14:04:33 +01:00
parent fe81b5697e
commit cd7f12e44e

View File

@ -2034,9 +2034,9 @@ def prepare_source(vcs, app, build, build_dir, extlib_dir, sdk_path, ndk_path, j
if basesrclib:
srclibpaths.append(basesrclib)
# There should never be gen or bin directories in the source, so just get
# There should never be bin, gen or native libs directories in the source, so just get
# rid of them...
for baddir in ['gen', 'bin', 'obj', 'libs/armeabi', 'libs/mips', 'libs/x86']:
for baddir in ['gen', 'bin', 'obj', 'libs/armeabi-v7a', 'libs/armeabi', 'libs/mips', 'libs/x86']:
badpath = os.path.join(root_dir, baddir)
if os.path.exists(badpath):
shutil.rmtree(badpath)