(self, args, **kw)
| 89 | |
| 90 | @wraps(func) |
| 91 | def wrapper_func(self, args, **kw): |
| 92 | ctx = self.ctx |
| 93 | ctx.set_archs(self._archs) |
| 94 | ctx.prepare_build_environment(user_sdk_dir=self.sdk_dir, |
| 95 | user_ndk_dir=self.ndk_dir, |
| 96 | user_android_api=self.android_api, |
| 97 | user_ndk_api=self.ndk_api) |
| 98 | dist = self._dist |
| 99 | if dist.needs_build: |
| 100 | if dist.folder_exists(): # possible if the dist is being replaced |
| 101 | dist.delete() |
| 102 | info_notify('No dist exists that meets your requirements, ' |
| 103 | 'so one will be built.') |
| 104 | build_dist_from_args(ctx, dist, args) |
| 105 | func(self, args, **kw) |
| 106 | return wrapper_func |
| 107 | |
| 108 |
nothing calls this directly
no test coverage detected