aboutsummaryrefslogtreecommitdiffhomepage
path: root/tests/GpuBitmapCopyTest.cpp
diff options
context:
space:
mode:
authorGravatar scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-22 15:14:43 +0000
committerGravatar scroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>2012-08-22 15:14:43 +0000
commit825bb95d6aac49abcdec76314498e1913b2104f2 (patch)
treebb6bd45d9d198be8914693d04891b7a01060cf90 /tests/GpuBitmapCopyTest.cpp
parentd5764e8ab731dd12df9293e52ce644eaa45333bd (diff)
Fix GPU-less build.
Review URL: https://codereview.appspot.com/6478046 git-svn-id: http://skia.googlecode.com/svn/trunk@5228 2bbb7eff-a529-9590-31e7-b0007b416f81
Diffstat (limited to 'tests/GpuBitmapCopyTest.cpp')
-rw-r--r--tests/GpuBitmapCopyTest.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/GpuBitmapCopyTest.cpp b/tests/GpuBitmapCopyTest.cpp
index df05f406c4..03890480c2 100644
--- a/tests/GpuBitmapCopyTest.cpp
+++ b/tests/GpuBitmapCopyTest.cpp
@@ -6,6 +6,8 @@
* found in the LICENSE file.
*/
+#if SK_SUPPORT_GPU
+
#include "GrContext.h"
#include "SkBitmap.h"
#include "SkGpuDevice.h"
@@ -106,3 +108,5 @@ static void TestGpuBitmapCopy(skiatest::Reporter* reporter, GrContext* grContext
#include "TestClassDef.h"
DEFINE_GPUTESTCLASS("GpuBitmapCopy", TestGpuBitmapCopyClass, TestGpuBitmapCopy)
+
+#endif