Skip to content

Commit

Permalink
extra flag for service_only
Browse files Browse the repository at this point in the history
  • Loading branch information
zworkb committed May 30, 2019
1 parent 27cf0f9 commit f9e2c88
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions pythonforandroid/recipes/android/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,10 @@ def prebuild_arch(self, arch):
bootstrap = bootstrap_name = ctx_bootstrap

is_sdl2 = bootstrap_name in ('sdl2', 'sdl2python3', 'sdl2_gradle')
is_webview = bootstrap_name in ('webview', 'service_only')
is_webview = bootstrap_name == 'webview'
is_service_only = bootstrap_name == 'service_only'

if is_sdl2 or is_webview:
if is_sdl2 or is_webview or is_service_only:
if is_sdl2:
bootstrap = 'sdl2'
java_ns = u'org.kivy.android'
Expand Down

0 comments on commit f9e2c88

Please sign in to comment.