blob: 5e3f212ead5499c3a19ece8664cf01b0c8d881ca [file] [log] [blame]
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_cc_library")
licenses(["notice"])
exports_files_legacy()
skia_cc_library(
name = "window",
srcs = [
# TODO: split up gpu backends into buffett style BUILD
"DisplayParams.h",
"GLWindowContext.cpp",
"GLWindowContext.h",
"VulkanWindowContext.cpp",
"VulkanWindowContext.h",
"WindowContext.cpp",
"WindowContext.h",
] + select({
"@platforms//os:android": ["//tools/window/android:srcs"],
"//conditions:default": [],
}),
visibility = ["//:__subpackages__"],
deps = [
"//:skia_internal",
"//tools/gpu/vk:testutils",
] + select({
"@platforms//os:android": ["//tools/window/android:deps"],
"//conditions:default": [],
}),
)