Make missing resource message print the full expected path
Change-Id: I37ebbc57d1fe80e419e9d7978fd710c79da8d3fe
Reviewed-on: https://skia-review.googlesource.com/149983
Commit-Queue: Brian Salomon <bsalomon@google.com>
Commit-Queue: Derek Sollenberger <djsollen@google.com>
Auto-Submit: Brian Salomon <bsalomon@google.com>
Reviewed-by: Derek Sollenberger <djsollen@google.com>
diff --git a/tools/Resources.cpp b/tools/Resources.cpp
index 183a8d8..7574405 100644
--- a/tools/Resources.cpp
+++ b/tools/Resources.cpp
@@ -48,7 +48,7 @@
: SkData::MakeFromFileName(GetResourcePath(resource).c_str())) {
return data;
}
- SkDebugf("Resource \"%s\" not found.\n", resource);
+ SkDebugf("Resource \"%s\" not found.\n", GetResourcePath(resource).c_str());
#ifdef SK_TOOLS_REQUIRE_RESOURCES
SK_ABORT("missing resource");
#endif