From 43fb7a014b785960e5892cadd0bd30c10328ae8a Mon Sep 17 00:00:00 2001 From: Hal Canary Date: Fri, 30 Dec 2016 13:09:03 -0500 Subject: BUILD.gn: skia_enable_pdf BUG=skia: Change-Id: Icf616bec73e81aad97815b519566ff5b9db611e3 Reviewed-on: https://skia-review.googlesource.com/6495 Commit-Queue: Hal Canary Reviewed-by: Mike Klein --- tests/PDFGlyphsToUnicodeTest.cpp | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'tests/PDFGlyphsToUnicodeTest.cpp') diff --git a/tests/PDFGlyphsToUnicodeTest.cpp b/tests/PDFGlyphsToUnicodeTest.cpp index 0d87cd7df2..332520bfb0 100644 --- a/tests/PDFGlyphsToUnicodeTest.cpp +++ b/tests/PDFGlyphsToUnicodeTest.cpp @@ -5,11 +5,14 @@ * found in the LICENSE file. */ +#include "Test.h" + +#ifdef SK_SUPPORT_PDF + #include "SkBitSet.h" #include "SkData.h" #include "SkPDFMakeToUnicodeCmap.h" #include "SkStream.h" -#include "Test.h" static const int kMaximumGlyphCount = SK_MaxU16 + 1; @@ -178,3 +181,5 @@ endbfrange\n"; REPORTER_ASSERT(reporter, stream_equals(buffer2, 0, expectedResult2, buffer2.bytesWritten())); } + +#endif -- cgit v1.2.3