[bazel_sdk] Initialize @host_platforms. Add @platforms as a submodule and initialize @host_platforms from it. This is needed for https://fxrev.dev/1118616 to land. Bug: 364326159 Change-Id: I1ef0fc1432a01ef382af22ad059deb464fd7f4e3 Reviewed-on: https://fuchsia-review.googlesource.com/c/drivers/graphics/gpu/+/1120633 Commit-Queue: Darren Chan <chandarren@google.com> Reviewed-by: Jiaming Li <lijiaming@google.com>
To perform an initial bootstrap, execute the following:
In a terminal, clone the repository:
git clone https://fuchsia.googlesource.com/drivers/graphics/gpu
Change to that directory:
cd gpu
Fetch all git submodules:
git submodule init && git submodule update --recursive
Bootstrap the build environment:
scripts/bootstrap.sh
Fetch and build the SDK:
tools/bazel build @fuchsia_sdk//:fuchsia_toolchain_sdk
See the getting started guide for more info.