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>
1 file changed
tree: 15757bb5a0d7f3709eae7027846e046de0a6bec5
  1. common/
  2. drivers/
  3. fidl/
  4. manifests/
  5. scripts/
  6. src/
  7. third_party/
  8. tools/
  9. .bazelrc
  10. .clang-format
  11. .gitignore
  12. .gitmodules
  13. AUTHORS
  14. BUILD.bazel
  15. CONTRIBUTING.md
  16. fuchsia_env.toml
  17. LICENSE
  18. MODULE.bazel
  19. OWNERS
  20. PATENTS
  21. README.md
  22. shac.star
  23. shac.textproto
  24. WORKSPACE.bazel
  25. workspace.bzl
README.md

Fuchsia GPU Driver Repository

Getting Started

To perform an initial bootstrap, execute the following:

  1. In a terminal, clone the repository:

    git clone https://fuchsia.googlesource.com/drivers/graphics/gpu
    
  2. Change to that directory:

    cd gpu
    
  3. Fetch all git submodules:

    git submodule init && git submodule update --recursive
    
  4. Bootstrap the build environment:

    scripts/bootstrap.sh
    
  5. Fetch and build the SDK:

    tools/bazel build @fuchsia_sdk//:fuchsia_toolchain_sdk
    

See the getting started guide for more info.

Building And Testing the ARM Mali GPU driver

See drivers/msd-arm-mali/README.md.