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

Unified Diff: tests/YUVTest.cpp

Issue 1702533004: Individually enable and disable SkCodecs (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add missing WEBP check, disable codecs on Google3 iOS Created 4 years, 10 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
« tests/CodexTest.cpp ('K') | « tests/CodexTest.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: tests/YUVTest.cpp
diff --git a/tests/YUVTest.cpp b/tests/YUVTest.cpp
index 09b6f2a7ef6497a98f884c3cbdc267ac42849e8d..bb34a8dc88c5ae43798edb453a06d39a87d539ae 100644
--- a/tests/YUVTest.cpp
+++ b/tests/YUVTest.cpp
@@ -11,6 +11,8 @@
#include "SkTemplates.h"
#include "Test.h"
+#ifdef SK_CODEC_DECODES_JPEG
+
static SkStreamAsset* resource(const char path[]) {
SkString fullPath = GetResourcePath(path);
return SkStream::NewFromFile(fullPath.c_str());
@@ -119,3 +121,5 @@ DEF_TEST(Jpeg_YUV_Codec, r) {
// A PNG should fail.
codec_yuv(r, "arrow.png", nullptr);
}
+
+#endif
« tests/CodexTest.cpp ('K') | « tests/CodexTest.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698