blob: 09f7350a8cd907e1c27a2a30e1efecdf7e01fddc [file] [log] [blame]
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_filegroup")
package(
default_applicable_licenses = ["//:license"],
)
licenses(["notice"])
exports_files_legacy()
# In own group for exporting to sksl.gni:skia_sksl_tracing_sources.
skia_filegroup(
name = "enabled_srcs",
srcs = ["SkSLDebugTracePlayer.cpp"],
)
# In own group for exporting to sksl.gni:skia_sksl_tracing_sources.
skia_filegroup(
name = "enabled_hdrs",
srcs = ["SkSLDebugTracePlayer.h"],
)
skia_filegroup(
name = "srcs",
srcs = [
"SkSLDebugTracePriv.cpp",
"SkSLTraceHook.cpp",
":enabled_srcs",
],
visibility = ["//src/sksl:__pkg__"],
)
skia_filegroup(
name = "skopts_hdrs",
srcs = [
"SkSLTraceHook.h",
],
visibility = [
"//src:__pkg__",
"//src/opts:__pkg__",
],
)
skia_filegroup(
name = "private_hdrs",
srcs = [
"SkSLDebugTracePriv.h",
":enabled_hdrs",
":skopts_hdrs",
],
visibility = ["//src/sksl:__pkg__"],
)
skia_filegroup(
name = "core_priv_hdrs",
srcs = [
"SkSLDebugTracePriv.h",
"SkSLTraceHook.h",
],
visibility = ["//src/sksl:__pkg__"],
)
skia_filegroup(
name = "opts_srcs",
srcs = [
"SkSLTraceHook.h",
],
visibility = ["//src/opts:__pkg__"],
)
skia_filegroup(
name = "core_srcs",
srcs = [
"SkSLDebugTracePriv.cpp",
"SkSLTraceHook.cpp",
],
visibility = ["//src/sksl:__pkg__"],
)