skia2/include/utils/BUILD.bazel
Kevin Lubick 6c78b8d3ae Revert "Move SkCamera.h to client_utils/android"
This reverts commit 8a54d86c78.

Reason for revert: Causing issues with Android CTS

Original change's description:
> Move SkCamera.h to client_utils/android
>
> Android still uses this
> https://developer.android.com/reference/android/graphics/Camera
> but no other client does.
>
> This adds a little adaption layer until Android is updated
> to use the View3D version.
>
> Move SkCamera.h to View3D.h. Change names to android::skia::CLASS
> instead of SkCLASS. (3DView is not a valid class name, so rename it to
> View3D.)
>
> Forward-declare SkMatrix. Do not override SkNoncopyable - just delete
> the copy constructor/operator=. Make fU and fV private in Patch3D.
>
> Make Sk3DView override View3D temporarily until Android can be switched
> over to the new class.
>
> (View3D from http://review.skia.org/291371)
>
> I made Patch3D and Camera3D be private classes as they are
> currently not used by Android and wanted to constrain the
> exposed API as much as possible.
>
> Change-Id: Ibde45478421feeb610e045205c3f20c0e5b1567e
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/532456
> Reviewed-by: Brian Osman <brianosman@google.com>
> Reviewed-by: Leon Scroggins <scroggo@google.com>
> Commit-Queue: Kevin Lubick <kjlubick@google.com>

Change-Id: If6e768524a0e13e14ef886a6f081a09ddc0dc2fd
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/533396
Owners-Override: Kevin Lubick <kjlubick@google.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
2022-04-25 12:33:01 +00:00

158 lines
3.8 KiB
Python

load("//bazel:macros.bzl", "generated_cc_atom")
licenses(["notice"])
generated_cc_atom(
name = "SkAnimCodecPlayer_hdr",
hdrs = ["SkAnimCodecPlayer.h"],
visibility = ["//:__subpackages__"],
deps = ["//include/codec:SkCodec_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/private:SkNoncopyable_hdr",
],
)
generated_cc_atom(
name = "SkCanvasStateUtils_hdr",
hdrs = ["SkCanvasStateUtils.h"],
visibility = ["//:__subpackages__"],
deps = ["//include/core:SkCanvas_hdr"],
)
generated_cc_atom(
name = "SkCustomTypeface_hdr",
hdrs = ["SkCustomTypeface.h"],
visibility = ["//:__subpackages__"],
deps = [
"//include/core:SkFontMetrics_hdr",
"//include/core:SkFontStyle_hdr",
"//include/core:SkImage_hdr",
"//include/core:SkPaint_hdr",
"//include/core:SkPath_hdr",
"//include/core:SkPicture_hdr",
"//include/core:SkTypeface_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:SkCanvasVirtualEnforcer_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:SkCanvas_hdr"],
)
generated_cc_atom(
name = "SkOrderedFontMgr_hdr",
hdrs = ["SkOrderedFontMgr.h"],
visibility = ["//:__subpackages__"],
deps = ["//include/core:SkFontMgr_hdr"],
)
generated_cc_atom(
name = "SkPaintFilterCanvas_hdr",
hdrs = ["SkPaintFilterCanvas.h"],
visibility = ["//:__subpackages__"],
deps = [
":SkNWayCanvas_hdr",
"//include/core:SkCanvasVirtualEnforcer_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"],
)
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:SkPoint3_hdr",
"//include/core:SkScalar_hdr",
"//include/private:SkShadowFlags_hdr",
],
)
generated_cc_atom(
name = "SkTextUtils_hdr",
hdrs = ["SkTextUtils.h"],
visibility = ["//:__subpackages__"],
deps = [
"//include/core:SkCanvas_hdr",
"//include/core:SkFont_hdr",
"//include/core:SkPaint_hdr",
"//include/core:SkString_hdr",
],
)
generated_cc_atom(
name = "SkTraceEventPhase_hdr",
hdrs = ["SkTraceEventPhase.h"],
visibility = ["//:__subpackages__"],
)