From cf8fb1f6f03fc77f9927564f9ef9abeeeec508d2 Mon Sep 17 00:00:00 2001 From: "bsalomon@google.com" Date: Thu, 2 Aug 2012 14:03:32 +0000 Subject: Create GPU-less build of Skia. git-svn-id: http://skia.googlecode.com/svn/trunk@4912 2bbb7eff-a529-9590-31e7-b0007b416f81 --- bench/GrMemoryPoolBench.cpp | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'bench/GrMemoryPoolBench.cpp') diff --git a/bench/GrMemoryPoolBench.cpp b/bench/GrMemoryPoolBench.cpp index 2fad7fcf4d..98fd6e5bde 100644 --- a/bench/GrMemoryPoolBench.cpp +++ b/bench/GrMemoryPoolBench.cpp @@ -5,6 +5,9 @@ * found in the LICENSE file. */ +// This tests a Gr class +#if SK_SUPPORT_GPU + #include "GrMemoryPool.h" #include "SkBenchmark.h" #include "SkRandom.h" @@ -162,3 +165,4 @@ static BenchRegistry gReg01(Fact1); static BenchRegistry gReg02(Fact2); static BenchRegistry gReg03(Fact3); +#endif -- cgit v1.2.3