[roll] Roll fuchsia [bazel] Add build target to generate final platform IDK directory.

Since the content of the @fuchsia_idk repository does not follow
the official IDK layout (its metadata files contain Bazel target
labels instead of relative file paths), its content cannot be used
out-of-tree.

This CL adds a new target named @fuchsia_in_tree_idk//:final_idk
which will generate, at build time, an output directory that mirrors
the content of @fuchsia_in_tree_idk, but still follows the official
IDK layout. This is done by transforming the Bazel target labels
into corresponding relative file paths in the output directory.

This also prepares the upcoming change named
"Generate final version of `@fuchsia_sdk`" in
`//build/bazel/bazel_sdk/README.md`.

The dependencies of the new target ensure that these artifacts are
always properly built if needed. This will become critical when we
switch some atoms of @fuchsia_in_tree_idk to be built directly and
lazily by Bazel, instead of depending on prebuilt Ninja-generated
artifacts.

Nothing actually depends on this new target, since it is not required
by the platform build. However, it is possible to build it manually
with `fx bazel build @fuchsia_in_tree_idk//:final_idk`.

A follow-up CL will add a GN target to build this more easily and
test it against the Fuchsia Bazel SDK test (but has been kept
separated for easy of review).

- Update the validation_data accordingly: This requires exporting
  the meta.json files from @fuchsia_idk, so they can be processed,
  and adds the new target definition to the top-level BUILD.bazel
  file.

Original-Bug: 367274537
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1140255
Original-Revision: 3e09c4ebc62a922c443c86b5938c027846e6fc58
GitOrigin-RevId: dd79c114868fa51e3f0c14f1561bd877784e9ba3
Change-Id: If0a2cba500c74bc106c3daa5cae74dcee7fb6589
1 file changed
tree: cbe5a110e32d74d96e8b90e0953c4416262c3620
  1. ctf/
  2. git-hooks/
  3. infra/
  4. third_party/
  5. cts
  6. firmware
  7. flower
  8. jiri.lock
  9. MILESTONE
  10. minimal
  11. prebuilts
  12. README.md
  13. stem
  14. test_durations
  15. 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 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.