From 7d974f5e4f8ded8834b58f560ac6e03aed370310 Mon Sep 17 00:00:00 2001 From: benjaminwagner Date: Mon, 19 Oct 2015 13:55:55 -0700 Subject: Modifications to get 'blaze build -c opt //third_party/skia/HEAD/...' to work. BUG=skia: Review URL: https://codereview.chromium.org/1413973002 --- tests/SRGBReadWritePixelsTest.cpp | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'tests/SRGBReadWritePixelsTest.cpp') diff --git a/tests/SRGBReadWritePixelsTest.cpp b/tests/SRGBReadWritePixelsTest.cpp index f0e747a400..7e0b721246 100644 --- a/tests/SRGBReadWritePixelsTest.cpp +++ b/tests/SRGBReadWritePixelsTest.cpp @@ -140,8 +140,14 @@ void read_and_check_pixels(skiatest::Reporter* reporter, GrTexture* texture, uin // TODO: Add tests for copySurface between srgb/linear textures. Add tests for unpremul/premul // conversion during read/write along with srgb/linear conversions. DEF_GPUTEST(SRGBReadWritePixels, reporter, factory) { +#if defined(GOOGLE3) + // Stack frame size is limited in GOOGLE3. + static const int kW = 63; + static const int kH = 63; +#else static const int kW = 255; static const int kH = 255; +#endif uint32_t origData[kW * kH]; for (int j = 0; j < kH; ++j) { for (int i = 0; i < kW; ++i) { -- cgit v1.2.3