Support p4a uses-library argument
This commit is contained in:
parent
71aae60e31
commit
37d6a55f7d
2 changed files with 9 additions and 0 deletions
|
@ -191,6 +191,9 @@ fullscreen = 0
|
||||||
# project.properties automatically.)
|
# project.properties automatically.)
|
||||||
#android.library_references =
|
#android.library_references =
|
||||||
|
|
||||||
|
# (list) Android shared libraries which will be added to AndroidManifest.xml using <uses-library> tag
|
||||||
|
#android.uses_library =
|
||||||
|
|
||||||
# (str) Android logcat filters to use
|
# (str) Android logcat filters to use
|
||||||
#android.logcat_filters = *:S python:D
|
#android.logcat_filters = *:S python:D
|
||||||
|
|
||||||
|
|
|
@ -765,6 +765,12 @@ class TargetAndroid(Target):
|
||||||
cmd.append('--add-aar')
|
cmd.append('--add-aar')
|
||||||
cmd.append(realpath(aar))
|
cmd.append(realpath(aar))
|
||||||
|
|
||||||
|
# support for uses-lib
|
||||||
|
uses_library = self.buildozer.config.getlist(
|
||||||
|
'app', 'android.uses_library', '')
|
||||||
|
for lib in uses_library:
|
||||||
|
cmd.append('--uses-library={}'.format(lib))
|
||||||
|
|
||||||
# support for gradle dependencies
|
# support for gradle dependencies
|
||||||
gradle_dependencies = self.buildozer.config.getlist('app', 'android.gradle_dependencies', [])
|
gradle_dependencies = self.buildozer.config.getlist('app', 'android.gradle_dependencies', [])
|
||||||
for gradle_dependency in gradle_dependencies:
|
for gradle_dependency in gradle_dependencies:
|
||||||
|
|
Loading…
Reference in a new issue