docs: def _expand_paths(self, paths):
          """Expand $vars in an array of paths, e.g. from a 'build' block."""
          paths = ninja_syntax.as_list(paths)
          return ' '.join(map(self._shell_escape, (map(self._expand, paths))))