[roll] Roll fuchsia [bazel_action] Fix missing ninja input error messaage

Only check `dest_dir` when it's set for a bazel_input entry, i.e. when
this bazel_input entry is a directory.

Before this change, non-directory entries would set `dst_dir` to an
empty string, causing `src.startswith(dst_dir)` to always be true. This
doesn't affect the correctness of the check which is done later based
on path existence. However, this makes the error message incorrect, and
confusing. Basically any missing bazel_inputs entry would be attributed
to `legacy_ninja_build_outputs_licenses_spdx`, which is the first
non-directory bazel_input defined in legacy_ninja_build_outputs.gni.

Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/890972
Original-Revision: 990b19d11fbb6958323ba6fa5f9f11206d8804ea
GitOrigin-RevId: 3811ce0435e3da900e903ae66e0bed85c9c3d00b
Change-Id: I70e4b4a127a29b88ddb372d417f2784c1087078b
1 file changed
tree: 79050be8cbed4c93b3fab962332645b7e60db4e6
  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.