0222b540c5
Many of these happen to include private headers. Change-Id: If416de1f30639d797406727dd18f350a85c744bb Bug: skia:12541, b/237076898 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/552937 Reviewed-by: Joe Gregorio <jcgregorio@google.com>
49 lines
1.1 KiB
Python
49 lines
1.1 KiB
Python
load("//bazel:macros.bzl", "cc_library", "exports_files_legacy", "gazelle")
|
|
|
|
licenses(["notice"])
|
|
|
|
exports_files_legacy()
|
|
|
|
# This target exposes the Skia public API. It is what external clients should use.
|
|
cc_library(
|
|
name = "skia_public",
|
|
srcs = [
|
|
"//include:private_hdrs",
|
|
"//src:private_hdrs",
|
|
"//src:srcs",
|
|
],
|
|
hdrs = ["//include:public_hdrs"],
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//bazel:defines_from_flags",
|
|
"//src:deps",
|
|
],
|
|
)
|
|
|
|
# This target exposes headers beyond the public, supported API. It is intended to be
|
|
# used by Skia's tests and tooling.
|
|
cc_library(
|
|
name = "skia_internal",
|
|
srcs = [
|
|
"//src:srcs",
|
|
],
|
|
hdrs = [
|
|
"//include:private_hdrs",
|
|
"//include:public_hdrs",
|
|
"//src:private_hdrs",
|
|
],
|
|
visibility = [
|
|
"//dm:__subpackages__",
|
|
"//modules:__subpackages__",
|
|
"//tests:__subpackages__",
|
|
"//tools:__subpackages__",
|
|
],
|
|
deps = [
|
|
"//bazel:defines_from_flags",
|
|
"//src:deps",
|
|
],
|
|
)
|
|
|
|
# gazelle:prefix go.skia.org/skia
|
|
gazelle(name = "gazelle")
|