skia2/tools/skpbench/BUILD.bazel
Kevin Lubick 46eaab3959 [bazel] Add shims to help translation into G3
Ran the following commands:
find -name "BUILD.bazel" -exec sed -i -e '1iload("//bazel:macros.bzl", "cc_library", "exports_files_legacy")\nexports_files_legacy()' {} +
buildifier --lint=fix --mode=fix -r .

This had the effect of making sure we can export all of our
files in G3 (until we no longer have legacy targets) and
making all of our cc_libraries shim-able.

bazel/macros.bzl has the human-contributed changes, the rest
were mechanical.

Change-Id: I8e24e30e74b038cfd072cdbe4078bfd1d213dd46
Bug: skia:13211
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/535359
Reviewed-by: Ben Wagner <bungeman@google.com>
2022-04-29 19:27:54 +00:00

44 lines
1.5 KiB
Python

load("//bazel:macros.bzl", "exports_files_legacy", "generated_cc_atom")
exports_files_legacy()
licenses(["notice"])
generated_cc_atom(
name = "skpbench_src",
srcs = ["skpbench.cpp"],
visibility = ["//:__subpackages__"],
deps = [
"//bench:BigPath_hdr",
"//include/core:SkCanvas_hdr",
"//include/core:SkDeferredDisplayList_hdr",
"//include/core:SkGraphics_hdr",
"//include/core:SkPictureRecorder_hdr",
"//include/core:SkPicture_hdr",
"//include/core:SkStream_hdr",
"//include/core:SkSurfaceProps_hdr",
"//include/core:SkSurface_hdr",
"//include/effects:SkPerlinNoiseShader_hdr",
"//include/gpu:GrDirectContext_hdr",
"//modules/svg/include:SkSVGDOM_hdr",
"//src/core:SkOSFile_hdr",
"//src/core:SkTaskGroup_hdr",
"//src/gpu/ganesh:GrCaps_hdr",
"//src/gpu/ganesh:GrDirectContextPriv_hdr",
"//src/gpu/ganesh:SkGr_hdr",
"//src/utils:SkMultiPictureDocument_hdr",
"//src/utils:SkOSPath_hdr",
"//src/xml:SkDOM_hdr",
"//tools:DDLPromiseImageHelper_hdr",
"//tools:DDLTileHelper_hdr",
"//tools:SkSharingProc_hdr",
"//tools:ToolUtils_hdr",
"//tools/flags:CommandLineFlags_hdr",
"//tools/flags:CommonFlagsConfig_hdr",
"//tools/flags:CommonFlags_hdr",
"//tools/gpu:FlushFinishTracker_hdr",
"//tools/gpu:GpuTimer_hdr",
"//tools/gpu:GrContextFactory_hdr",
],
)