(self, arch=None, with_flags_in_cc=True, with_python=False)
| 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 | |
| 813 | class NDKRecipe(Recipe): |
nothing calls this directly
no test coverage detected