956704b387
This adds targets which test our Dawn, GL, and Vulkan backends.
It follows the hierarchical filegroup pattern, as
outlined in https://skia-review.googlesource.com/c/skia/+/543977
Suggested Review order:
- tools/sk_app/BUILD.bazel. For many things in tools, I anticipate
they will depend on //:skia_core and other //tools targets.
sk_app shows this off, as well how to make the target
specific to a given platform and pull in the proper native code.
I'm trying out setting test_only = True, to see if we can
partition Skia's tests and helpers from the actual Skia library.
- other changes to //tools/, especially looking at sk_app's
dependencies.
- //example/BUILD.bazel. This uses the cc_binary_with_flags which
existed previously [1] to make it so people don't have to
specify all the flags for a given binary and can build it as is.
These targets nows how up in //bazel/Makefile
- //include/... and //src/..., where some typos from previous
CLs were fixed and rules expanded.
- Misc changes to .cpp files to remove unnecessary includes
that were assuming the GL backend was being compiled in.
- All other changes
[1]
|
||
---|---|---|
.. | ||
chromium | ||
gpu | ||
BUILD.bazel | ||
OWNERS | ||
SingleOwner.h | ||
SkBitmaskEnum.h | ||
SkChecksum.h | ||
SkColorData.h | ||
SkDeque.h | ||
SkEncodedInfo.h | ||
SkFixed.h | ||
SkFloatBits.h | ||
SkFloatingPoint.h | ||
SkHalf.h | ||
SkIDChangeListener.h | ||
SkImageInfoPriv.h | ||
SkMacros.h | ||
SkMalloc.h | ||
SkMutex.h | ||
SkNoncopyable.h | ||
SkOnce.h | ||
SkOpts_spi.h | ||
SkPathRef.h | ||
SkSafe32.h | ||
SkSafe_math.h | ||
SkSemaphore.h | ||
SkShadowFlags.h | ||
SkSLDefines.h | ||
SkSLIRNode.h | ||
SkSLLayout.h | ||
SkSLModifiers.h | ||
SkSLProgramElement.h | ||
SkSLProgramKind.h | ||
SkSLSampleUsage.h | ||
SkSLStatement.h | ||
SkSLString.h | ||
SkSLSymbol.h | ||
SkSpinlock.h | ||
SkStringView.h | ||
SkTArray.h | ||
SkTDArray.h | ||
SkTemplates.h | ||
SkTFitsIn.h | ||
SkTHash.h | ||
SkThreadAnnotations.h | ||
SkThreadID.h | ||
SkTLogic.h | ||
SkTo.h | ||
SkTPin.h | ||
SkUniquePaintParamsID.h | ||
SkVx.h | ||
SkWeakRefCnt.h |