42f710f3fa
This is a reland of commit ae5e846047
Original change's description:
> [graphite] Move Graphite into Skia base directories.
>
> Change-Id: Ie0fb74f3766a8b33387c145bd1151344c25808cb
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/528708
> Reviewed-by: Kevin Lubick <kjlubick@google.com>
> Reviewed-by: Greg Daniel <egdaniel@google.com>
> Commit-Queue: Jim Van Verth <jvanverth@google.com>
Change-Id: Ia575fd49206ad0b665a6a9153317e738bb321446
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/529059
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Greg Daniel <egdaniel@google.com>
Commit-Queue: Jim Van Verth <jvanverth@google.com>
168 lines
4.9 KiB
Python
168 lines
4.9 KiB
Python
load("//bazel:macros.bzl", "generated_cc_atom")
|
|
|
|
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",
|
|
],
|
|
)
|