1load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup") 2 3package( 4 default_applicable_licenses = ["//:license"], 5) 6 7licenses(["notice"]) 8 9exports_files_legacy() 10 11skia_filegroup( 12 name = "public_hdrs", 13 srcs = [ 14 "GrGLAssembleHelpers.h", 15 "GrGLAssembleInterface.h", 16 "GrGLConfig.h", 17 "GrGLExtensions.h", 18 "GrGLFunctions.h", 19 "GrGLInterface.h", 20 "GrGLTypes.h", 21 ] + select({ 22 "@platforms//os:android": [ 23 "//include/gpu/ganesh/gl/egl:public_hdrs", 24 "//include/gpu/gl/egl:public_hdrs", 25 ], 26 "@platforms//os:linux": [ 27 "//include/gpu/ganesh/gl/glx:public_hdrs", 28 "//include/gpu/gl/glx:public_hdrs", 29 ], 30 "//conditions:default": [], 31 }), 32 visibility = ["//include/gpu:__pkg__"], 33) 34 35skia_filegroup( 36 name = "ganesh_gl_hdrs", 37 srcs = [ 38 "GrGLAssembleHelpers.h", 39 "GrGLAssembleInterface.h", 40 "GrGLConfig.h", 41 "GrGLExtensions.h", 42 "GrGLFunctions.h", 43 "GrGLInterface.h", 44 "GrGLTypes.h", 45 ], 46 visibility = ["//src/gpu/ganesh/gl:__pkg__"], 47) 48