skia2/include/gpu/dawn/BUILD.bazel
Kevin Lubick 7ac7413f08 [bazel] Support Vulkan
PS1 regenerates BUILD.bazel files

I suggest reviewing the deltas between PS1 and the latest
PS to focus on the interesting bits.

The changes here allow for a Vulkan-only build of HelloWorld
based on sk_app. The toughest change was properly fetching
the VisualID after removing the gl calls that used to
fill that in.

There are a few changes that fix resolution of Dawn
header files, but those won't actually be built until
a follow-on CL.

Change-Id: I54fb58b5dd7ecd4313562aed401759b3eaed53c0
Bug: skia:12541
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/516999
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
2022-03-08 21:21:17 +00:00

12 lines
258 B
Python

load("//bazel:macros.bzl", "generated_cc_atom")
generated_cc_atom(
name = "GrDawnTypes_hdr",
hdrs = ["GrDawnTypes.h"],
visibility = ["//:__subpackages__"],
deps = [
"//include/gpu:GrTypes_hdr",
"//third_party:dawn",
],
)