I'm working on a build rule wrapping a compiler I have very little control over. Unfortunately the compiler expects absolute paths for the files that come in as arguments. Is it possible to get the absolute path of a file or output in a skylark build rule?
I made efforts with combinations of basename, dirname, path, root, short_path but thus far no luck. It looks like the root object has the information I want but only in the
relative path form. I also looked into the
ctx object that get's passed into the impl but there doesn't seem to be anything in there either.
Is this something that I can get from skylark land via another avenue?