Index: tools/viewer/Viewer.cpp |
diff --git a/tools/viewer/Viewer.cpp b/tools/viewer/Viewer.cpp |
index 3db858a02d0d2185f97a1094e9ebd75f1bc2bc8f..c1d08d1241563128b44127a925af4ecd36a43cc1 100644 |
--- a/tools/viewer/Viewer.cpp |
+++ b/tools/viewer/Viewer.cpp |
@@ -9,6 +9,7 @@ |
#include "GMSlide.h" |
#include "ImageSlide.h" |
+#include "Resources.h" |
#include "SampleSlide.h" |
#include "SKPSlide.h" |
@@ -138,6 +139,9 @@ Viewer::Viewer(int argc, char** argv, void* platformData) |
SkDebugf("\n"); |
SkCommandLineFlags::Parse(argc, argv); |
+#ifdef SK_BUILD_FOR_ANDROID |
+ SetResourcePath("/data/local/tmp/skia"); |
+#endif |
if (FLAGS_atrace) { |
SkEventTracer::SetInstance(new SkATrace()); |