From efe46d20949efbc59bedd1f28e6f42a0dd069688 Mon Sep 17 00:00:00 2001 From: djsollen Date: Fri, 29 Apr 2016 06:41:35 -0700 Subject: Repurpose Release_Developer BUILDTYPE and remove SK_DEVELOPER. The Release_Developer build type is now used to build Skia with release level optimizations but still enable SK_DEBUG. This in turn means that SkASSERTS and SkRTConf are available in this mode. Further we can then remove SK_DEVELOPER as a define as it is true iff SK_DEBUG is true. GOLD_TRYBOT_URL= https://gold.skia.org/search2?unt=true&query=source_type%3Dgm&master=false&issue=1931903002 DOCS_PREVIEW= https://skia.org/?cl=1931903002 Review-Url: https://codereview.chromium.org/1931903002 --- include/core/SkTypes.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'include/core/SkTypes.h') diff --git a/include/core/SkTypes.h b/include/core/SkTypes.h index a94a59233f..f9d0c533d3 100644 --- a/include/core/SkTypes.h +++ b/include/core/SkTypes.h @@ -161,12 +161,6 @@ inline void operator delete(void* p) { // and if it's true the assert passes; if it's false, we'll print the message and the assert fails. #define SkASSERTF(cond, fmt, ...) SkASSERT((cond) || (SkDebugf(fmt"\n", __VA_ARGS__), false)) -#ifdef SK_DEVELOPER - #define SkDEVCODE(code) code -#else - #define SkDEVCODE(code) -#endif - #ifdef SK_IGNORE_TO_STRING #define SK_TO_STRING_NONVIRT() #define SK_TO_STRING_VIRT() -- cgit v1.2.3