commit | b918b838d2dc497a207d289cca357dc487f423a7 | [log] [tgz] |
---|---|---|
author | David 'Digit' Turner <digit@fuchsia.infra.roller.google.com> | Tue Oct 22 18:06:47 2024 +0000 |
committer | Copybara-Service <copybara-worker@google.com> | Tue Oct 22 11:08:11 2024 -0700 |
tree | cbe5a110e32d74d96e8b90e0953c4416262c3620 | |
parent | cb8e02950da4094dd8727cb7502319748d8a60b1 [diff] |
[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
This repository contains Fuchsia's Global Integration manifest files.
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.
First install Jiri.
Next run:
$ jiri init $ jiri import minimal https://fuchsia.googlesource.com/integration $ jiri update
Third party projects should have their own subdirectory in ./third_party
.