[roll] Roll fuchsia [bazel_sdk] Introduce @fuchsia_sdk//fuchsia:private_defs.bzl

Use a new file to export private details of @rules_fuchsia to the
Bazel SDK test suite. This is a first step necessary to fix the
associated bug.

Note that overriding @rules_fuchsia to point to the self-contained
SDK directory, but this fails because provider values have built-in
records of the path of the .bzl file that defined them.

This implies that `load("@first//:providers.bzl", "FooInfo")` and
`load("@second//:providers.bzl", "FooInfo")` do not return the
same value even if `@second` and `@first` point to the same content.
This results later in error at analysis time.

Without this, it would have been trivial to use
`--override_repository=@rules_fuchsia=/path/to/self_contained/fuchsia_sdk`
instead and change all load() statements in the test suite to use
`load("@rules_fuchsia//fuchsia/private:...")`.

+ Re-run all instructions in //build/bazel_sdk/tests/README.md to
  verify if they still work correctly. Add TODO links for things
  that are still broken + fix a few typos and missing arguments.

Original-Bug: 383536158
Original-Reviewed-on: https://fuchsia-review.googlesource.com/c/fuchsia/+/1171835
Original-Revision: a874a24125f5ba823fec709475326a00ba122644
GitOrigin-RevId: 0f5cb04d99569c62d97842667f79b41588ee5dc6
Change-Id: Ib9ab1df78888ad92ac34514974fc1e8ae1f258d9
1 file changed
tree: 383cea9b4d610120aea6941ca48eb2765e59b4df
  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.