[reland] public.bzl: update to replace Gif with Wuffs

Original CL: https://review.skia.org/254578

Change-Id: I254e4e0d560f8772a6e2ca60209dca23384dadb8
Reviewed-on: https://skia-review.googlesource.com/c/skia/+/255819
Reviewed-by: Hal Canary <halcanary@google.com>
Commit-Queue: Hal Canary <halcanary@google.com>
This commit is contained in:
Hal Canary 2019-11-20 10:16:10 -05:00 committed by Skia Commit-Bot
parent 1cb05993af
commit b5c217b698

View File

@ -267,15 +267,14 @@ BASE_SRCS_ALL = struct(
def codec_srcs(limited):
"""Sources for the codecs. Excludes Raw, and Ico, Webp, and Png if limited."""
# TODO: Enable wuffs in Google3
exclude = ["src/codec/SkWuffsCodec.cpp", "src/codec/*Raw*.cpp"]
exclude = ["src/codec/*Raw*.cpp"]
if limited:
exclude += [
"src/codec/*Ico*.cpp",
"src/codec/*Webp*.cpp",
"src/codec/*Png*",
]
return native.glob(["src/codec/*.cpp", "third_party/gif/*.cpp"], exclude = exclude)
return native.glob(["src/codec/*.cpp"], exclude = exclude)
GL_SRCS_UNIX = struct(
include = [