From 6f6961ebad65c582318564b3688e78e5c99f3935 Mon Sep 17 00:00:00 2001 From: Hal Canary Date: Tue, 31 Jan 2017 13:50:44 -0500 Subject: make GR_TEST_UTILS=0 work Change-Id: Icce35140ca08b65217b32e6b1ffc6ad2f38ab37f Reviewed-on: https://skia-review.googlesource.com/7840 Reviewed-by: Brian Salomon Commit-Queue: Hal Canary --- src/effects/GrAlphaThresholdFragmentProcessor.cpp | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/effects/GrAlphaThresholdFragmentProcessor.cpp') diff --git a/src/effects/GrAlphaThresholdFragmentProcessor.cpp b/src/effects/GrAlphaThresholdFragmentProcessor.cpp index 8f9e45dc2b..a18fb9c1e9 100644 --- a/src/effects/GrAlphaThresholdFragmentProcessor.cpp +++ b/src/effects/GrAlphaThresholdFragmentProcessor.cpp @@ -170,6 +170,7 @@ void GrGLAlphaThresholdFragmentProcessor::onSetData(const GrGLSLProgramDataManag GR_DEFINE_FRAGMENT_PROCESSOR_TEST(GrAlphaThresholdFragmentProcessor); +#if GR_TEST_UTILS sk_sp GrAlphaThresholdFragmentProcessor::TestCreate(GrProcessorTestData* d) { GrTexture* bmpTex = d->fTextures[GrProcessorUnitTest::kSkiaPMTextureIdx]; GrTexture* maskTex = d->fTextures[GrProcessorUnitTest::kAlphaTextureIdx]; @@ -187,6 +188,7 @@ sk_sp GrAlphaThresholdFragmentProcessor::TestCreate(GrProce innerThresh, outerThresh, bounds); } +#endif /////////////////////////////////////////////////////////////////////////////// -- cgit v1.2.3