skia2/tools/sk_app/unix
Kevin Lubick 956704b387 [bazel] Get GPU examples working
This adds targets which test our Dawn, GL, and Vulkan backends.

It follows the hierarchical filegroup pattern, as
outlined in https://skia-review.googlesource.com/c/skia/+/543977

Suggested Review order:
 - tools/sk_app/BUILD.bazel. For many things in tools, I anticipate
   they will depend on //:skia_core and other //tools targets.
   sk_app shows this off, as well how to make the target
   specific to a given platform and pull in the proper native code.
   I'm trying out setting test_only = True, to see if we can
   partition Skia's tests and helpers from the actual Skia library.
 - other changes to //tools/, especially looking at sk_app's
   dependencies.
 - //example/BUILD.bazel. This uses the cc_binary_with_flags which
   existed previously [1] to make it so people don't have to
   specify all the flags for a given binary and can build it as is.
   These targets nows how up in //bazel/Makefile
 - //include/... and //src/..., where some typos from previous
   CLs were fixed and rules expanded.
 - Misc changes to .cpp files to remove unnecessary includes
   that were assuming the GL backend was being compiled in.
 - All other changes

[1] 162dfca340/bazel/cc_binary_with_flags.bzl
Change-Id: Ieacec464d44368cad0da0890c7dc85a6c0b900c9
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/544317
Reviewed-by: Ben Wagner <bungeman@google.com>
Reviewed-by: Leandro Lovisolo <lovisolo@google.com>
2022-05-31 14:14:54 +00:00
..
BUILD.bazel [bazel] Get GPU examples working 2022-05-31 14:14:54 +00:00
DawnVulkanWindowContext_unix.cpp [dawn] Clean up include paths and dawn_native namespace 2022-03-07 14:38:55 +00:00
GLWindowContext_unix.cpp Clean up remaining NVPR bits & bobs 2021-03-23 19:12:12 +00:00
keysym2ucs.c rewrite includes to not need so much -Ifoo 2019-04-24 16:27:11 +00:00
keysym2ucs.h Move some bits from views to sk_app 2017-12-01 14:47:10 +00:00
main_unix.cpp sk_app, editor: cursor blink 2019-08-02 15:36:40 +00:00
RasterWindowContext_unix.cpp Replace 'typedef xxxxx INHERITED' with 'using INHERITED = xxxx;'. 2020-09-03 03:41:26 +00:00
VulkanWindowContext_unix.cpp Move all Ganesh source files into ganesh subdirectory. 2022-04-07 21:06:50 +00:00
Window_unix.cpp [bazel] Get GPU examples working 2022-05-31 14:14:54 +00:00
Window_unix.h Initialize fBackend in Window_unix 2021-06-29 14:33:26 +00:00
WindowContextFactory_unix.h [dawn] Clean up include paths and dawn_native namespace 2022-03-07 14:38:55 +00:00