[roll] Roll fuchsia [rbe] Suppress writing stub on matching output

This accounts for interactions between the rewrapper features
--download_outputs=false and --preserve_unchanged_output_mtime.

When a download is skipped, it could be attributed to either
of these features, but download stub creation should depend
on which case it is.

If an output already exists and is valid (its digest matches
that reported by the corresponding output_file in the action_log),
we want to leave it as-is, without overwriting it with a download stub.
If the existing output is a download stub, we update it only if the
blob_digest changes.

This lets us continue to have the benefit of leaving timestamps
untouched where it is correct to do so (for ninja restat).

Original-Bug: 123178
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/864305
Original-Revision: 39db2edcdd531c890f4eefbe3e4838204178573c
GitOrigin-RevId: 3cdf55de187b62aabeb5961ba3f12a740f0d705c
Change-Id: Ie2397ba6db581fff2097944d039d90c05a824b78
1 file changed
tree: 597a0016fc5b54d2ca71d6a3ac998bddabd6ef5b
  1. git-hooks/
  2. infra/
  3. third_party/
  4. cts
  5. firmware
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
  14. toolchain
README.md

Integration

This repository contains Fuchsia's Global Integration manifest files.

Making changes

All changes should be made to the internal version of this repository. Our infrastructure automatically updates this version when the internal one changes.

Currently all changes must be made by a Google employee. Non-Google employees wishing to make a change can ask for assistance via the IRC channel #fuchsia on Freenode.

Obtaining the source

First install Jiri.

Next run:

$ jiri init
$ jiri import minimal https://fuchsia.googlesource.com/integration
$ jiri update

Third party

Third party projects should have their own subdirectory in ./third_party.