[roll] Roll fuchsia [fidlgen] Remove constraints on layout of .tmpl files

Currently fidlgen.NewGenerator() only accepts an artificially restricted
set of .tmpl files: the provided filesystem must have files present
top-level in the fs.FS's "CWD", and will further accept ones nested
within a single subdirectory; further nested files are ignored. This is
a non-canonical policy, requiring us to explicitly glob for `*.tmpl` and
`*/*.tmpl`. Moreover, depth-two subdirectories of templates can fit into
reasonable layouts and should ideally be accepted.

This change lifts these constraints to accept arbitrary subtrees of
templates. Moreover, it does this with no real extra overhead, since
fs.FS systems of templates are in practice embed.FS ones, which only
include precisely what they were defined to.

Original-Bug: 91102
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/629064
Original-Revision: ce9d4ebd70b0be1244a4d94baff4d847dd7d19b5
GitOrigin-RevId: 155dd7cd777088336c944e67659e2e7df8bc0975
Change-Id: I059761f63d5d633d8d14b64cb854d33961602e06
1 file changed
tree: b9e86dd408ce19cc6f537d1757f782516990f7b2
  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.