Skip to content

Commit 5d58d09

Browse files
author
Mike Klein
committed
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>
1 parent 1379508 commit 5d58d09

1 file changed

Lines changed: 2 additions & 3 deletions

File tree

public.bzl

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -266,16 +266,15 @@ BASE_SRCS_ALL = struct(
266266
)
267267

268268
def codec_srcs(limited):
269-
"""Sources for the codecs. Excludes Ico, Webp, Png, and Raw if limited."""
269+
"""Sources for the codecs. Excludes Raw, and Ico, Webp, and Png if limited."""
270270

271271
# TODO: Enable wuffs in Google3
272-
exclude = ["src/codec/SkWuffsCodec.cpp"]
272+
exclude = ["src/codec/SkWuffsCodec.cpp", "src/codec/*Raw*.cpp"]
273273
if limited:
274274
exclude += [
275275
"src/codec/*Ico*.cpp",
276276
"src/codec/*Webp*.cpp",
277277
"src/codec/*Png*",
278-
"src/codec/*Raw*.cpp",
279278
]
280279
return native.glob(["src/codec/*.cpp", "third_party/gif/*.cpp"], exclude = exclude)
281280

0 commit comments

Comments
 (0)