Commit b795f2d9 authored by Leon Scroggins III's avatar Leon Scroggins III Committed by Commit Bot

Update Skia build file for Skia build change

Bug: skia:9756

https://skia-review.googlesource.com/c/skia/+/273768 splits
SK_HAS_***_LIBRARY into separate defines for encoding and decoding.
Split them up here, too. The old defines can be removed once the Skia CL
lands.

No behavior change.

Change-Id: Iabf5a1e7692fa5077ddd06a28bdc442f463e021e
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2078745Reviewed-by: default avatarBrian Salomon <bsalomon@google.com>
Commit-Queue: Leon Scroggins <scroggo@google.com>
Cr-Commit-Position: refs/heads/master@{#745533}
parent cde82916
......@@ -57,6 +57,13 @@ config("skia_config") {
}
defines = [
"SK_CODEC_DECODES_PNG",
"SK_CODEC_DECODES_WEBP",
"SK_ENCODE_PNG",
"SK_ENCODE_WEBP",
# TODO (scroggo): skbug.com/9756 Once https://skia-review.googlesource.com/c/skia/+/273768
# lands, these can be removed.
"SK_HAS_PNG_LIBRARY",
"SK_HAS_WEBP_LIBRARY",
"SK_USER_CONFIG_HEADER=\"../../skia/config/SkUserConfig.h\"",
......@@ -67,7 +74,14 @@ config("skia_config") {
}
if (!is_ios) {
defines += [ "SK_HAS_JPEG_LIBRARY" ]
defines += [
"SK_CODEC_DECODES_JPEG",
"SK_ENCODE_JPEG",
# TODO (scroggo): skbug.com/9756 Once https://skia-review.googlesource.com/c/skia/+/273768
# lands, this can be removed.
"SK_HAS_JPEG_LIBRARY",
]
if (enable_skia_wuffs_gif) {
defines += [ "SK_HAS_WUFFS_LIBRARY" ]
} else {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment