Index: tests/Test.cpp |
diff --git a/tests/Test.cpp b/tests/Test.cpp |
index f6f2bdab3d751053f82d14811cb0840185af73dc..ab6a35c99db5bd56be5558ff84049a88da92fe96 100644 |
--- a/tests/Test.cpp |
+++ b/tests/Test.cpp |
@@ -11,6 +11,9 @@ |
#include "SkError.h" |
#include "SkString.h" |
#include "SkTime.h" |
+#if SK_SUPPORT_GPU |
+#include "GrContextFactory.h" |
+#endif |
DEFINE_string2(tmpDir, t, nullptr, "Temp directory to use."); |
@@ -36,3 +39,4 @@ SkString skiatest::GetTmpDir() { |
const char* tmpDir = FLAGS_tmpDir.isEmpty() ? nullptr : FLAGS_tmpDir[0]; |
return SkString(tmpDir); |
} |
+ |