(self, arch, *extra_args)
| 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 | |
| 850 | class PythonRecipe(Recipe): |
nothing calls this directly
no test coverage detected