Index: tests/ToUnicodeTest.cpp |
diff --git a/tests/ToUnicodeTest.cpp b/tests/ToUnicodeTest.cpp |
index 33fcc80ef7648a6e3ac075eb8a7d6841577dd3e5..4dcb2df0b215817d0d95e3b48ff2aebf44866b09 100644 |
--- a/tests/ToUnicodeTest.cpp |
+++ b/tests/ToUnicodeTest.cpp |
@@ -11,6 +11,8 @@ |
#include "SkStream.h" |
#include "Test.h" |
+#if SK_SUPPORT_PDF |
+ |
static bool stream_equals(const SkDynamicMemoryWStream& stream, size_t offset, |
const char* buffer, size_t len) { |
SkAutoDataUnref data(stream.copyToData()); |
@@ -178,3 +180,4 @@ endbfrange\n"; |
REPORTER_ASSERT(reporter, stream_equals(buffer2, 0, expectedResult2, |
buffer2.getOffset())); |
} |
+#endif // SK_SUPPORT_PDF |