skia2/infra/bots/recipe_modules/build
Leon Scroggins III a77f30c7db Reland "Split building encoding from decoding"
This reverts commit 9d4b788807.
Copyright issue has been fixed in
https://skia-review.googlesource.com/c/skia/+/275998.

Original description:
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.

TBR=djsollen@google.com

Change-Id: Ic847bae0154e0a2922100b3f2ee14a077ee5635a
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/276007
Reviewed-by: Derek Sollenberger <djsollen@google.com>
Commit-Queue: Leon Scroggins <scroggo@google.com>
2020-03-09 20:21:19 +00:00
..
examples Reland "Split building encoding from decoding" 2020-03-09 20:21:19 +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 Reland "Split building encoding from decoding" 2020-03-09 20:21:19 +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