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

Method check_recipe_choices

pythonforandroid/bootstrap.py:112–124  ·  view source on GitHub ↗

Checks what recipes are being built to see which of the alternative and optional dependencies are being used, and returns a list of these.

(self)

Source from the content-addressed store, hash-verified

110 return self.name + self.jni_subdir
111
112 def check_recipe_choices(self):
113 '''Checks what recipes are being built to see which of the alternative
114 and optional dependencies are being used,
115 and returns a list of these.'''
116 recipes = []
117 built_recipes = self.ctx.recipe_build_order or []
118 for recipe in self.recipe_depends:
119 if isinstance(recipe, (tuple, list)):
120 for alternative in recipe:
121 if alternative in built_recipes:
122 recipes.append(alternative)
123 break
124 return sorted(recipes)
125
126 def get_build_dir_name(self):
127 choices = self.check_recipe_choices()

Callers 1

get_build_dir_nameMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected