46eaab3959
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>
191 lines
4.9 KiB
Python
191 lines
4.9 KiB
Python
load("//bazel:macros.bzl", "exports_files_legacy", "generated_cc_atom")
|
|
|
|
exports_files_legacy()
|
|
|
|
licenses(["notice"])
|
|
|
|
generated_cc_atom(
|
|
name = "SkAnimCodecPlayer_hdr",
|
|
hdrs = ["SkAnimCodecPlayer.h"],
|
|
visibility = ["//:__subpackages__"],
|
|
deps = [
|
|
"//include/codec:SkCodec_hdr",
|
|
"//include/core:SkImageInfo_hdr",
|
|
"//include/core:SkRefCnt_hdr",
|
|
"//include/core:SkSize_hdr",
|
|
],
|
|
)
|
|
|
|
generated_cc_atom(
|
|
name = "SkBase64_hdr",
|
|
hdrs = ["SkBase64.h"],
|
|
visibility = ["//:__subpackages__"],
|
|
deps = ["//include/core:SkTypes_hdr"],
|
|
)
|
|
|
|
generated_cc_atom(
|
|
name = "SkCamera_hdr",
|
|
hdrs = ["SkCamera.h"],
|
|
visibility = ["//:__subpackages__"],
|
|
deps = [
|
|
"//include/core:SkM44_hdr",
|
|
"//include/core:SkMatrix_hdr",
|
|
"//include/core:SkScalar_hdr",
|
|
"//include/core:SkTypes_hdr",
|
|
"//include/private:SkNoncopyable_hdr",
|
|
],
|
|
)
|
|
|
|
generated_cc_atom(
|
|
name = "SkCanvasStateUtils_hdr",
|
|
hdrs = ["SkCanvasStateUtils.h"],
|
|
visibility = ["//:__subpackages__"],
|
|
deps = ["//include/core:SkTypes_hdr"],
|
|
)
|
|
|
|
generated_cc_atom(
|
|
name = "SkCustomTypeface_hdr",
|
|
hdrs = ["SkCustomTypeface.h"],
|
|
visibility = ["//:__subpackages__"],
|
|
deps = [
|
|
"//include/core:SkFontMetrics_hdr",
|
|
"//include/core:SkFontStyle_hdr",
|
|
"//include/core:SkPath_hdr",
|
|
"//include/core:SkRefCnt_hdr",
|
|
"//include/core:SkTypes_hdr",
|
|
],
|
|
)
|
|
|
|
generated_cc_atom(
|
|
name = "SkEventTracer_hdr",
|
|
hdrs = ["SkEventTracer.h"],
|
|
visibility = ["//:__subpackages__"],
|
|
deps = ["//include/core:SkTypes_hdr"],
|
|
)
|
|
|
|
generated_cc_atom(
|
|
name = "SkNWayCanvas_hdr",
|
|
hdrs = ["SkNWayCanvas.h"],
|
|
visibility = ["//:__subpackages__"],
|
|
deps = [
|
|
":SkNoDrawCanvas_hdr",
|
|
"//include/core:SkBlendMode_hdr",
|
|
"//include/core:SkCanvasVirtualEnforcer_hdr",
|
|
"//include/core:SkCanvas_hdr",
|
|
"//include/core:SkClipOp_hdr",
|
|
"//include/core:SkColor_hdr",
|
|
"//include/core:SkM44_hdr",
|
|
"//include/core:SkRefCnt_hdr",
|
|
"//include/core:SkSamplingOptions_hdr",
|
|
"//include/core:SkScalar_hdr",
|
|
"//include/core:SkTypes_hdr",
|
|
"//include/private:SkTDArray_hdr",
|
|
],
|
|
)
|
|
|
|
generated_cc_atom(
|
|
name = "SkNoDrawCanvas_hdr",
|
|
hdrs = ["SkNoDrawCanvas.h"],
|
|
visibility = ["//:__subpackages__"],
|
|
deps = [
|
|
"//include/core:SkCanvasVirtualEnforcer_hdr",
|
|
"//include/core:SkCanvas_hdr",
|
|
],
|
|
)
|
|
|
|
generated_cc_atom(
|
|
name = "SkNullCanvas_hdr",
|
|
hdrs = ["SkNullCanvas.h"],
|
|
visibility = ["//:__subpackages__"],
|
|
deps = ["//include/core:SkTypes_hdr"],
|
|
)
|
|
|
|
generated_cc_atom(
|
|
name = "SkOrderedFontMgr_hdr",
|
|
hdrs = ["SkOrderedFontMgr.h"],
|
|
visibility = ["//:__subpackages__"],
|
|
deps = [
|
|
"//include/core:SkFontMgr_hdr",
|
|
"//include/core:SkRefCnt_hdr",
|
|
"//include/core:SkTypes_hdr",
|
|
],
|
|
)
|
|
|
|
generated_cc_atom(
|
|
name = "SkPaintFilterCanvas_hdr",
|
|
hdrs = ["SkPaintFilterCanvas.h"],
|
|
visibility = ["//:__subpackages__"],
|
|
deps = [
|
|
":SkNWayCanvas_hdr",
|
|
"//include/core:SkBlendMode_hdr",
|
|
"//include/core:SkCanvasVirtualEnforcer_hdr",
|
|
"//include/core:SkCanvas_hdr",
|
|
"//include/core:SkColor_hdr",
|
|
"//include/core:SkImageInfo_hdr",
|
|
"//include/core:SkRefCnt_hdr",
|
|
"//include/core:SkSamplingOptions_hdr",
|
|
"//include/core:SkScalar_hdr",
|
|
"//include/core:SkSize_hdr",
|
|
"//include/core:SkTypes_hdr",
|
|
"//include/private:SkTDArray_hdr",
|
|
],
|
|
)
|
|
|
|
generated_cc_atom(
|
|
name = "SkParsePath_hdr",
|
|
hdrs = ["SkParsePath.h"],
|
|
visibility = ["//:__subpackages__"],
|
|
deps = ["//include/core:SkPath_hdr"],
|
|
)
|
|
|
|
generated_cc_atom(
|
|
name = "SkParse_hdr",
|
|
hdrs = ["SkParse.h"],
|
|
visibility = ["//:__subpackages__"],
|
|
deps = [
|
|
"//include/core:SkColor_hdr",
|
|
"//include/core:SkScalar_hdr",
|
|
"//include/core:SkTypes_hdr",
|
|
],
|
|
)
|
|
|
|
generated_cc_atom(
|
|
name = "SkRandom_hdr",
|
|
hdrs = ["SkRandom.h"],
|
|
visibility = ["//:__subpackages__"],
|
|
deps = [
|
|
"//include/core:SkScalar_hdr",
|
|
"//include/private:SkFixed_hdr",
|
|
"//include/private:SkFloatBits_hdr",
|
|
],
|
|
)
|
|
|
|
generated_cc_atom(
|
|
name = "SkShadowUtils_hdr",
|
|
hdrs = ["SkShadowUtils.h"],
|
|
visibility = ["//:__subpackages__"],
|
|
deps = [
|
|
"//include/core:SkColor_hdr",
|
|
"//include/core:SkScalar_hdr",
|
|
"//include/core:SkTypes_hdr",
|
|
"//include/private:SkShadowFlags_hdr",
|
|
],
|
|
)
|
|
|
|
generated_cc_atom(
|
|
name = "SkTextUtils_hdr",
|
|
hdrs = ["SkTextUtils.h"],
|
|
visibility = ["//:__subpackages__"],
|
|
deps = [
|
|
"//include/core:SkFontTypes_hdr",
|
|
"//include/core:SkScalar_hdr",
|
|
"//include/core:SkTypes_hdr",
|
|
],
|
|
)
|
|
|
|
generated_cc_atom(
|
|
name = "SkTraceEventPhase_hdr",
|
|
hdrs = ["SkTraceEventPhase.h"],
|
|
visibility = ["//:__subpackages__"],
|
|
)
|