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

Unified Diff: tests/PDFPrimitivesTest.cpp

Issue 2208743003: SkPDF: fewer GYP_DEFINES (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Created 4 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
« no previous file with comments | « gyp/pdf.gyp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/PDFPrimitivesTest.cpp
diff --git a/tests/PDFPrimitivesTest.cpp b/tests/PDFPrimitivesTest.cpp
index 6d89dd1585c8ad299dfe8d6a5abad22ab70cd026..554f1ee720a818503d40b7de31ec72f54c4bcd0c 100644
--- a/tests/PDFPrimitivesTest.cpp
+++ b/tests/PDFPrimitivesTest.cpp
@@ -114,10 +114,12 @@ static void TestPDFStream(skiatest::Reporter* reporter) {
expected.writeText("\nendstream");
sk_sp<SkData> expectedResultData2(expected.copyToData());
SkString result = emit_to_string(*stream);
+ #ifndef SK_PDF_LESS_COMPRESSION
mtklein 2016/08/03 19:28:45 ? Did this just also not work previously?
assert_eql(reporter,
result,
(const char*)expectedResultData2->data(),
expectedResultData2->size());
+ #endif
}
}
« no previous file with comments | « gyp/pdf.gyp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698