Skip to content

Commit f9e2c88

Browse files
committed
extra flag for service_only
1 parent 27cf0f9 commit f9e2c88

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

pythonforandroid/recipes/android/__init__.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,9 +38,10 @@ def prebuild_arch(self, arch):
3838
bootstrap = bootstrap_name = ctx_bootstrap
3939

4040
is_sdl2 = bootstrap_name in ('sdl2', 'sdl2python3', 'sdl2_gradle')
41-
is_webview = bootstrap_name in ('webview', 'service_only')
41+
is_webview = bootstrap_name == 'webview'
42+
is_service_only = bootstrap_name == 'service_only'
4243

43-
if is_sdl2 or is_webview:
44+
if is_sdl2 or is_webview or is_service_only:
4445
if is_sdl2:
4546
bootstrap = 'sdl2'
4647
java_ns = u'org.kivy.android'

0 commit comments

Comments
 (0)