blob: 59ce4e2c8f4bbf548d5b77865af3c838c4619765 [file] [log] [blame]
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup")
licenses(["notice"])
exports_files_legacy(label_list = [
"CommandLineFlags.cpp",
"CommandLineFlags.h",
])
skia_filegroup(
name = "flags",
testonly = True,
srcs = [
"CommandLineFlags.cpp",
"CommandLineFlags.h",
],
visibility = [
"//gm:__pkg__",
"//modules/skottie:__pkg__",
"//tests:__subpackages__",
"//tools:__pkg__",
"//tools:__subpackages__",
],
)
skia_filegroup(
name = "common_flags",
testonly = True,
srcs = [
"CommonFlags.h",
"CommonFlagsImages.cpp",
] + select({
"//src/gpu:has_ganesh_backend": ["CommonFlagsGpu.cpp"],
"//conditions:default": [],
}),
visibility = [
"//gm:__pkg__",
"//tools:__subpackages__",
],
)