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

Method get_recipe_env

pythonforandroid/recipe.py:801–810  ·  view source on GitHub ↗
(self, arch=None, with_flags_in_cc=True, with_python=False)

Source from the content-addressed store, hash-verified

799 return join(self.ctx.bootstrap.build_dir, 'jni')
800
801 def get_recipe_env(self, arch=None, with_flags_in_cc=True, with_python=False):
802 env = super().get_recipe_env(arch, with_flags_in_cc)
803 if not with_python:
804 return env
805
806 env['PYTHON_INCLUDE_ROOT'] = self.ctx.python_recipe.include_root(arch.arch)
807 env['PYTHON_LINK_ROOT'] = self.ctx.python_recipe.link_root(arch.arch)
808 env['EXTRA_LDLIBS'] = ' -lpython{}'.format(
809 self.ctx.python_recipe.link_version)
810 return env
811
812
813class NDKRecipe(Recipe):

Callers

nothing calls this directly

Calls 4

formatMethod · 0.80
get_recipe_envMethod · 0.45
include_rootMethod · 0.45
link_rootMethod · 0.45

Tested by

no test coverage detected