1load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_cc_library", "skia_filegroup") 2 3package( 4 default_applicable_licenses = ["//:license"], 5) 6 7licenses(["notice"]) 8 9exports_files_legacy() 10 11skia_filegroup( 12 name = "srcs", 13 srcs = [ 14 "GrGLMakeGLXInterface.cpp", 15 "GrGLMakeNativeInterface_glx.cpp", 16 ], 17 visibility = [ 18 "//src/gpu/ganesh/gl:__pkg__", 19 "//tools/gpu/gl/glx:__pkg__", 20 ], 21) 22 23skia_cc_library( 24 name = "glx_factory", 25 srcs = [ 26 "GrGLMakeGLXInterface.cpp", 27 ], 28 hdrs = [ 29 "//include/gpu/ganesh/gl/glx:public_hdrs", 30 ], 31 defines = ["SK_DISABLE_LEGACY_GLXINTERFACE_FACTORY"], 32 visibility = ["//:__pkg__"], 33 deps = [ 34 "//:core", 35 "//:ganesh_gl", 36 ], 37) 38