skia2/tools/sksl-precompile/BUILD.bazel
John Stiles 156952dc7b Add new sksl-precompile binary to tools.
This binary will be compiled when the gn flag `skia_compile_modules` is
set. sksl-precompile will replace for skslc for module precompilation in
a followup.

Change-Id: I217127169b091f97c2e4d11e0deb655ceac84425
Bug: skia:13164
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/527838
Auto-Submit: John Stiles <johnstiles@google.com>
Reviewed-by: Brian Osman <brianosman@google.com>
Commit-Queue: John Stiles <johnstiles@google.com>
2022-04-06 19:45:07 +00:00

25 lines
815 B
Python

load("//bazel:macros.bzl", "generated_cc_atom")
generated_cc_atom(
name = "SkSLPrecompile_src",
srcs = ["SkSLPrecompile.cpp"],
visibility = ["//:__subpackages__"],
deps = [
"//include/core:SkGraphics_hdr",
"//include/core:SkStream_hdr",
"//include/private:SkStringView_hdr",
"//src/core:SkCpu_hdr",
"//src/core:SkOpts_hdr",
"//src/opts:SkChecksum_opts_hdr",
"//src/opts:SkVM_opts_hdr",
"//src/sksl:SkSLCompiler_hdr",
"//src/sksl:SkSLDehydrator_hdr",
"//src/sksl:SkSLFileOutputStream_hdr",
"//src/sksl:SkSLStringStream_hdr",
"//src/sksl:SkSLUtil_hdr",
"//src/sksl/ir:SkSLUnresolvedFunction_hdr",
"//src/sksl/ir:SkSLVarDeclarations_hdr",
"//src/utils:SkShaderUtils_hdr",
],
)