diff options
-rw-r--r-- | gm/texdata.cpp | 3 | ||||
-rw-r--r-- | tests/ClipCacheTest.cpp | 4 | ||||
-rwxr-xr-x | tests/GLInterfaceValidation.cpp | 3 | ||||
-rw-r--r-- | tests/GrMemoryPoolTest.cpp | 3 |
4 files changed, 6 insertions, 7 deletions
diff --git a/gm/texdata.cpp b/gm/texdata.cpp index 2c9b6eda53..927ee170c3 100644 --- a/gm/texdata.cpp +++ b/gm/texdata.cpp @@ -7,9 +7,10 @@ */ // This test only works with the GPU backend. -#if SK_SUPPORT_GPU #include "gm.h" + +#if SK_SUPPORT_GPU #include "GrContext.h" #include "effects/GrSingleTextureEffect.h" #include "SkColorPriv.h" diff --git a/tests/ClipCacheTest.cpp b/tests/ClipCacheTest.cpp index db6ffd0631..b0be2f15ab 100644 --- a/tests/ClipCacheTest.cpp +++ b/tests/ClipCacheTest.cpp @@ -6,11 +6,9 @@ */ +#include "Test.h" // This is a GR test - #if SK_SUPPORT_GPU - -#include "Test.h" #include "SkGpuDevice.h" #include "../../src/gpu/GrClipMaskManager.h" diff --git a/tests/GLInterfaceValidation.cpp b/tests/GLInterfaceValidation.cpp index 881a4c9f19..c49de3e2e9 100755 --- a/tests/GLInterfaceValidation.cpp +++ b/tests/GLInterfaceValidation.cpp @@ -7,10 +7,11 @@ */ + +#include "Test.h" // This is a GPU-backend specific test #if SK_SUPPORT_GPU -#include "Test.h" #if SK_ANGLE #include "gl/SkANGLEGLContext.h" #endif diff --git a/tests/GrMemoryPoolTest.cpp b/tests/GrMemoryPoolTest.cpp index 6c14dbe68c..17ff69dc51 100644 --- a/tests/GrMemoryPoolTest.cpp +++ b/tests/GrMemoryPoolTest.cpp @@ -5,10 +5,9 @@ * found in the LICENSE file. */ +#include "Test.h" // This is a GPU-backend specific test #if SK_SUPPORT_GPU - -#include "Test.h" #include "GrMemoryPool.h" #include "SkRandom.h" #include "SkTDArray.h" |