| 1 |
load("//bazel:skia_rules.bzl", "skia_cc_library") |
| 2 |
|
| 3 |
package( |
| 4 |
default_applicable_licenses = ["//:license"], |
| 5 |
) |
| 6 |
|
| 7 |
licenses(["notice"]) |
| 8 |
|
| 9 |
skia_cc_library( |
| 10 |
name = "graphite_utils", |
| 11 |
testonly = True, |
| 12 |
srcs = [ |
| 13 |
"ContextFactory.cpp", |
| 14 |
"ContextFactory.h", |
| 15 |
"GraphiteMemoryPipelineStorage.cpp", |
| 16 |
"GraphiteMemoryPipelineStorage.h", |
| 17 |
"GraphiteTestContext.cpp", |
| 18 |
"GraphiteTestContext.h", |
| 19 |
"GraphiteToolUtils.cpp", |
| 20 |
"PipelineCallbackHandler.cpp", |
| 21 |
"ProtectedUtils_Graphite.cpp", |
| 22 |
"TestOptions.h", |
| 23 |
"UniqueKeyUtils.cpp", |
| 24 |
"UniqueKeyUtils.h", |
| 25 |
], |
| 26 |
hdrs = [ |
| 27 |
"ContextFactory.h", |
| 28 |
"GraphiteToolUtils.h", |
| 29 |
"PipelineCallbackHandler.h", |
| 30 |
"TestOptions.h", |
| 31 |
], |
| 32 |
visibility = [ |
| 33 |
"//bench:__subpackages__", |
| 34 |
"//dm:__pkg__", |
| 35 |
"//modules/skottie:__pkg__", |
| 36 |
"//tools:__subpackages__", |
| 37 |
], |
| 38 |
deps = [ |
| 39 |
"//:core", |
| 40 |
"//src/base", |
| 41 |
"//src/core:core_priv", |
| 42 |
"//src/gpu/graphite:graphite_TEST_UTIL", |
| 43 |
"//tools/gpu:shared_utils", |
| 44 |
], |
| 45 |
) |