1load("//bazel:skia_rules.bzl", "skia_filegroup", "split_srcs_and_hdrs") 2 3package( 4 default_applicable_licenses = ["//:license"], 5) 6 7licenses(["notice"]) 8 9TEXT_FILES = [ 10 "Font.cpp", 11 "Font.h", 12 "RangeSelector.cpp", 13 "RangeSelector.h", 14 "TextAdapter.cpp", 15 "TextAdapter.h", 16 "TextAnimator.cpp", 17 "TextAnimator.h", 18 "TextValue.cpp", 19 "TextValue.h", 20 # TextShaper.cpp is explicitly not here 21] 22 23split_srcs_and_hdrs( 24 name = "text", 25 files = TEXT_FILES, 26) 27 28skia_filegroup( 29 name = "srcs_without_textshaper", 30 srcs = [ 31 ":text_hdrs", # TODO(kjlubick) Remove after making G3 explicitly use this 32 ":text_srcs", 33 ], 34 visibility = ["//modules/skottie/src:__pkg__"], 35) 36 37skia_filegroup( 38 name = "private_hdrs", 39 srcs = [ 40 ":text_hdrs", 41 ], 42 visibility = ["//modules/skottie:__pkg__"], 43) 44 45skia_filegroup( 46 name = "text_shaper_srcs", 47 srcs = [ 48 "TextShaper.cpp", 49 ], 50 visibility = ["//modules/skottie:__pkg__"], 51) 52