Skip to content

Commit

Permalink
exclude RAW codec code from Google3 build
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mike Klein committed Nov 8, 2018
1 parent 1379508 commit 5d58d09
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions public.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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)

Expand Down

0 comments on commit 5d58d09

Please sign in to comment.