Print the file being deserialized before deserializing.
authorscroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 28 Jun 2013 17:52:53 +0000 (17:52 +0000)
committerscroggo@google.com <scroggo@google.com@2bbb7eff-a529-9590-31e7-b0007b416f81>
Fri, 28 Jun 2013 17:52:53 +0000 (17:52 +0000)
That way it is easier to tell which file failed.

R=edisonn@google.com

Review URL: https://codereview.chromium.org/18219002

git-svn-id: http://skia.googlecode.com/svn/trunk@9811 2bbb7eff-a529-9590-31e7-b0007b416f81

tools/render_pictures_main.cpp

index f06cfeb..4a7e708 100644 (file)
@@ -149,6 +149,8 @@ static bool render_picture(const SkString& inputPath, const SkString* outputDir,
         return false;
     }
 
+    SkDebugf("deserializing... %s\n", inputPath.c_str());
+
     bool success = false;
     SkPicture* picture;
     if (FLAGS_deferImageDecoding) {