Index: tests/PDFInvalidBitmapTest.cpp |
diff --git a/tests/PDFInvalidBitmapTest.cpp b/tests/PDFInvalidBitmapTest.cpp |
index 8a9b1fa132236c8412684e0eb6ba5713c20c3c58..6a547066d51140c3cd192796a423e291265849cd 100644 |
--- a/tests/PDFInvalidBitmapTest.cpp |
+++ b/tests/PDFInvalidBitmapTest.cpp |
@@ -15,6 +15,8 @@ |
#include "Test.h" |
+#if SK_SUPPORT_PDF |
+ |
namespace { |
// SkPixelRef which fails to lock, as a lazy pixel ref might if its pixels |
@@ -58,3 +60,4 @@ DEF_TEST(PDFInvalidBitmap, reporter) { |
// This test passes if it does not crash. |
} |
+#endif // SK_SUPPORT_PDF |