Remove uses of GR_RELEASE.
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
This commit is contained in:
parent
106655efdf
commit
5651512aa3
@ -98,7 +98,6 @@
|
||||
'Release': {
|
||||
'defines': [
|
||||
'SK_RELEASE',
|
||||
'GR_RELEASE=1',
|
||||
],
|
||||
},
|
||||
'Release_Developer': {
|
||||
|
@ -85,16 +85,6 @@
|
||||
#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
|
||||
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
///////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
|
@ -25,10 +25,6 @@
|
||||
#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
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user