aboutsummaryrefslogtreecommitdiffhomepage
path: root/include/config
diff options
context:
space:
mode:
Diffstat (limited to 'include/config')
-rw-r--r--include/config/SkUserConfig.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/config/SkUserConfig.h b/include/config/SkUserConfig.h
index a0f6258281..ff8a5f3154 100644
--- a/include/config/SkUserConfig.h
+++ b/include/config/SkUserConfig.h
@@ -58,6 +58,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.
*/