Index: include/config/SkUserConfig.h |
diff --git a/include/config/SkUserConfig.h b/include/config/SkUserConfig.h |
index a0f6258281400c25140a940ece5fcbd10f0fca7f..ff8a5f31541eb821df212f5e2ecafff52dca2979 100644 |
--- a/include/config/SkUserConfig.h |
+++ b/include/config/SkUserConfig.h |
@@ -57,6 +57,13 @@ |
*/ |
//#define SK_DEBUG_GLYPH_CACHE |
//#define SK_DEBUG_PATH |
+ |
+/* If, in debugging mode, Skia needs to stop (presumably to invoke a debugger) |
+ it will call SK_CRASH(). If this is not defined it, it is defined in |
+ SkPostConfig.h to write to an illegal address |
+ */ |
+//#define SK_CRASH() *(int *)(uintptr_t)0 = 0 |
+ |
/* preconfig will have attempted to determine the endianness of the system, |
but you can change these mutually exclusive flags here. |