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

Method build_arch

pythonforandroid/recipe.py:833–847  ·  view source on GitHub ↗
(self, arch, *extra_args)

Source from the content-addressed store, hash-verified

831 return join(self.get_build_dir(arch.arch), 'jni')
832
833 def build_arch(self, arch, *extra_args):
834 super().build_arch(arch)
835
836 env = self.get_recipe_env(arch)
837 with current_directory(self.get_build_dir(arch.arch)):
838 shprint(
839 sh.Command(join(self.ctx.ndk_dir, "ndk-build")),
840 'V=1',
841 "-j",
842 str(cpu_count()),
843 'NDK_DEBUG=' + ("1" if self.ctx.build_as_debuggable else "0"),
844 'APP_PLATFORM=android-' + str(self.ctx.ndk_api),
845 'APP_ABI=' + arch.arch,
846 *extra_args, _env=env
847 )
848
849
850class PythonRecipe(Recipe):

Callers

nothing calls this directly

Calls 5

current_directoryFunction · 0.90
shprintFunction · 0.90
build_archMethod · 0.45
get_recipe_envMethod · 0.45
get_build_dirMethod · 0.45

Tested by

no test coverage detected