From 1e4796c5b021d6b2822127f13a6db4ee103b38de Mon Sep 17 00:00:00 2001 From: Ulthane Frostborn Date: Sat, 12 Mar 2016 16:01:02 +0100 Subject: [PATCH] Added window option for SDL2 bootstrap. --- pythonforandroid/bootstraps/sdl2/build/build.py | 2 ++ .../bootstraps/sdl2/build/templates/AndroidManifest.tmpl.xml | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/pythonforandroid/bootstraps/sdl2/build/build.py b/pythonforandroid/bootstraps/sdl2/build/build.py index 95a81bea70..581568bd26 100755 --- a/pythonforandroid/bootstraps/sdl2/build/build.py +++ b/pythonforandroid/bootstraps/sdl2/build/build.py @@ -408,6 +408,8 @@ def parse_args(args=None): ap.add_argument('--wakelock', dest='wakelock', action='store_true', help=('Indicate if the application needs the device ' 'to stay on')) + ap.add_argument('--window', dest='window', action='store_true', + help='Indicate if the application will be windowed') ap.add_argument('--blacklist', dest='blacklist', default=join(curdir, 'blacklist.txt'), help=('Use a blacklist file to match unwanted file in ' diff --git a/pythonforandroid/bootstraps/sdl2/build/templates/AndroidManifest.tmpl.xml b/pythonforandroid/bootstraps/sdl2/build/templates/AndroidManifest.tmpl.xml index 55db1baae4..0f65b61ff5 100644 --- a/pythonforandroid/bootstraps/sdl2/build/templates/AndroidManifest.tmpl.xml +++ b/pythonforandroid/bootstraps/sdl2/build/templates/AndroidManifest.tmpl.xml @@ -54,7 +54,7 @@ {% for m in args.meta_data %}