skia2/example/BUILD.bazel
Kevin Lubick 048545d249 Set up basic hello world sk_app
Change-Id: I233e7653eadcce87067def841b2f28c700f96045
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/492096
Reviewed-by: Brian Salomon <bsalomon@google.com>
2022-01-06 20:29:35 +00:00

26 lines
645 B
Python

load("//bazel:macros.bzl", "generated_cc_atom")
generated_cc_atom(
name = "HelloWorld_hdr",
hdrs = ["HelloWorld.h"],
visibility = ["//:__subpackages__"],
deps = [
"//tools/sk_app:Application_hdr",
"//tools/sk_app:Window_hdr",
],
)
generated_cc_atom(
name = "HelloWorld_src",
srcs = ["HelloWorld.cpp"],
visibility = ["//:__subpackages__"],
deps = [
":HelloWorld_hdr",
"//include/core:SkCanvas_hdr",
"//include/core:SkFont_hdr",
"//include/core:SkGraphics_hdr",
"//include/core:SkSurface_hdr",
"//include/effects:SkGradientShader_hdr",
],
)