skia2/include/ports/BUILD.bazel
Kevin Lubick 46eaab3959 [bazel] Add shims to help translation into G3
Ran the following commands:
find -name "BUILD.bazel" -exec sed -i -e '1iload("//bazel:macros.bzl", "cc_library", "exports_files_legacy")\nexports_files_legacy()' {} +
buildifier --lint=fix --mode=fix -r .

This had the effect of making sure we can export all of our
files in G3 (until we no longer have legacy targets) and
making all of our cc_libraries shim-able.

bazel/macros.bzl has the human-contributed changes, the rest
were mechanical.

Change-Id: I8e24e30e74b038cfd072cdbe4078bfd1d213dd46
Bug: skia:13211
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/535359
Reviewed-by: Ben Wagner <bungeman@google.com>
2022-04-29 19:27:54 +00:00

164 lines
4.0 KiB
Python

load("//bazel:macros.bzl", "exports_files_legacy", "generated_cc_atom")
exports_files_legacy()
licenses(["notice"])
generated_cc_atom(
name = "SkCFObject_hdr",
hdrs = ["SkCFObject.h"],
visibility = ["//:__subpackages__"],
deps = ["//include/core:SkTypes_hdr"],
)
generated_cc_atom(
name = "SkFontConfigInterface_hdr",
hdrs = ["SkFontConfigInterface.h"],
visibility = ["//:__subpackages__"],
deps = [
"//include/core:SkFontStyle_hdr",
"//include/core:SkRefCnt_hdr",
"//include/core:SkStream_hdr",
"//include/core:SkTypeface_hdr",
],
)
generated_cc_atom(
name = "SkFontMgr_FontConfigInterface_hdr",
hdrs = ["SkFontMgr_FontConfigInterface.h"],
visibility = ["//:__subpackages__"],
deps = [
"//include/core:SkRefCnt_hdr",
"//include/core:SkTypes_hdr",
],
)
generated_cc_atom(
name = "SkFontMgr_android_hdr",
hdrs = ["SkFontMgr_android.h"],
visibility = ["//:__subpackages__"],
deps = ["//include/core:SkRefCnt_hdr"],
)
generated_cc_atom(
name = "SkFontMgr_directory_hdr",
hdrs = ["SkFontMgr_directory.h"],
visibility = ["//:__subpackages__"],
deps = [
"//include/core:SkRefCnt_hdr",
"//include/core:SkTypes_hdr",
],
)
generated_cc_atom(
name = "SkFontMgr_empty_hdr",
hdrs = ["SkFontMgr_empty.h"],
visibility = ["//:__subpackages__"],
deps = [
"//include/core:SkRefCnt_hdr",
"//include/core:SkTypes_hdr",
],
)
generated_cc_atom(
name = "SkFontMgr_fontconfig_hdr",
hdrs = ["SkFontMgr_fontconfig.h"],
visibility = ["//:__subpackages__"],
deps = ["//include/core:SkRefCnt_hdr"],
)
generated_cc_atom(
name = "SkFontMgr_fuchsia_hdr",
hdrs = ["SkFontMgr_fuchsia.h"],
visibility = ["//:__subpackages__"],
deps = ["//include/core:SkRefCnt_hdr"],
)
generated_cc_atom(
name = "SkFontMgr_indirect_hdr",
hdrs = ["SkFontMgr_indirect.h"],
visibility = ["//:__subpackages__"],
deps = [
":SkRemotableFontMgr_hdr",
"//include/core:SkFontMgr_hdr",
"//include/core:SkRefCnt_hdr",
"//include/core:SkTypeface_hdr",
"//include/core:SkTypes_hdr",
"//include/private:SkMutex_hdr",
"//include/private:SkOnce_hdr",
"//include/private:SkTArray_hdr",
],
)
generated_cc_atom(
name = "SkFontMgr_mac_ct_hdr",
hdrs = ["SkFontMgr_mac_ct.h"],
visibility = ["//:__subpackages__"],
deps = [
"//include/core:SkRefCnt_hdr",
"//include/core:SkTypes_hdr",
],
)
generated_cc_atom(
name = "SkImageGeneratorCG_hdr",
hdrs = ["SkImageGeneratorCG.h"],
visibility = ["//:__subpackages__"],
deps = [
"//include/core:SkData_hdr",
"//include/core:SkImageGenerator_hdr",
"//include/core:SkTypes_hdr",
],
)
generated_cc_atom(
name = "SkImageGeneratorNDK_hdr",
hdrs = ["SkImageGeneratorNDK.h"],
visibility = ["//:__subpackages__"],
deps = [
"//include/core:SkData_hdr",
"//include/core:SkImageGenerator_hdr",
"//include/core:SkTypes_hdr",
],
)
generated_cc_atom(
name = "SkImageGeneratorWIC_hdr",
hdrs = ["SkImageGeneratorWIC.h"],
visibility = ["//:__subpackages__"],
deps = [
"//include/core:SkData_hdr",
"//include/core:SkImageGenerator_hdr",
"//include/core:SkTypes_hdr",
],
)
generated_cc_atom(
name = "SkRemotableFontMgr_hdr",
hdrs = ["SkRemotableFontMgr.h"],
visibility = ["//:__subpackages__"],
deps = [
"//include/core:SkFontStyle_hdr",
"//include/core:SkRefCnt_hdr",
"//include/core:SkTypes_hdr",
"//include/private:SkTemplates_hdr",
],
)
generated_cc_atom(
name = "SkTypeface_mac_hdr",
hdrs = ["SkTypeface_mac.h"],
visibility = ["//:__subpackages__"],
deps = ["//include/core:SkTypeface_hdr"],
)
generated_cc_atom(
name = "SkTypeface_win_hdr",
hdrs = ["SkTypeface_win.h"],
visibility = ["//:__subpackages__"],
deps = [
"//include/core:SkTypeface_hdr",
"//include/core:SkTypes_hdr",
],
)