(self)
| 395 | # outdir |
| 396 | # outdir on bots |
| 397 | def _possible_outdirs(self): |
| 398 | def outdirs(): |
| 399 | if self.options.gn: |
| 400 | yield self._get_gn_outdir() |
| 401 | return |
| 402 | |
| 403 | yield self.options.outdir |
| 404 | |
| 405 | if self.options.outdir.name != 'build': |
| 406 | yield self.options.outdir / 'build' |
| 407 | |
| 408 | for outdir in outdirs(): |
| 409 | yield self.basedir / outdir |
| 410 | |
| 411 | def _get_gn_outdir(self): |
| 412 | gn_out_dir = self.basedir / DEFAULT_OUT_GN |