skia2/bazel
Kevin Lubick 196b172650 [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.

This is a reland of https://skia-review.googlesource.com/c/skia/+/528837

Bug: skia:12541
Change-Id: I79612c69fdbefd3db9822a2b66df7552f7c13865
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/529278
Reviewed-by: John Stiles <johnstiles@google.com>
2022-04-12 13:59:25 +00:00
..
common_config_settings [sksl] Make sksl tracing optional 2022-04-12 13:59:25 +00:00
gcs_mirror [bazel] Make custom karma_test rule 2022-02-23 14:53:01 +00:00
rbe [bazel] Add RBE support using hermetic Linux Clang toolchain 2022-03-28 13:56:16 +00:00
BUILD.bazel [sksl] Make sksl tracing optional 2022-04-12 13:59:25 +00:00
cc_binary_with_flags.bzl [sksl] Make sksl tracing optional 2022-04-12 13:59:25 +00:00
karma_test.bzl [bazel] Make use of test_on_env to spin up server for gms 2022-02-28 14:05:54 +00:00
macros.bzl [bazel] Move vma down to //src/gpu 2022-04-06 18:06:08 +00:00
Makefile Reland "[graphite] Move Graphite into Skia base directories." 2022-04-11 18:37:20 +00:00