xref: /aosp_15_r20/external/skia/src/gpu/ganesh/effects/BUILD.bazel (revision c8dee2aa9b3f27cf6c858bd81872bdeb2c07ed17)
1load("//bazel:skia_rules.bzl", "generate_cpp_files_for_headers", "split_srcs_and_hdrs")
2
3package(
4    default_applicable_licenses = ["//:license"],
5)
6
7licenses(["notice"])
8
9EFFECTS_FILES = [
10    "GrAtlasedShaderHelpers.h",
11    "GrBezierEffect.cpp",
12    "GrBezierEffect.h",
13    "GrBicubicEffect.cpp",
14    "GrBicubicEffect.h",
15    "GrBitmapTextGeoProc.cpp",
16    "GrBitmapTextGeoProc.h",
17    "GrBlendFragmentProcessor.cpp",
18    "GrBlendFragmentProcessor.h",
19    "GrColorTableEffect.cpp",
20    "GrColorTableEffect.h",
21    "GrConvexPolyEffect.cpp",
22    "GrConvexPolyEffect.h",
23    "GrCoverageSetOpXP.cpp",
24    "GrCoverageSetOpXP.h",
25    "GrCustomXfermode.cpp",
26    "GrCustomXfermode.h",
27    "GrDisableColorXP.cpp",
28    "GrDisableColorXP.h",
29    "GrDistanceFieldGeoProc.cpp",
30    "GrDistanceFieldGeoProc.h",
31    "GrMatrixEffect.cpp",
32    "GrMatrixEffect.h",
33    "GrModulateAtlasCoverageEffect.cpp",
34    "GrModulateAtlasCoverageEffect.h",
35    "GrOvalEffect.cpp",
36    "GrOvalEffect.h",
37    "GrPerlinNoise2Effect.cpp",
38    "GrPerlinNoise2Effect.h",
39    "GrPorterDuffXferProcessor.cpp",
40    "GrPorterDuffXferProcessor.h",
41    "GrRRectEffect.cpp",
42    "GrRRectEffect.h",
43    "GrShadowGeoProc.cpp",
44    "GrShadowGeoProc.h",
45    "GrSkSLFP.cpp",
46    "GrSkSLFP.h",
47    "GrTextureEffect.cpp",
48    "GrTextureEffect.h",
49    "GrYUVtoRGBEffect.cpp",
50    "GrYUVtoRGBEffect.h",
51]
52
53split_srcs_and_hdrs(
54    name = "effects",
55    files = EFFECTS_FILES,
56    visibility = ["//src/gpu/ganesh:__pkg__"],
57)
58
59generate_cpp_files_for_headers(
60    name = "headers_to_compile",
61    headers = [
62        "GrAtlasedShaderHelpers.h",
63    ],
64)
65