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 11GPU_FILES = [ 12 "DistanceFieldAdjustTable.cpp", 13 "DistanceFieldAdjustTable.h", 14 "Glyph.h", 15 "GlyphVector.cpp", 16 "GlyphVector.h", 17 "SDFMaskFilter.cpp", 18 "SDFMaskFilter.h", 19 "SDFTControl.cpp", 20 "SDFTControl.h", 21 "Slug.cpp", 22 "SlugImpl.cpp", 23 "SlugImpl.h", 24 "SkChromeRemoteGlyphCache.cpp", 25 "StrikeCache.cpp", 26 "StrikeCache.h", 27 "SubRunAllocator.cpp", 28 "SubRunAllocator.h", 29 "SubRunContainer.cpp", 30 "SubRunContainer.h", 31 "TextBlob.cpp", 32 "TextBlob.h", 33 "TextBlobRedrawCoordinator.cpp", 34 "TextBlobRedrawCoordinator.h", 35 "VertexFiller.cpp", 36 "VertexFiller.h", 37] 38 39split_srcs_and_hdrs( 40 name = "gpu", 41 files = GPU_FILES, 42) 43 44skia_filegroup( 45 name = "srcs", 46 srcs = [":gpu_srcs"], 47 visibility = [ 48 "//src:__pkg__", 49 "//src/gpu/ganesh:__pkg__", 50 ], 51) 52 53skia_filegroup( 54 name = "private_hdrs", 55 srcs = [":gpu_hdrs"], 56 visibility = [ 57 "//src:__pkg__", 58 "//src/gpu/ganesh:__pkg__", 59 ], 60) 61