skia2/include
Kevin Lubick b902658a1a [bazel] Fix Bazel build by guarding addToKey
PS1 is the automatic regenerated changes.
PS2-3 adds an #ifdef guard to the addToKey method on shaders.
The SkShaderCodeDictionary class helps generate SkSL and is
only necessary when we are building with SkSL (gpu builds and
cpu builds with SkVM).

Suggested Review order:
 - Use Gerrit to diff PS 1 and the last PS
 - src/core/BUILD.bazel adds some sources to the "only
   necessary if sksl is enabled" bucket
 - All the .cpp and .h files to see the #ifdef is added
   correctly.

Change-Id: I4d4ce61a4957ef1e0840204acff08ce7e616f9cb
Bug: skia:12541
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/512157
Reviewed-by: Michael Ludwig <michaelludwig@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
2022-02-24 18:10:40 +00:00
..
android [infra] Experiment generating BUILD.bazel files 2021-11-23 18:53:16 +00:00
c [infra] Experiment generating BUILD.bazel files 2021-11-23 18:53:16 +00:00
codec HEIF decode: add support for 10-bit color format 2022-02-01 19:49:39 +00:00
config [infra] Experiment generating BUILD.bazel files 2021-11-23 18:53:16 +00:00
core [bazel] Fix Bazel build by guarding addToKey 2022-02-24 18:10:40 +00:00
docs [infra] Experiment generating BUILD.bazel files 2021-11-23 18:53:16 +00:00
effects Reland "Remove skstd::optional entirely." 2022-02-24 15:12:43 +00:00
encode [infra] Experiment generating BUILD.bazel files 2021-11-23 18:53:16 +00:00
gpu use flatten/unflattend Slugs to draw 2022-02-18 15:11:22 +00:00
pathops [infra] Experiment generating BUILD.bazel files 2021-11-23 18:53:16 +00:00
ports Convert 0 and NULL to nullptr. 2022-02-09 14:20:57 +00:00
private [bazel] Fix Bazel build by guarding addToKey 2022-02-24 18:10:40 +00:00
sksl [canvaskit] Add skottie to Bazel build 2022-02-04 19:18:27 +00:00
svg [infra] Experiment generating BUILD.bazel files 2021-11-23 18:53:16 +00:00
third_party [infra] Experiment generating BUILD.bazel files 2021-11-23 18:53:16 +00:00
utils Remove canvas marker stack, marked matrices, etc... 2021-12-09 16:22:16 +00:00
OWNERS Add Bazel folks as owners to BUILD.bazel files 2021-11-09 14:24:54 +00:00