exclude RAW codec code from Google3 build
Disabling SK_CODEC_DECODES_RAW seems to have gone fine. Change-Id: I81cefeb653d582872a4e25bba3d34c7ec1858db3 Reviewed-on: https://skia-review.googlesource.com/c/169680 Commit-Queue: Mike Klein <mtklein@google.com> Reviewed-by: Mike Klein <mtklein@google.com>
This commit is contained in:
parent
1379508a3a
commit
5d58d09ae7
@ -266,16 +266,15 @@ BASE_SRCS_ALL = struct(
|
||||
)
|
||||
|
||||
def codec_srcs(limited):
|
||||
"""Sources for the codecs. Excludes Ico, Webp, Png, and Raw if limited."""
|
||||
"""Sources for the codecs. Excludes Raw, and Ico, Webp, and Png if limited."""
|
||||
|
||||
# TODO: Enable wuffs in Google3
|
||||
exclude = ["src/codec/SkWuffsCodec.cpp"]
|
||||
exclude = ["src/codec/SkWuffsCodec.cpp", "src/codec/*Raw*.cpp"]
|
||||
if limited:
|
||||
exclude += [
|
||||
"src/codec/*Ico*.cpp",
|
||||
"src/codec/*Webp*.cpp",
|
||||
"src/codec/*Png*",
|
||||
"src/codec/*Raw*.cpp",
|
||||
]
|
||||
return native.glob(["src/codec/*.cpp", "third_party/gif/*.cpp"], exclude = exclude)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user