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