From ce68e25c5ee2061a83cc174f20068c5a4683e30c Mon Sep 17 00:00:00 2001 From: zeppi Date: Sun, 11 Dec 2022 16:09:00 -0500 Subject: [PATCH] add --release to lbry bulid --- p4a/pythonforandroid/bootstraps/lbry/build/build.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/p4a/pythonforandroid/bootstraps/lbry/build/build.py b/p4a/pythonforandroid/bootstraps/lbry/build/build.py index b6b5631..49cc5f5 100755 --- a/p4a/pythonforandroid/bootstraps/lbry/build/build.py +++ b/p4a/pythonforandroid/bootstraps/lbry/build/build.py @@ -505,6 +505,10 @@ tools directory of the Android SDK. default=join(curdir, 'whitelist.txt'), help=('Use a whitelist file to prevent blacklisting of ' 'file in the final APK')) + ap.add_argument('--release', dest='build_mode', action='store_const', + const='release', default='debug', + help='Build your app as a non-debug release build. ' + '(Disables gdb debugging among other things)') ap.add_argument('--add-jar', dest='add_jar', action='append', help=('Add a Java .jar to the libs, so you can access its ' 'classes with pyjnius. You can specify this '