@@ -461,6 +461,7 @@ def make_package(args):
461
461
"service_names" : service_names ,
462
462
"android_api" : android_api ,
463
463
"debug" : "debug" in args .build_mode ,
464
+ "native_services" : args .native_services
464
465
}
465
466
if get_bootstrap_name () == "sdl2" :
466
467
render_args ["url_scheme" ] = url_scheme
@@ -611,14 +612,17 @@ def parse_args_and_make_package(args=None):
611
612
help = 'Used shared libraries included using <uses-library> tag in AndroidManifest.xml' )
612
613
ap .add_argument ('--asset' , dest = 'assets' ,
613
614
action = "append" , default = [],
614
- metavar = "/path/to/source:dest" ,
615
+ metavar = "/path/to/asset/ source:dest" ,
615
616
help = 'Put this in the assets folder at assets/dest' )
616
617
ap .add_argument ('--icon' , dest = 'icon' ,
617
618
help = ('A png file to use as the icon for '
618
619
'the application.' ))
619
620
ap .add_argument ('--service' , dest = 'services' , action = 'append' , default = [],
620
621
help = 'Declare a new service entrypoint: '
621
622
'NAME:PATH_TO_PY[:foreground]' )
623
+ ap .add_argument ('--native-service' , dest = 'native_services' , action = 'append' , default = [],
624
+ help = 'Declare a new native service: '
625
+ 'package.name.service' )
622
626
if get_bootstrap_name () != "service_only" :
623
627
ap .add_argument ('--presplash' , dest = 'presplash' ,
624
628
help = ('A jpeg file to use as a screen while the '
0 commit comments