mirror of
https://gitlab.com/fdroid/fdroidserver.git
synced 2024-10-06 11:00:13 +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:
parent
fe81b5697e
commit
cd7f12e44e
@ -2034,9 +2034,9 @@ def prepare_source(vcs, app, build, build_dir, extlib_dir, sdk_path, ndk_path, j
|
|||||||
if basesrclib:
|
if basesrclib:
|
||||||
srclibpaths.append(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...
|
# 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)
|
badpath = os.path.join(root_dir, baddir)
|
||||||
if os.path.exists(badpath):
|
if os.path.exists(badpath):
|
||||||
shutil.rmtree(badpath)
|
shutil.rmtree(badpath)
|
||||||
|
Loading…
Reference in New Issue
Block a user