Fix GPU-less build.

Unreviewed.



git-svn-id: http://skia.googlecode.com/svn/trunk@6554 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tests/ClipStackTest.cpp b/tests/ClipStackTest.cpp
index cdb4de0..ac423ed 100644
--- a/tests/ClipStackTest.cpp
+++ b/tests/ClipStackTest.cpp
@@ -6,7 +6,9 @@
  * found in the LICENSE file.
  */
 #include "Test.h"
-#include "GrClipMaskManager.h"
+#if SK_SUPPORT_GPU
+    #include "GrClipMaskManager.h"
+#endif
 #include "SkClipStack.h"
 #include "SkPath.h"
 #include "SkRandom.h"
@@ -644,6 +646,8 @@
 
 ///////////////////////////////////////////////////////////////////////////////////////////////////
 
+#if SK_SUPPORT_GPU
+
 typedef void (*AddElementFunc) (const SkRect& rect, bool aa, SkRegion::Op op, SkClipStack* stack);
 
 static void add_round_rect(const SkRect& rect, bool aa, SkRegion::Op op, SkClipStack* stack) {
@@ -833,6 +837,7 @@
     }
 }
 
+#endif
 ///////////////////////////////////////////////////////////////////////////////////////////////////
 
 static void TestClipStack(skiatest::Reporter* reporter) {