83cee23c98
buildifier --lint=fix -r . Change-Id: I6a41858270d20137978f8271c8f6160b51120777 Bug: skia:12541 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/529751 Reviewed-by: Ben Wagner <bungeman@google.com>
170 lines
5.0 KiB
Python
170 lines
5.0 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 = "MaskTest_src",
|
|
srcs = ["MaskTest.cpp"],
|
|
visibility = ["//:__subpackages__"],
|
|
deps = [
|
|
"//src/gpu/graphite:EnumBitMask_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: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",
|
|
],
|
|
)
|