[roll] Roll fuchsia [scripts] Skip directories with .fidl extension in generate-fidl-project.py

Gracefully handle cases where a directory might have a '.fidl'
extension. This prevents IsADirectoryError when the script
attempts to open these paths as files.

Fixes the crash (see bug) when one has in `args.gn`:

```
build_only_labels += [
  "//build/fidl:validate_fidl_project.json"
]
```

This commit was created by an automated coding assistant, with human
supervision.

Prompt:
try to build the project, then fix `generate-fidl-project.py` such that if it encounters a IsADirectoryError when trying to open a file, just skip that file instead of crashing

Test: fx build (which triggers the script)
Original-Bug: 501093285
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1570098
Original-Revision: 9803e6d3824f9957e4ae18787d7e090ed40c9bf4
GitOrigin-RevId: edc9f2f6509fbf13ae11e356d0ca50db051259fd
Change-Id: I618f12e446596cbe96c52f96c88ac6636637175a
1 file changed
tree: 8352bda70cc762a01576b8f8f87a8e234ce617f8
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cobalt
  6. flower
  7. jiri.lock
  8. MILESTONE
  9. minimal
  10. prebuilts
  11. README.md
  12. stem
  13. test_durations
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 in one of the communication channels documented at get involved.

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.