[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:
Kevin Lubick 2022-06-24 11:47:25 -04:00
parent 27c8076a9e
commit 0222b540c5
10 changed files with 19 additions and 6 deletions

View File

@ -34,6 +34,7 @@ cc_library(
], ],
visibility = [ visibility = [
"//dm:__subpackages__", "//dm:__subpackages__",
"//modules:__subpackages__",
"//tests:__subpackages__", "//tests:__subpackages__",
"//tools:__subpackages__", "//tools:__subpackages__",
], ],

View File

@ -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",
], ],

View File

@ -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",

View File

@ -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",

View File

@ -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",
], ],
) )

View File

@ -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",

View File

@ -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",
], ],
) )

View File

@ -3,3 +3,7 @@ load("//bazel:macros.bzl", "exports_files_legacy")
licenses(["notice"]) licenses(["notice"])
exports_files_legacy() exports_files_legacy()
filegroup(
name = "srcs",
)

View File

@ -3,3 +3,7 @@ load("//bazel:macros.bzl", "exports_files_legacy")
licenses(["notice"]) licenses(["notice"])
exports_files_legacy() exports_files_legacy()
filegroup(
name = "srcs",
)

View File

@ -3,3 +3,7 @@ load("//bazel:macros.bzl", "exports_files_legacy")
licenses(["notice"]) licenses(["notice"])
exports_files_legacy() exports_files_legacy()
filegroup(
name = "srcs",
)