Go to file
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
bazel [bazel] Re-implement IWYU enforcement 2022-06-06 14:29:47 +00:00
bench Reduce SkGlyphRunPainter.h includes 2022-05-26 14:32:19 +00:00
bin Update SKPs documentation link 2022-05-18 15:21:44 +00:00
build/fuchsia [fuchsia] Fix fidlc command. 2020-06-10 03:29:24 +00:00
build_overrides Set dawn_vulkan_tools_dir in Dawn's GN overrides 2022-04-14 17:05:33 +00:00
client_utils/android Revert "Move SkCamera.h to client_utils/android" 2022-04-25 12:33:01 +00:00
demos.skia.org [canvaskit] Add in fillText to spreadsheet demo for comparison 2022-02-15 15:35:43 +00:00
dm [graphite] remove 'testPrecompile' from Graphite config options 2022-06-06 14:16:39 +00:00
docker Force removal of broken symlink that ships with Perfetto 2022-05-25 21:27:30 +00:00
docs/examples Reland "Add kR8_unorm_SkColorType" 2022-02-10 18:00:19 +00:00
example [bazel] Add "skia_internal" target that exposes private API for tests/tools. 2022-06-02 11:23:50 +00:00
experimental [bazel] Add "skia_internal" target that exposes private API for tests/tools. 2022-06-02 11:23:50 +00:00
fuzz Run SkSL unit tests with optimizations disabled. 2022-05-11 14:38:07 +00:00
gm Finish uniform support for SkMesh. 2022-06-03 18:41:11 +00:00
gn Add unit test covering struct field folding. 2022-06-06 14:09:32 +00:00
include [includes] Apply include-what-you-use to sksl/ 2022-06-06 13:49:27 +00:00
infra Fix checks for vk ycbcr helper support in tests. 2022-06-06 14:23:18 +00:00
modules [canvaskit] Deploy v0.34.1 2022-06-02 17:41:31 +00:00
platform_tools Fix bug where SkQP test that are always to be excluded are not. 2022-04-29 20:26:54 +00:00
resources Add unit test covering struct field folding. 2022-06-06 14:09:32 +00:00
samplecode Remove SkNx entirely 2022-05-24 15:57:57 +00:00
site [bazel] Delete gazelle-based BUILD.bazel files 2022-05-31 14:14:54 +00:00
specs [infra] Port serve.py from Python2 to 3 2021-08-31 15:28:19 +00:00
src Remove unused 'isConstantOrUniform' method from Expression. 2022-06-06 14:14:39 +00:00
tests Add unit test covering struct field folding. 2022-06-06 14:09:32 +00:00
third_party [bazel] Add 4 CI jobs, 1 CQ job to test Bazel builds 2022-06-02 12:36:28 +00:00
toolchain [bazel] Re-implement IWYU enforcement 2022-06-06 14:29:47 +00:00
tools Fix checks for vk ycbcr helper support in tests. 2022-06-06 14:23:18 +00:00
.bazelrc [bazel] Add in hierarchical filegroup Bazel rules. 2022-05-31 14:14:54 +00:00
.bazelversion [canvaskit] Add skottie to Bazel build 2022-02-04 19:18:27 +00:00
.clang-format no more bin packing in .clang-format 2021-03-04 17:22:50 +00:00
.clang-tidy Disable ClangTidy namespace comments for short blocks. 2020-08-24 14:01:22 +00:00
.gitignore [infra] Add BazelBuild task to build CanvasKit on the CI with Bazel 2022-05-06 17:54:08 +00:00
.gn Add support for ANGLE's Metal backend 2022-04-28 19:53:18 +00:00
.vpython [python3] Reland recipes -> python3 changes 2021-12-01 13:04:03 +00:00
AUTHORS Add mike@reedtribe.org to AUTHORS 2022-05-19 12:49:11 +00:00
BUILD.bazel [bazel] Add "skia_internal" target that exposes private API for tests/tools. 2022-06-02 11:23:50 +00:00
BUILD.gn Revert "Add Perfetto library (gn & bazel) and bare-bones SkPerfTrace class" 2022-05-26 16:21:27 +00:00
codereview.settings Make uploading to Gerrit the default for Skia 2016-11-09 19:07:56 +00:00
CONTRIBUTING
CQ_COMMITTERS Moved committer list to chrome-infra-auth and deleted it from the repo 2015-09-02 13:37:54 -07:00
DEPS Roll vulkan-deps from 05b48d0a0740 to 7aa9b8dad8d1 (1 revision) 2022-06-06 11:08:02 +00:00
DIR_METADATA Move metadata in OWNERS files to DIR_METADATA files 2021-02-02 23:41:54 +00:00
go_repositories.bzl [infra] Update dep of infra repo 2022-04-28 13:20:10 +00:00
go.mod [infra] Update dep of infra repo 2022-04-28 13:20:10 +00:00
go.sum [infra] Fix go.sum 2022-04-28 18:01:34 +00:00
LICENSE LICENSE file: clean up 2019-11-22 21:59:03 +00:00
OWNERS [infra] Add wildcard OWNERS 2021-08-30 19:19:34 +00:00
OWNERS.android Update OWNERS.android with more details 2022-03-16 18:13:33 +00:00
package-lock.json [bazel] Make custom karma_test rule 2022-02-23 14:53:01 +00:00
package.json [bazel] Make custom karma_test rule 2022-02-23 14:53:01 +00:00
PRESUBMIT.py [bazel] Add Presubmit exception for public.bzl 2022-06-02 19:45:05 +00:00
public.bzl Migrate Analysis::IsTrivialExpression to its own cpp. 2022-06-02 20:39:08 +00:00
README
README.chromium Update README.chromium. 2015-06-11 13:19:24 -07:00
RELEASE_NOTES.txt Add SkSurfaceProps parameter to several APIs 2022-06-02 13:12:33 +00:00
requirements.txt Added expected hash for MarkupSafe for the MacOS platform with the M1 chip 2022-05-19 17:54:32 +00:00
whitespace.txt Push shaders.skia.org. 2022-01-19 21:46:16 +00:00
WORKSPACE.bazel [bazel] Move remaining codec build rules to //bazel/external 2022-06-01 19:12:14 +00:00

Skia is a complete 2D graphic library for drawing Text, Geometries, and Images.

See full details, and build instructions, at https://skia.org.