diff options
author | 2012-08-22 15:14:43 +0000 | |
---|---|---|
committer | 2012-08-22 15:14:43 +0000 | |
commit | 825bb95d6aac49abcdec76314498e1913b2104f2 (patch) | |
tree | bb6bd45d9d198be8914693d04891b7a01060cf90 /tests/GpuBitmapCopyTest.cpp | |
parent | d5764e8ab731dd12df9293e52ce644eaa45333bd (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.cpp | 4 |
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 |