skia2/include/sksl/BUILD.bazel
John Stiles 37c03c8d73 Revert "Remove DSLWrapper helper class."
This reverts commit 3b4f862d05.

Reason for revert: might have caused chromium:1326848

Original change's description:
> Remove DSLWrapper helper class.
>
> Without an `operator=` on our expressions and variables, we no longer
> need to wrap all our expressions with a helper.
>
> Change-Id: I8110079f61c9ad01997f7c4b376db223dc4b6e17
> Reviewed-on: https://skia-review.googlesource.com/c/skia/+/541063
> Commit-Queue: John Stiles <johnstiles@google.com>
> Auto-Submit: John Stiles <johnstiles@google.com>
> Reviewed-by: Brian Osman <brianosman@google.com>

Change-Id: I7efb3004913f7c85dc551d9740a6b31971de52d2
No-Presubmit: true
No-Tree-Checks: true
No-Try: true
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/541736
Auto-Submit: John Stiles <johnstiles@google.com>
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Commit-Queue: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
2022-05-18 13:21:07 +00:00

190 lines
4.2 KiB
Python

load("//bazel:macros.bzl", "enforce_iwyu_on_package", "exports_files_legacy", "generated_cc_atom")
licenses(["notice"])
exports_files_legacy()
enforce_iwyu_on_package()
generated_cc_atom(
name = "DSLBlock_hdr",
hdrs = ["DSLBlock.h"],
visibility = ["//:__subpackages__"],
deps = [
":DSLStatement_hdr",
":SkSLPosition_hdr",
"//include/private:SkSLDefines_hdr",
"//include/private:SkTArray_hdr",
],
)
generated_cc_atom(
name = "DSLCase_hdr",
hdrs = ["DSLCase.h"],
visibility = ["//:__subpackages__"],
deps = [
":DSLExpression_hdr",
":DSLStatement_hdr",
":SkSLPosition_hdr",
"//include/private:SkSLDefines_hdr",
"//include/private:SkTArray_hdr",
],
)
generated_cc_atom(
name = "DSLCore_hdr",
hdrs = ["DSLCore.h"],
visibility = ["//:__subpackages__"],
deps = [
":DSLCase_hdr",
":DSLExpression_hdr",
":DSLStatement_hdr",
":DSLVar_hdr",
"//include/private:SkSLDefines_hdr",
"//include/private:SkSLProgramKind_hdr",
"//include/private:SkTArray_hdr",
],
)
generated_cc_atom(
name = "DSLExpression_hdr",
hdrs = ["DSLExpression.h"],
visibility = ["//:__subpackages__"],
deps = [
":SkSLOperator_hdr",
":SkSLPosition_hdr",
"//include/private:SkTArray_hdr",
],
)
generated_cc_atom(
name = "DSLFunction_hdr",
hdrs = ["DSLFunction.h"],
visibility = ["//:__subpackages__"],
deps = [
":DSLBlock_hdr",
":DSLExpression_hdr",
":DSLModifiers_hdr",
":DSLStatement_hdr",
":DSLVar_hdr",
":SkSLPosition_hdr",
"//include/private:SkSLDefines_hdr",
"//include/private:SkTArray_hdr",
],
)
generated_cc_atom(
name = "DSLLayout_hdr",
hdrs = ["DSLLayout.h"],
visibility = ["//:__subpackages__"],
deps = [
":SkSLPosition_hdr",
"//include/private:SkSLLayout_hdr",
],
)
generated_cc_atom(
name = "DSLModifiers_hdr",
hdrs = ["DSLModifiers.h"],
visibility = ["//:__subpackages__"],
deps = [
":DSLLayout_hdr",
"//include/core:SkSpan_hdr",
"//include/private:SkSLModifiers_hdr",
],
)
generated_cc_atom(
name = "DSLStatement_hdr",
hdrs = ["DSLStatement.h"],
visibility = ["//:__subpackages__"],
deps = [
":SkSLPosition_hdr",
"//include/core:SkTypes_hdr",
"//include/private:SkSLStatement_hdr",
],
)
generated_cc_atom(
name = "DSLSymbols_hdr",
hdrs = ["DSLSymbols.h"],
visibility = ["//:__subpackages__"],
deps = [":DSLExpression_hdr"],
)
generated_cc_atom(
name = "DSLType_hdr",
hdrs = ["DSLType.h"],
visibility = ["//:__subpackages__"],
deps = [
":DSLExpression_hdr",
":DSLModifiers_hdr",
":SkSLPosition_hdr",
"//include/core:SkSpan_hdr",
],
)
generated_cc_atom(
name = "DSLVar_hdr",
hdrs = ["DSLVar.h"],
visibility = ["//:__subpackages__"],
deps = [
":DSLExpression_hdr",
":DSLModifiers_hdr",
":DSLType_hdr",
":SkSLPosition_hdr",
],
)
generated_cc_atom(
name = "DSLWrapper_hdr",
hdrs = ["DSLWrapper.h"],
visibility = ["//:__subpackages__"],
)
generated_cc_atom(
name = "DSL_hdr",
hdrs = ["DSL.h"],
visibility = ["//:__subpackages__"],
deps = [
":DSLBlock_hdr",
":DSLCore_hdr",
":DSLExpression_hdr",
":DSLFunction_hdr",
":DSLType_hdr",
],
)
generated_cc_atom(
name = "SkSLErrorReporter_hdr",
hdrs = ["SkSLErrorReporter.h"],
visibility = ["//:__subpackages__"],
deps = ["//include/core:SkTypes_hdr"],
)
generated_cc_atom(
name = "SkSLDebugTrace_hdr",
hdrs = ["SkSLDebugTrace.h"],
visibility = ["//:__subpackages__"],
deps = ["//include/core:SkRefCnt_hdr"],
)
generated_cc_atom(
name = "SkSLPosition_hdr",
hdrs = ["SkSLPosition.h"],
visibility = ["//:__subpackages__"],
deps = ["//include/core:SkTypes_hdr"],
)
generated_cc_atom(
name = "SkSLOperator_hdr",
hdrs = ["SkSLOperator.h"],
visibility = ["//:__subpackages__"],
)
generated_cc_atom(
name = "SkSLVersion_hdr",
hdrs = ["SkSLVersion.h"],
visibility = ["//:__subpackages__"],
)