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

Method prebuild_arch

pythonforandroid/recipe.py:547–555  ·  view source on GitHub ↗

Run any pre-build tasks for the Recipe. By default, this checks if any prebuild_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

545 return env
546
547 def prebuild_arch(self, arch):
548 '''Run any pre-build tasks for the Recipe. By default, this checks if
549 any prebuild_archname methods exist for the archname of the current
550 architecture, and runs them if so.'''
551 prebuild = "prebuild_{}".format(arch.arch.replace('-', '_'))
552 if hasattr(self, prebuild):
553 getattr(self, prebuild)()
554 else:
555 info('{} has no {}, skipping'.format(self.name, prebuild))
556
557 def is_patched(self, arch):
558 build_dir = self.get_build_dir(arch.arch)

Callers 4

build_recipesFunction · 0.45
prebuild_archMethod · 0.45
prebuild_archMethod · 0.45
test_prebuild_archMethod · 0.45

Calls 1

formatMethod · 0.80

Tested by 1

test_prebuild_archMethod · 0.36