SkPDF: clean up overuse of SK_SUPPORT_PDF
authorhalcanary <halcanary@google.com>
Tue, 11 Aug 2015 20:35:12 +0000 (13:35 -0700)
committerCommit bot <commit-bot@chromium.org>
Tue, 11 Aug 2015 20:35:12 +0000 (13:35 -0700)
commit2ccdb636e8618db77be8e05cdacd82c249c6898c
tree2cf6f3fc1e2dc9cdc15645415a415cf7481244cd
parentfcaaadee711a93d601ccc9f0b47d744e22c35205
SkPDF: clean up overuse of SK_SUPPORT_PDF

When possible use run-time checks (via SkDocument::CreatePDF)
When PDF is disabled, do not compile tests/PDF*.cpp

Review URL: https://codereview.chromium.org/1278403006
17 files changed:
gyp/tests.gypi
tests/AnnotationTest.cpp
tests/CanvasTest.cpp
tests/DeflateWStream.cpp [deleted file]
tests/DocumentTest.cpp [deleted file]
tests/FlateTest.cpp [deleted file]
tests/PDFDeflateWStreamTest.cpp [new file with mode: 0644]
tests/PDFDocumentTest.cpp [new file with mode: 0644]
tests/PDFFlateTest.cpp [new file with mode: 0644]
tests/PDFGlyphsToUnicodeTest.cpp [new file with mode: 0644]
tests/PDFInvalidBitmapTest.cpp
tests/PDFJpegEmbedTest.cpp
tests/PDFOpaqueSrcModeToSrcOverTest.cpp [new file with mode: 0644]
tests/PDFPrimitivesTest.cpp
tests/Test.h
tests/ToUnicodeTest.cpp [deleted file]
tests/skpdf_opaquesrcmodetosrcover.cpp [deleted file]