File tree Expand file tree Collapse file tree 2 files changed +4
-0
lines changed
pythonforandroid/bootstraps/common/build Expand file tree Collapse file tree 2 files changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -761,6 +761,9 @@ def parse_args_and_make_package(args=None):
761761 ap .add_argument ('--extra-manifest-xml' , default = '' ,
762762 help = ('Extra xml to write directly inside the <manifest> element of'
763763 'AndroidManifest.xml' ))
764+ ap .add_argument ('--manifest-placeholders' , dest = 'manifest_placeholders' ,
765+ default = '[:]' , help = ('Inject build variables into the manifest '
766+ 'via the manifestPlaceholders property' ))
764767
765768 # Put together arguments, and add those from .p4a config file:
766769 if args is None :
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ android {
3636 targetSdkVersion {{ android_api }}
3737 versionCode {{ args. numeric_version }}
3838 versionName ' {{ args.version }}'
39+ manifestPlaceholders = {{ args. manifest_placeholders}}
3940 }
4041
4142 {% if debug_build -% }
You can’t perform that action at this time.
0 commit comments