c3a448ec61
G3 prefers license() first. This was done mechanically with a big find/replace Change-Id: I8c33c7bc10a6bec42e966cad81c259954e841811 Bug: skia:13211 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/535898 Reviewed-by: Ben Wagner <bungeman@google.com>
26 lines
616 B
Python
26 lines
616 B
Python
load("//bazel:macros.bzl", "cc_library", "exports_files_legacy")
|
|
|
|
licenses(["notice"])
|
|
|
|
exports_files_legacy()
|
|
|
|
cc_library(
|
|
name = "skcms",
|
|
srcs = [
|
|
"skcms.cc",
|
|
"skcms_internal.h",
|
|
],
|
|
hdrs = [
|
|
"//include/third_party/skcms:skcms.h",
|
|
],
|
|
copts = [
|
|
# We cannot use includes because this header is not in this directory.
|
|
"-isystem include/third_party/skcms/",
|
|
],
|
|
# 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__"],
|
|
)
|