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