Use fuchsia_package_resource_collection instead of fuchsia_package_resource_group If this repo isn't the root repo, then the path calculation makes a path like "data/../gpu/common/examples/vkproto/common/shaders/frag.spv" instead of the correct "data/shaders/frag.spv". Use fuchsia_package_resource and fuchsia_package_resource_collection to explicitly specify the destination path and fix this problem. Change-Id: Ib0ff6a0c8cf090687a7a8d0d7fe7629f52171d91 Reviewed-on: https://fuchsia-review.googlesource.com/c/drivers/graphics/gpu/+/1049853 Reviewed-by: Darren Chan <chandarren@google.com> Fuchsia-Auto-Submit: John Bauman <jbauman@google.com> Commit-Queue: Auto-Submit <auto-submit@fuchsia-infra.iam.gserviceaccount.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.