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

Unified Diff: tools/viewer/Viewer.cpp

Issue 831333002: Rebase perspective gpu gm's after conic change (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Add support for resources on android Viewer Created 4 years, 1 month 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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());
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698