Don't rely on undocumented global

This commit is contained in:
Ciaran Gultnieks 2013-04-15 15:07:23 +01:00
parent dae3c9af9d
commit 2bb6d51dd3
3 changed files with 7 additions and 4 deletions

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)
# Make sure it's not debuggable...
if not install and common.isApkDebuggable(src):
if not install and common.isApkDebuggable(src, sdk_path):
raise BuildException("APK is debuggable")
# By way of a sanity check, make sure the version and version