[roll] Roll fuchsia [bazel_sdk] Support IDK repository as fuchsia_sdk_repository() input.

Change the `generate_sdk_build_rules.bzl` to support IDK metadata
files that contain Bazel target labels, instead of file paths. E.g.
`@fuchsia_in_tree_idk//tools/x64:cmc` instead of `tools/x64/cmc`.

Modify fuchsia_sdk_repository() to support a `local_paths`
value that is an external repository label (e.g. `@fuchsia_in_tree_idk`)
instead of a file path.

Modify the fuchsia_sdk_repository() invocation for
@fuchsia_sdk to actually use the @fuchsia_in_tree_idk repository that was
introduced in previous CLs.

Finally, add a new fuchsia_idk_repository() named @fuchsia_internal_only_idk
and use it to populate @internal_sdk.

Note that:

- The content of @fuchsia_sdk is no longer directly usable in external
  Bazel workspaces, since it contains Bazel labels pointing to
  @fuchsia_in_tree_idk now. However, using the symlink generated
  by `fx build generate_fuchsia_sdk_repository` still works,
  since it now points to the final in-tree SDK.

- Calling `fx build bazel_sdk_tests` still validates the content of @fuchsia_sdk
  with the Bazel SDK test suite (as it passes a repository override to point
  to the content of @fuchsia_in_tree_idk as well).

+ Update build/bazel/bazel_sdk/README.md accordingly to reflect the
  new state of things.

Original-Bug: 367274537
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1110275
Original-Revision: 6274d5c73b01b112f0602a50da4bd7f4cfec93a0
GitOrigin-RevId: 923f0991cc37596dc792529d90b2b5c49ec033b7
Change-Id: I26728f4e778e2b9e23e3a521b175bfea55c689b4
1 file changed
tree: f409cc076fd46187a8a01c5097f8695c839f6665
  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.