[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
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.