MCPcopy Index your code
hub / github.com/kivy/python-for-android / postbuild_arch

Method postbuild_arch

pythonforandroid/recipe.py:619–629  ·  view source on GitHub ↗

Run any post-build tasks for the Recipe. By default, this checks if any postbuild_archname methods exist for the archname of the current architecture, and runs them if so.

(self, arch)

Source from the content-addressed store, hash-verified

617 self.install_libs(arch, *shared_libs)
618
619 def postbuild_arch(self, arch):
620 '''Run any post-build tasks for the Recipe. By default, this checks if
621 any postbuild_archname methods exist for the archname of the
622 current architecture, and runs them if so.
623 '''
624 postbuild = "postbuild_{}".format(arch.arch)
625 if hasattr(self, postbuild):
626 getattr(self, postbuild)()
627
628 if self.need_stl_shared:
629 self.install_stl_lib(arch)
630
631 def prepare_build_dir(self, arch):
632 '''Copies the recipe data into a build dir for the given arch. By

Callers 2

build_recipesFunction · 0.45
test_postarch_buildMethod · 0.45

Calls 2

install_stl_libMethod · 0.95
formatMethod · 0.80

Tested by 1

test_postarch_buildMethod · 0.36