skia2/infra
Leon Scroggins III 94aaf7cdf5 Split building encoding from decoding
Bug: skia:9756

In CanvasKit, a large part of the binary is for encoding. Clients
would be happier with a smaller binary and no webp/jpeg encoding. Make
this an option by splitting up the GN arguments.

Split SK_HAS_WEBP_LIBRARY into SK_CODEC_DECODES_WEBP (to match the
existing SK_CODEC_DECODES_RAW) and SK_ENCODE_WEBP. Same for JPEG and
PNG.

Update CanvasKit compile script to disable webp and jpeg encoding.
Update debugger compile script to disable all encoding.

Change IsPng signature to match other SkCodecs.

Change-Id: Iec8466ee1b76bc3d1e377c24201068b776cd7718
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/273768
Commit-Queue: Leon Scroggins <scroggo@google.com>
Reviewed-by: Derek Sollenberger <djsollen@google.com>
Reviewed-by: Kevin Lubick <kjlubick@google.com>
Reviewed-by: Nathaniel Nifong <nifong@google.com>
2020-03-06 18:50:40 +00:00
..
bots Split building encoding from decoding 2020-03-06 18:50:40 +00:00
canvaskit [canvaskit] Update build script to support latest Emscripten 2020-01-28 15:41:58 +00:00
cmake [infra] Change CMake build to use a temporary directory 2020-01-14 11:41:55 +00:00
config Roll recipe dependencies (trivial). 2020-03-02 22:51:39 +00:00
cross-compile/docker/cross-linux-arm64 Add dockerfile to cross-compile for arm64 linux 2019-02-20 19:04:11 +00:00
cts [infra] Update infra dep 2020-01-27 19:48:46 +00:00
gcc Remove Build-Ubuntu18-GCC job 2019-11-21 22:40:32 +00:00
lottiecap Update gold aggregators to use new struct 2019-09-30 14:30:48 +00:00
pathkit [canvaskit] Update build script to support latest Emscripten 2020-01-28 15:41:58 +00:00
project-config Delete swarm_trigger recipe 2016-12-13 12:53:00 +00:00
skqp Update skqp's Android NDK to r20 2019-07-03 20:45:24 +00:00
wasm-common [canvaskit] Update build script to support latest Emscripten 2020-01-28 15:41:58 +00:00
README.md Added CQ config to skia repo 2015-06-08 05:12:56 -07:00

This directory contains infra-specific files. The branch-config/ directory contains configs that are specific to the master branch (e.g. config for the CQ committing to the master branch), while project-config/ directory contains project-wide configuration (e.g. list of buckets for cr-buildbucket service and list of refs known to the infra services).