Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(76)

Unified Diff: tests/DeflateWStream.cpp

Issue 1279123007: SkPDF: allow PDF module to be disabled in DM and SampleApp (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: 2015-08-11 (Tuesday) 10:04:57 EDT : #if SK_SUPPORT_PDF Created 5 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: tests/DeflateWStream.cpp
diff --git a/tests/DeflateWStream.cpp b/tests/DeflateWStream.cpp
index b22574671b7f7259d87cfea9aa00f2958b919dbc..930ecb41441d55a3358845e7e7d22d3226dc72ee 100644
--- a/tests/DeflateWStream.cpp
+++ b/tests/DeflateWStream.cpp
@@ -9,6 +9,8 @@
#include "SkRandom.h"
#include "Test.h"
+#if SK_SUPPORT_PDF
+
DEF_TEST(SkDeflateWStream, r) {
SkRandom random(123456);
for (int i = 0; i < 50; ++i) {
@@ -70,3 +72,4 @@ DEF_TEST(SkDeflateWStream, r) {
}
}
}
+#endif // SK_SUPPORT_PDF
« samplecode/SampleApp.cpp ('K') | « tests/CanvasTest.cpp ('k') | tests/DocumentTest.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698