def resolve_deps(self): assert self._run is not None ctx = deps.ResolutionContext(target_dir=self._run.path, opdef=self.opdef, resource_config=self.resource_config) resolved = deps.resolve(self.opdef.dependencies, ctx) self._run.write_attr("deps", _sort_resolved(resolved)) self._maybe_write_label(resolved)
def _resolve_deps(self): assert self._run is not None ctx = deps.ResolutionContext(target_dir=self._run.path, opdef=self.opdef) deps.resolve(self.opdef.dependencies, ctx)