Also remove 'obj' when removing jni dirs

This commit is contained in:
Daniel Martí 2013-10-31 17:21:49 +01:00
parent 41c643d301
commit 387701dcda

View file

@ -381,7 +381,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, srclib_dir, extlib_d
print "Cleaning jni dirs..." print "Cleaning jni dirs..."
for baddir in [ for baddir in [
'libs/armeabi-v7a', 'libs/armeabi', 'libs/armeabi-v7a', 'libs/armeabi',
'libs/mips', 'libs/x86']: 'libs/mips', 'libs/x86', 'obj']:
badpath = os.path.join(build_dir, baddir) badpath = os.path.join(build_dir, baddir)
if os.path.exists(badpath): if os.path.exists(badpath):
print "Removing '%s'" % badpath print "Removing '%s'" % badpath