skia2/modules
Kevin Lubick 6bc4bdf645 [sksl] Make sksl tracing optional
This removes the required dependency on our JSON code. In the Bazel
rules, this dependency is pushed down into sksl instead of required
by the cc_binary rules.

It adds a stub version of SkVMDebugTrace.cpp and removes
SkVMDebugTracePlayer unless the appropriate GN or Bazel flag
is set (skia_enable_sksl_tracing and enable_sksl_tracing,
respectively). There was an existing #define that CanvasKit
used (CK_INCLUDE_SKSL_TRACE) and this was changed to
SKSL_ENABLE_TRACING.

Users of //:skia_core no longer need to specify a JSON dep,
if sksl needs it (e.g. for tracing), then it will specify
the dependency.

Change-Id: I2fcd29cde118fc391c269ba2d8f8a40a6f164c99
Bug: skia:12541
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/528837
Reviewed-by: John Stiles <johnstiles@google.com>
Commit-Queue: Kevin Lubick <kjlubick@google.com>
2022-04-11 15:22:41 +00:00
..
androidkit [includes] Prepare for moving SkColorSpace to forward declare 2022-03-31 19:50:10 +00:00
audioplayer implement SkAudioPLayer for Android 2020-12-15 00:12:48 +00:00
canvaskit [sksl] Make sksl tracing optional 2022-04-11 15:22:41 +00:00
particles [includes] Prepare for moving SkColorSpace to forward declare 2022-03-31 19:50:10 +00:00
pathkit Bump karma from 6.3.14 to 6.3.16 in /modules/pathkit 2022-03-02 14:36:39 +00:00
skottie [skottie] Remove legacy whitespace guard 2022-04-07 15:06:48 +00:00
skparagraph Simplify the most commont paint case 2022-04-08 14:20:38 +00:00
skplaintexteditor Reland "Add format-specifier warnings to SkDebugf." 2021-06-25 17:57:43 +00:00
skresources [canvaskit] Add skottie to Bazel build 2022-02-04 19:18:27 +00:00
sksg [includes] Prepare for moving SkColorSpace to forward declare 2022-03-31 19:50:10 +00:00
skshaper Cache hb_font instances for each typeface instead of hb_face 2022-03-28 21:19:36 +00:00
skunicode Avoid scanning for bidi levels if the paragraph is unidirectional 2022-01-06 17:39:50 +00:00
svg [includes] Prepare for moving SkColorSpace to forward declare 2022-03-31 19:50:10 +00:00
BUILD.bazel [infra] Experiment generating BUILD.bazel files 2021-11-23 18:53:16 +00:00