blob: fc0080a6618330bedec559de417bc101d28aedbe [file] [log] [blame]
load("//bazel:macros.bzl", "exports_files_legacy", "skia_cc_deps", "split_srcs_and_hdrs")
licenses(["notice"])
exports_files_legacy()
XML_FILES = [
"SkDOM.cpp",
"SkDOM.h",
"SkXMLParser.cpp",
"SkXMLParser.h",
"SkXMLWriter.cpp",
"SkXMLWriter.h",
]
split_srcs_and_hdrs(
name = "xml",
files = XML_FILES,
)
filegroup(
name = "srcs",
srcs = [":xml_srcs"],
visibility = ["//src:__pkg__"],
)
filegroup(
name = "private_hdrs",
srcs = [":xml_hdrs"],
visibility = ["//src:__pkg__"],
)
skia_cc_deps(
name = "deps",
visibility = ["//src:__pkg__"],
deps = ["@expat"],
)