Debuggable allowed when using --install

This commit is contained in:
Ciaran Gultnieks 2013-04-15 14:00:27 +01:00
parent cf5e8d66d2
commit dae3c9af9d

View file

@ -391,7 +391,7 @@ def build_local(app, thisbuild, vcs, build_dir, output_dir, extlib_dir, tmp_dir,
src = os.path.join(bindir, src) src = os.path.join(bindir, src)
# Make sure it's not debuggable... # Make sure it's not debuggable...
if common.isApkDebuggable(src): if not install and common.isApkDebuggable(src):
raise BuildException("APK is debuggable") raise BuildException("APK is debuggable")
# By way of a sanity check, make sure the version and version # By way of a sanity check, make sure the version and version