[bazel] Make modules depend on //:skia_internal
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>
This commit is contained in:
parent
27c8076a9e
commit
0222b540c5
@ -34,6 +34,7 @@ cc_library(
|
||||
],
|
||||
visibility = [
|
||||
"//dm:__subpackages__",
|
||||
"//modules:__subpackages__",
|
||||
"//tests:__subpackages__",
|
||||
"//tools:__subpackages__",
|
||||
],
|
||||
|
@ -10,7 +10,7 @@ cc_library(
|
||||
hdrs = ["//modules/particles/include:hdrs"],
|
||||
visibility = ["//:__subpackages__"],
|
||||
deps = [
|
||||
"//:skia_public",
|
||||
"//:skia_internal",
|
||||
"//modules/skottie",
|
||||
"//modules/skresources",
|
||||
],
|
||||
|
@ -13,7 +13,7 @@ cc_library(
|
||||
hdrs = ["//modules/skottie/include:hdrs"],
|
||||
visibility = ["//:__subpackages__"],
|
||||
deps = [
|
||||
"//:skia_public",
|
||||
"//:skia_internal",
|
||||
"//modules/skresources",
|
||||
"//modules/sksg",
|
||||
"//modules/skshaper",
|
||||
|
@ -10,7 +10,7 @@ cc_library(
|
||||
hdrs = ["//modules/skparagraph/include:hdrs"],
|
||||
visibility = ["//:__subpackages__"],
|
||||
deps = [
|
||||
"//:skia_public",
|
||||
"//:skia_internal",
|
||||
"//modules/skshaper",
|
||||
"//modules/skunicode",
|
||||
"//third_party:harfbuzz",
|
||||
|
@ -10,6 +10,6 @@ cc_library(
|
||||
hdrs = ["//modules/skresources/include:hdrs"],
|
||||
visibility = ["//:__subpackages__"],
|
||||
deps = [
|
||||
"//:skia_public",
|
||||
"//:skia_internal",
|
||||
],
|
||||
)
|
||||
|
@ -10,7 +10,7 @@ cc_library(
|
||||
hdrs = ["//modules/skshaper/include:hdrs"],
|
||||
visibility = ["//:__subpackages__"],
|
||||
deps = [
|
||||
"//:skia_public",
|
||||
"//:skia_internal",
|
||||
] + select({
|
||||
"//bazel/common_config_settings:harfbuzz_shaper": [
|
||||
"//third_party:harfbuzz",
|
||||
|
@ -10,7 +10,7 @@ cc_library(
|
||||
hdrs = ["//modules/skunicode/include:hdrs"],
|
||||
visibility = ["//:__subpackages__"],
|
||||
deps = [
|
||||
"//:skia_public",
|
||||
"//:skia_internal",
|
||||
"//third_party:icu",
|
||||
],
|
||||
)
|
||||
|
@ -3,3 +3,7 @@ load("//bazel:macros.bzl", "exports_files_legacy")
|
||||
licenses(["notice"])
|
||||
|
||||
exports_files_legacy()
|
||||
|
||||
filegroup(
|
||||
name = "srcs",
|
||||
)
|
||||
|
@ -3,3 +3,7 @@ load("//bazel:macros.bzl", "exports_files_legacy")
|
||||
licenses(["notice"])
|
||||
|
||||
exports_files_legacy()
|
||||
|
||||
filegroup(
|
||||
name = "srcs",
|
||||
)
|
||||
|
@ -3,3 +3,7 @@ load("//bazel:macros.bzl", "exports_files_legacy")
|
||||
licenses(["notice"])
|
||||
|
||||
exports_files_legacy()
|
||||
|
||||
filegroup(
|
||||
name = "srcs",
|
||||
)
|
||||
|
Loading…
Reference in New Issue
Block a user