skia2/infra/bots/recipe_modules/build
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
..
examples Split building encoding from decoding 2020-03-06 18:50:40 +00:00
resources Add Debian10 GCC Docker Build 2019-11-19 18:50:29 +00:00
__init__.py Use docker recipe module for Docker Build 2019-11-19 18:54:49 +00:00
android.py Add arm64 Wuffs perf bots 2019-11-20 18:56:51 +00:00
api.py Remove chromecast jobs 2020-02-13 19:51:12 +00:00
canvaskit.py [canvaskit] Update build script to support latest Emscripten 2020-01-28 15:41:58 +00:00
chromebook.py test for c++17 w/ c++14 stdlib 2019-12-10 22:22:30 +00:00
cmake.py Reduce bandwidth to RPIs 2019-10-04 14:50:49 +00:00
default.py Split building encoding from decoding 2020-03-06 18:50:40 +00:00
docker.py add -O1 to debug docker builds 2020-02-10 22:23:44 +00:00
flutter.py Reduce bandwidth to RPIs 2019-10-04 14:50:49 +00:00
pathkit.py [canvaskit] Update build script to support latest Emscripten 2020-01-28 15:41:58 +00:00
skqp.py Reduce bandwidth to RPIs 2019-10-04 14:50:49 +00:00
util.py Remove skiaserve as build output 2019-10-04 16:41:19 +00:00