Allow debugger to be compiled without Ganesh
https://codereview.appspot.com/7311084/
git-svn-id: http://skia.googlecode.com/svn/trunk@7710 2bbb7eff-a529-9590-31e7-b0007b416f81
diff --git a/tools/PictureRenderer.h b/tools/PictureRenderer.h
index 0e4134f..b054a54 100644
--- a/tools/PictureRenderer.h
+++ b/tools/PictureRenderer.h
@@ -195,8 +195,8 @@
} else if (kTileGrid_BBoxHierarchyType == fBBoxHierarchyType) {
config.append("_grid");
}
- switch (fDeviceType) {
#if SK_SUPPORT_GPU
+ switch (fDeviceType) {
case kGPU_DeviceType:
config.append("_gpu");
break;
@@ -205,11 +205,11 @@
config.append("_angle");
break;
#endif
-#endif
default:
// Assume that no extra info means bitmap.
break;
}
+#endif
config.append(fDrawFiltersConfig.c_str());
return config;
}