From 5d58d09ae77d43b38c313b627bddda3ae944e830 Mon Sep 17 00:00:00 2001 From: Mike Klein Date: Thu, 8 Nov 2018 09:11:43 -0500 Subject: [PATCH] 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 Reviewed-by: Mike Klein --- public.bzl | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/public.bzl b/public.bzl index d3ea25110f..55be0541f4 100644 --- a/public.bzl +++ b/public.bzl @@ -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)