File tree 2 files changed +4
-0
lines changed
pythonforandroid/bootstraps/common/build 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):
761
761
ap .add_argument ('--extra-manifest-xml' , default = '' ,
762
762
help = ('Extra xml to write directly inside the <manifest> element of'
763
763
'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' ))
764
767
765
768
# Put together arguments, and add those from .p4a config file:
766
769
if args is None :
Original file line number Diff line number Diff line change @@ -36,6 +36,7 @@ android {
36
36
targetSdkVersion {{ android_api }}
37
37
versionCode {{ args. numeric_version }}
38
38
versionName ' {{ args.version }}'
39
+ manifestPlaceholders = {{ args. manifest_placeholders}}
39
40
}
40
41
41
42
{% if debug_build -% }
You can’t perform that action at this time.
0 commit comments