chiark
/
gitweb
/
~ianmdlvl
/
fdroidserver.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
94a33f0
)
Debuggable apk = build failure
author
Ciaran Gultnieks
<ciaran@ciarang.com>
Mon, 15 Apr 2013 12:04:28 +0000
(13:04 +0100)
committer
Ciaran Gultnieks
<ciaran@ciarang.com>
Mon, 15 Apr 2013 12:04:28 +0000
(13:04 +0100)
fdroidserver/build.py
patch
|
blob
|
history
diff --git
a/fdroidserver/build.py
b/fdroidserver/build.py
index 0a4c3e6a408640f95da5abff8f731adf65a6f9aa..54b0b287198712652455f592fced2966abbaccdc 100644
(file)
--- a/
fdroidserver/build.py
+++ b/
fdroidserver/build.py
@@
-390,6
+390,10
@@
def build_local(app, thisbuild, vcs, build_dir, output_dir, extlib_dir, tmp_dir,
re.S|re.M).group(1)
src = os.path.join(bindir, src)
+ # Make sure it's not debuggable...
+ if common.isApkDebuggable(src):
+ raise BuildException("APK is debuggable")
+
# By way of a sanity check, make sure the version and version
# code in our new apk match what we expect...
print "Checking " + src