Reference written files relatively when possible.

The intermediately generated files are children of the output build
directory and shouldn't need long absolute path references that
change more often than necessary.

BUG=49621
TEST=Equivalence of build files, see https://code.google.com/p/chromium/issues/detail?id=469621#c3

Review URL: https://codereview.chromium.org/1256043006

Cr-Commit-Position: refs/heads/master@{#341768}
1 file changed