6c41bf55b7
Bug: b/167743764 Android's RenderEngine is now using Skia, but it doesn't need all the pieces of Skia used by HWUI. Make a smaller version of Skia that excludes many of those pieces, in particular where they bring in other dependencies: - codecs - text - pdf - xml Add a new cc_defaults to be shared by the new libskia_mini and libskia. Manually insert fexceptions into libskia, since it is only needed by SkRawCodec (not needed by mini). Add a new SkUserConfig for mini, so it can exclude defines like SK_CODEC_DECODES_PNG. Continue to link in libpng (and libz, which it depends on) and build SkPngEncoder, so that SKP captures can include compressed image files. Switching to the mini-skia reduces the size of surfaceflinger from 7.4M to 6.0M. Change-Id: I6843ee43457b5a0feb36ae88a59d1d61770a6247 Reviewed-on: https://skia-review.googlesource.com/c/skia/+/402257 Commit-Queue: Leon Scroggins <scroggo@google.com> Reviewed-by: Derek Sollenberger <djsollen@google.com> |
||
---|---|---|
animations | ||
bazel | ||
bench | ||
bin | ||
build/fuchsia | ||
build_overrides | ||
client_utils/android | ||
demos.skia.org | ||
dm | ||
docker | ||
docs/examples | ||
example | ||
experimental | ||
fuzz | ||
gm | ||
gn | ||
include | ||
infra | ||
modules | ||
platform_tools | ||
resources | ||
samplecode | ||
site | ||
specs | ||
src | ||
tests | ||
third_party | ||
tools | ||
.bazelignore | ||
.clang-format | ||
.clang-tidy | ||
.gitignore | ||
.gn | ||
AUTHORS | ||
BUILD.bazel | ||
BUILD.gn | ||
codereview.settings | ||
CONTRIBUTING | ||
CQ_COMMITTERS | ||
DEPS | ||
DIR_METADATA | ||
go.mod | ||
go.sum | ||
LICENSE | ||
PRESUBMIT.py | ||
public.bzl | ||
README | ||
README.chromium | ||
RELEASE_NOTES.txt | ||
whitespace.txt | ||
WORKSPACE.bazel |
Skia is a complete 2D graphic library for drawing Text, Geometries, and Images. See full details, and build instructions, at https://skia.org.