Debian Codegraph @

tools/gpu/BUILD.bazel

raw
1 load("//bazel:skia_rules.bzl", "skia_cc_library")
2
3 package(
4 default_applicable_licenses = ["//:license"],
5 )
6
7 licenses(["notice"])
8
9 # GPU utilities shared by Graphite and Ganesh testing
10 skia_cc_library(
11 name = "shared_utils",
12 testonly = True,
13 srcs = [
14 "BackendSurfaceFactory.cpp",
15 "BackendSurfaceFactory.h",
16 "BackendTextureImageFactory.cpp",
17 "BackendTextureImageFactory.h",
18 "CompressedTexture.cpp",
19 "ContextType.cpp",
20 "FlushFinishTracker.cpp",
21 "FlushFinishTracker.h",
22 "ManagedBackendTexture.cpp",
23 "ManagedBackendTexture.h",
24 ],
25 hdrs = [
26 "CompressedTexture.h",
27 "ContextType.h",
28 "ProtectedUtils.h",
29 ],
30 visibility = [
31 "//bench:__subpackages__",
32 "//modules/skottie:__pkg__",
33 "//tools:__subpackages__",
34 "//tools/ganesh:__subpackages__",
35 ],
36 deps = [
37 "//:core",
38 "//src/base",
39 "//src/core:core_priv",
40 # Currently the cpp/h files in this target are not cleanly separated into pure shared,
41 # ganesh, and graphite pieces. So we still rely on Ganesh macros and includes.
42 "//src/gpu/ganesh:ganesh_TEST_UTIL",
43 ],
44 )