remove extra args

This commit is contained in:
Akinwale Ariwodola 2021-08-21 15:52:33 +01:00
parent 3d8f6879ce
commit 0ad4189798

View file

@ -94,11 +94,11 @@ class TargetAndroid(Target):
if port is not None: if port is not None:
self.extra_p4a_args += ' --port={}'.format(port) self.extra_p4a_args += ' --port={}'.format(port)
setup_py = self.buildozer.config.getdefault('app', 'p4a.setup_py', False) #setup_py = self.buildozer.config.getdefault('app', 'p4a.setup_py', False)
if setup_py: #if setup_py:
self.extra_p4a_args += ' --use-setup-py' # self.extra_p4a_args += ' --use-setup-py'
else: #else:
self.extra_p4a_args += ' --ignore-setup-py' # self.extra_p4a_args += ' --ignore-setup-py'
activity_class_name = self.buildozer.config.getdefault( activity_class_name = self.buildozer.config.getdefault(
@ -1116,12 +1116,12 @@ class TargetAndroid(Target):
build_cmd += [("--feature", feature)] build_cmd += [("--feature", feature)]
# android.entrypoint # android.entrypoint
entrypoint = config.getdefault('app', 'android.entrypoint', 'org.kivy.android.PythonActivity') #entrypoint = config.getdefault('app', 'android.entrypoint', 'org.kivy.android.PythonActivity')
build_cmd += [('--android-entrypoint', entrypoint)] #build_cmd += [('--android-entrypoint', entrypoint)]
# android.apptheme # android.apptheme
apptheme = config.getdefault('app', 'android.apptheme', '@android:style/Theme.NoTitleBar') #apptheme = config.getdefault('app', 'android.apptheme', '@android:style/Theme.NoTitleBar')
build_cmd += [('--android-apptheme', apptheme)] #build_cmd += [('--android-apptheme', apptheme)]
# android.compile_options # android.compile_options
compile_options = config.getlist('app', 'android.add_compile_options', []) compile_options = config.getlist('app', 'android.add_compile_options', [])