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 11GLSL_FILES = [ 12 "GrGLSLBlend.cpp", 13 "GrGLSLBlend.h", 14 "GrGLSLColorSpaceXformHelper.h", 15 "GrGLSLFragmentShaderBuilder.cpp", 16 "GrGLSLFragmentShaderBuilder.h", 17 "GrGLSLProgramBuilder.cpp", 18 "GrGLSLProgramBuilder.h", 19 "GrGLSLProgramDataManager.cpp", 20 "GrGLSLProgramDataManager.h", 21 "GrGLSLShaderBuilder.cpp", 22 "GrGLSLShaderBuilder.h", 23 "GrGLSLUniformHandler.cpp", 24 "GrGLSLUniformHandler.h", 25 "GrGLSLVarying.cpp", 26 "GrGLSLVarying.h", 27 "GrGLSLVertexGeoBuilder.cpp", 28 "GrGLSLVertexGeoBuilder.h", 29] 30 31split_srcs_and_hdrs( 32 name = "glsl", 33 files = GLSL_FILES, 34) 35 36skia_filegroup( 37 name = "srcs", 38 srcs = [":glsl_srcs"], 39 visibility = ["//src/gpu/ganesh:__pkg__"], 40) 41 42skia_filegroup( 43 name = "private_hdrs", 44 srcs = [":glsl_hdrs"], 45 visibility = ["//src/gpu/ganesh:__pkg__"], 46) 47