blob: cb11853a3d32210db2f1dbc25e29eb25e636e4dc [file] [log] [blame]
load("//bazel:skia_rules.bzl", "exports_files_legacy", "skia_cc_library", "skia_filegroup")
licenses(["notice"])
exports_files_legacy()
# A separate group duplicating :skcms.hdrs for
# export to //modules/skcms/skcms.gni:skcms_public_headers.
skia_filegroup(
name = "public_hdrs",
srcs = ["skcms.h"],
)
# A separate group duplicating :skcms.srcs for
# export to //modules/skcms/skcms.gni:skcms_sources.
skia_filegroup(
name = "srcs",
srcs = [
"skcms.cc",
"skcms_internal.h",
],
)
# A separate group duplicating :skcms.textual_hdrs for
# export to //modules/skcms/skcms.gni:skcms_sources.
skia_filegroup(
name = "textual_hdrs",
srcs = [
"src/Transform_inl.h",
],
)
skia_cc_library(
name = "skcms",
srcs = [
"skcms.cc",
"skcms_internal.h",
],
hdrs = [
"skcms.h",
],
# The following comment will be replaced with G3-specific settings
# SKCMS_REPLACE_IN_GOOGLE3_COMPATIBLE_WITH
# This header does not compile on its own and is meant to be included from skcms.cc
textual_hdrs = [
"src/Transform_inl.h",
],
visibility = ["//:__subpackages__"],
)