skia2/bazel
Kevin Lubick 590d3cc8f7 [bazel] Re-implement IWYU enforcement
Instead of having a feature that a subpackage cc_library
would set (because the subpackage cc_libraries went away in
review.skia.org/543977), we now have a list of directories
for which all descendent files will have IWYU run on them.

As before, we have an overarching feature "skia_enforce_iwyu"
that enables this check because of the extra compilation
overhead it incurs.

We have decided to enforce IWYU on debug builds instead of
release builds because we have some code (e.g. that in
SkDEBUGCODE or SkASSERT) which is only compiled and executed
in a debug build, but we don't want to have
#if defined(SK_DEBUG)
all over the place. We make the assumption that the includes
needed to compile in debug mode are the superset of the
includes necessary for release and other modes.

Change-Id: I10254fcc162627c20eb89959e06417effa3cc396
Bug: skia:12541 skia:13052
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/546607
Reviewed-by: Ben Wagner <bungeman@google.com>
2022-06-06 14:29:47 +00:00
..
common_config_settings [bazel] Add in hierarchical filegroup Bazel rules. 2022-05-31 14:14:54 +00:00
external Manually Roll Dawn from 232abaefc35d to c3c3bf538f07 (10 revisions) 2022-06-03 13:53:38 +00:00
gcs_mirror [gcs_mirror] Add support for URLs ending with ".tgz". 2022-06-03 11:51:43 +00:00
rbe [bazel] Run buildifier on BUILD.bazel files 2022-04-14 18:13:43 +00:00
user [infra] Add BazelBuild task to build CanvasKit on the CI with Bazel 2022-05-06 17:54:08 +00:00
BUILD.bazel [sksl][wgsl] Enable WGSL validation using Tint 2022-05-17 18:25:01 +00:00
buildrc [bazel] Re-implement IWYU enforcement 2022-06-06 14:29:47 +00:00
cc_binary_with_flags.bzl [bazel] Add in hierarchical filegroup Bazel rules. 2022-05-31 14:14:54 +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] Re-implement IWYU enforcement 2022-06-06 14:29:47 +00:00
Makefile [bazel] Add "skia_internal" target that exposes private API for tests/tools. 2022-06-02 11:23:50 +00:00