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

Method get_recipe_env

pythonforandroid/recipe.py:534–545  ·  view source on GitHub ↗

Return the env specialized for the recipe

(self, arch=None, with_flags_in_cc=True)

Source from the content-addressed store, hash-verified

532 info('{} is already unpacked, skipping'.format(self.name))
533
534 def get_recipe_env(self, arch=None, with_flags_in_cc=True):
535 """Return the env specialized for the recipe
536 """
537 if arch is None:
538 arch = self.filtered_archs[0]
539 env = arch.get_env(with_flags_in_cc=with_flags_in_cc)
540
541 for proxy_key in ['HTTP_PROXY', 'http_proxy', 'HTTPS_PROXY', 'https_proxy']:
542 if proxy_key in environ:
543 env[proxy_key] = environ[proxy_key]
544
545 return env
546
547 def prebuild_arch(self, arch):
548 '''Run any pre-build tasks for the Recipe. By default, this checks if

Callers 14

get_recipe_envMethod · 0.45
build_archMethod · 0.45
get_recipe_envMethod · 0.45
get_recipe_envMethod · 0.45
get_recipe_envMethod · 0.45
get_recipe_envMethod · 0.45
test_get_recipe_envMethod · 0.45
test_get_recipe_envMethod · 0.45
test_get_recipe_envMethod · 0.45

Calls 1

get_envMethod · 0.80

Tested by 6

test_get_recipe_envMethod · 0.36
test_get_recipe_envMethod · 0.36
test_get_recipe_envMethod · 0.36
test_get_recipe_envMethod · 0.36
test_get_recipe_envMethod · 0.36