[roll] Roll fuchsia [fint] Fix bug in affected BUILD.gn file analysis

When checking whether a test was affected based on whether its BUILD.gn
file was changed, we were previously comparing the _absolute_ path of
the BUILD.gn file ith the _relative_ path of the test's GN label, so we
were never considering any tests to be affected by their GN file
changes.

Now we always use relative paths to compare test labels to changed
files.

Also simplify the `removeDuplicates()` logic as long as I'm here. It was
optimized to avoid unnecessary allocations, but that made it
significantly harder to read and made me suspect that it was concealing
the bug that was causing this issue. It will never be used to sort more
than a few thousand elements at a time, so the optimization was not
worth the loss of readability.

Original-Bug: 101789
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/690149
Original-Revision: 5dd3360ebc12778402016362bd0b2405c1b586da
GitOrigin-RevId: 6889d554ddb5720ab4eafcbe6dc0e9ba907854c6
Change-Id: Ia866cf33a28c75d53dc1c9bd19b82ed9798c58e6
1 file changed
tree: fc36fd5c09edaf684c50f8a864257cd7916ba573
  1. infra/
  2. third_party/
  3. cts
  4. firmware
  5. flower
  6. jiri.lock
  7. minimal
  8. prebuilts
  9. README.md
  10. stem
  11. test_durations
  12. 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.