Instead of using GR_RELEASE new code should just use SK_RELEASE, like its
counterpart SK_DEBUG instead of GR_DEBUG.
R=bsalomon@google.com, robertphillips@google.com
Author: tfarina@chromium.org
Review URL: https://chromiumcodereview.appspot.com/
23479017
git-svn-id: http://skia.googlecode.com/svn/trunk@11070
2bbb7eff-a529-9590-31e7-
b0007b416f81
'Release': {
'defines': [
'SK_RELEASE',
- 'GR_RELEASE=1',
],
},
'Release_Developer': {
#endif
#endif
-#if !defined(SK_DEBUG) && !GR_RELEASE
- #ifdef NDEBUG
- #define GR_RELEASE 1
- #endif
-#endif
-
-#if defined(SK_DEBUG) && GR_RELEASE
- #error "cannot define both SK_DEBUG and GR_RELEASE"
-#endif
-
///////////////////////////////////////////////////////////////////////////////
///////////////////////////////////////////////////////////////////////////////
#include "SkRegion.h"
#include "SkClipStack.h"
-#if (GR_RELEASE && defined(SK_DEBUG))
-// #error "inconsistent GR_RELEASE and SK_DEBUG"
-#endif
-
////////////////////////////////////////////////////////////////////////////////
// Sk to Gr Type conversions