diff options
author | Hal Canary <halcanary@google.com> | 2016-12-30 13:09:03 -0500 |
---|---|---|
committer | Skia Commit-Bot <skia-commit-bot@chromium.org> | 2017-01-03 14:25:12 +0000 |
commit | 43fb7a014b785960e5892cadd0bd30c10328ae8a (patch) | |
tree | 56e8e92beff152ee7c93761ad9540845c5933c6d /tests/PDFPrimitivesTest.cpp | |
parent | 34194690328b612557f06ecec99b232d41888d4b (diff) |
BUILD.gn: skia_enable_pdf
BUG=skia:
Change-Id: Icf616bec73e81aad97815b519566ff5b9db611e3
Reviewed-on: https://skia-review.googlesource.com/6495
Commit-Queue: Hal Canary <halcanary@google.com>
Reviewed-by: Mike Klein <mtklein@chromium.org>
Diffstat (limited to 'tests/PDFPrimitivesTest.cpp')
-rw-r--r-- | tests/PDFPrimitivesTest.cpp | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/PDFPrimitivesTest.cpp b/tests/PDFPrimitivesTest.cpp index 81b33ba3b7..de9af07d2f 100644 --- a/tests/PDFPrimitivesTest.cpp +++ b/tests/PDFPrimitivesTest.cpp @@ -5,6 +5,10 @@ * found in the LICENSE file. */ +#include "Test.h" + +#ifdef SK_SUPPORT_PDF + #include "Resources.h" #include "SkBitmap.h" #include "SkCanvas.h" @@ -24,7 +28,6 @@ #include "SkSpecialImage.h" #include "SkStream.h" #include "SkTypes.h" -#include "Test.h" #include "sk_tool_utils.h" #include <cstdlib> @@ -486,3 +489,4 @@ DEF_TEST(SkPDF_Primitives_Color, reporter) { REPORTER_ASSERT(reporter, roundTrip == i); } } +#endif |