Create GPU-less build of Skia.
git-svn-id: http://skia.googlecode.com/svn/trunk@4912 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/gm/texdata.cpp b/gm/texdata.cpp
index 1d13177..2c9b6ed 100644
--- a/gm/texdata.cpp
+++ b/gm/texdata.cpp
@@ -5,6 +5,10 @@
* Use of this source code is governed by a BSD-style license that can be
* found in the LICENSE file.
*/
+
+// This test only works with the GPU backend.
+#if SK_SUPPORT_GPU
+
#include "gm.h"
#include "GrContext.h"
#include "effects/GrSingleTextureEffect.h"
@@ -147,3 +151,4 @@
}
+#endif