skia2/tests/graphite/BUILD.bazel
Robert Phillips 0326a9f27a Move skgpu::graphite::Mask to SkEnumBitMask
This will let us use this utility everywhere.

Bug: skia:12701
Change-Id: I9342d0b40a81789ed93e3ec4009e5602033d6691
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/534662
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Robert Phillips <robertphillips@google.com>
2022-04-28 14:04:16 +00:00

161 lines
4.8 KiB
Python

load("//bazel:macros.bzl", "generated_cc_atom")
licenses(["notice"])
generated_cc_atom(
name = "BackendTextureTest_src",
srcs = ["BackendTextureTest.cpp"],
visibility = ["//:__subpackages__"],
deps = [
"//include/core:SkColorSpace_hdr",
"//include/core:SkSurface_hdr",
"//include/gpu/graphite:BackendTexture_hdr",
"//include/gpu/graphite:Context_hdr",
"//include/gpu/graphite:Recorder_hdr",
"//include/gpu/graphite:SkStuff_hdr",
"//src/gpu/graphite:Caps_hdr",
"//src/gpu/graphite:ContextPriv_hdr",
"//src/gpu/graphite:Gpu_hdr",
"//src/gpu/graphite:ResourceTypes_hdr",
"//tests:Test_hdr",
],
)
generated_cc_atom(
name = "CommandBufferTest_src",
srcs = ["CommandBufferTest.cpp"],
visibility = ["//:__subpackages__"],
deps = [
"//include/gpu/graphite:Context_hdr",
"//include/gpu/graphite:Recorder_hdr",
"//include/gpu/graphite/mtl:MtlTypes_hdr",
"//src/core:SkKeyContext_hdr",
"//src/core:SkKeyHelpers_hdr",
"//src/core:SkShaderCodeDictionary_hdr",
"//src/gpu/graphite:Buffer_hdr",
"//src/gpu/graphite:Caps_hdr",
"//src/gpu/graphite:CommandBuffer_hdr",
"//src/gpu/graphite:ContextPriv_hdr",
"//src/gpu/graphite:DrawBufferManager_hdr",
"//src/gpu/graphite:DrawGeometry_hdr",
"//src/gpu/graphite:DrawWriter_hdr",
"//src/gpu/graphite:GlobalCache_hdr",
"//src/gpu/graphite:Gpu_hdr",
"//src/gpu/graphite:GraphicsPipeline_hdr",
"//src/gpu/graphite:RecorderPriv_hdr",
"//src/gpu/graphite:Renderer_hdr",
"//src/gpu/graphite:ResourceProvider_hdr",
"//src/gpu/graphite:Sampler_hdr",
"//src/gpu/graphite:TextureProxy_hdr",
"//src/gpu/graphite:Texture_hdr",
"//src/gpu/graphite:UniformManager_hdr",
"//src/gpu/graphite/geom:Shape_hdr",
"//src/gpu/graphite/geom:Transform_graphite_hdr",
"//tests:Test_hdr",
],
)
generated_cc_atom(
name = "IntersectionTreeTest_src",
srcs = ["IntersectionTreeTest.cpp"],
visibility = ["//:__subpackages__"],
deps = [
"//include/utils:SkRandom_hdr",
"//src/gpu/graphite/geom:IntersectionTree_hdr",
"//tests:Test_hdr",
],
)
generated_cc_atom(
name = "RecorderTest_src",
srcs = ["RecorderTest.cpp"],
visibility = ["//:__subpackages__"],
deps = [
"//include/gpu/graphite:Context_hdr",
"//include/gpu/graphite:Recorder_hdr",
"//src/gpu/graphite:Device_hdr",
"//tests:Test_hdr",
],
)
generated_cc_atom(
name = "RectTest_src",
srcs = ["RectTest.cpp"],
visibility = ["//:__subpackages__"],
deps = [
"//src/gpu/graphite/geom:Rect_hdr",
"//tests:Test_hdr",
],
)
generated_cc_atom(
name = "ShapeTest_src",
srcs = ["ShapeTest.cpp"],
visibility = ["//:__subpackages__"],
deps = [
"//src/gpu/graphite/geom:Shape_hdr",
"//tests:Test_hdr",
],
)
generated_cc_atom(
name = "TransformTest_src",
srcs = ["TransformTest.cpp"],
visibility = ["//:__subpackages__"],
deps = [
"//src/gpu/graphite/geom:Transform_graphite_hdr",
"//tests:Test_hdr",
],
)
generated_cc_atom(
name = "UniformTest_src",
srcs = ["UniformTest.cpp"],
visibility = ["//:__subpackages__"],
deps = [
"//include/core:SkM44_hdr",
"//include/core:SkPaint_hdr",
"//include/effects:SkGradientShader_hdr",
"//include/gpu/graphite:Recorder_hdr",
"//include/private:SkUniquePaintParamsID_hdr",
"//src/core:SkKeyContext_hdr",
"//src/core:SkKeyHelpers_hdr",
"//src/core:SkPipelineData_hdr",
"//src/core:SkShaderCodeDictionary_hdr",
"//src/gpu/graphite:ContextPriv_hdr",
"//src/gpu/graphite:ContextUtils_hdr",
"//src/gpu/graphite:GlobalCache_hdr",
"//src/gpu/graphite:PaintParams_hdr",
"//src/gpu/graphite:RecorderPriv_hdr",
"//src/gpu/graphite:ResourceProvider_hdr",
"//tests:Test_hdr",
],
)
generated_cc_atom(
name = "KeyTest_src",
srcs = ["KeyTest.cpp"],
visibility = ["//:__subpackages__"],
deps = [
"//src/core:SkPaintParamsKey_hdr",
"//src/core:SkShaderCodeDictionary_hdr",
"//src/gpu/graphite:ContextPriv_hdr",
"//tests:Test_hdr",
],
)
generated_cc_atom(
name = "PipelineDataCacheTest_src",
srcs = ["PipelineDataCacheTest.cpp"],
visibility = ["//:__subpackages__"],
deps = [
"//include/gpu/graphite:Context_hdr",
"//include/gpu/graphite:Recorder_hdr",
"//src/core:SkPipelineData_hdr",
"//src/core:SkUniform_hdr",
"//src/gpu/graphite:PipelineDataCache_hdr",
"//src/gpu/graphite:RecorderPriv_hdr",
"//tests:Test_hdr",
],
)