Add output reference to gen written files.

By adding the outputs written at gn gen time to the build.ninja representation the build tool (ninja) can know how to recreate them if and when necessary.

For example, if one or more of the <blah>.tmp files is removed, even as part of an entire hierarchy/subtree currently the build fails because ninja does not know how to re-make it.

BUG=469621
TEST=Build time only. See
https://code.google.com/p/chromium/issues/detail?id=469621#c3

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

Cr-Original-Commit-Position: refs/heads/master@{#341251}
Cr-Mirrored-From: https://chromium.googlesource.com/chromium/src
Cr-Mirrored-Commit: c497d21798caf871326443ad98bd58f546d7b38e
4 files changed
tree: 9f6555ad7f623458a31e5f17512c4cc4540bf096
  1. tools/