diff options
author | reed@google.com <reed@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-30 21:41:30 +0000 |
---|---|---|
committer | reed@google.com <reed@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-30 21:41:30 +0000 |
commit | d608503dd6808f4e77d49aa7518f25bbd19ba95d (patch) | |
tree | b90a23bdeba6e3f00c60ee36585b30a547a14b39 /skia | |
parent | 4e0d959e846867e70dba012ec8511464b5faa247 (diff) | |
download | chromium_src-d608503dd6808f4e77d49aa7518f25bbd19ba95d.zip chromium_src-d608503dd6808f4e77d49aa7518f25bbd19ba95d.tar.gz chromium_src-d608503dd6808f4e77d49aa7518f25bbd19ba95d.tar.bz2 |
add flags from skia_for_chromium_defines.gypi to userconfig
This will allow us to remove these flags from the gypi, making it easier to
iterate in chrome and know when we can remove them.
BUG=
Review URL: https://codereview.chromium.org/336903008
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@280671 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'skia')
-rw-r--r-- | skia/config/SkUserConfig.h | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/skia/config/SkUserConfig.h b/skia/config/SkUserConfig.h index 052c5c1..4e99d1d 100644 --- a/skia/config/SkUserConfig.h +++ b/skia/config/SkUserConfig.h @@ -244,6 +244,27 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal, # endif #endif +// These flags are no longer defined in Skia, but we have them (temporarily) +// until we update our call-sites (typically these are for API changes). +// +// Remove these as we update our sites. +// +#ifndef SK_SUPPORT_LEGACY_GETTOPDEVICE + #define SK_SUPPORT_LEGACY_GETTOPDEVICE +#endif + +#ifndef SK_SUPPORT_LEGACY_BITMAP_CONFIG + #define SK_SUPPORT_LEGACY_BITMAP_CONFIG +#endif + +#ifndef SK_SUPPORT_LEGACY_N32_NAME + #define SK_SUPPORT_LEGACY_N32_NAME +#endif + +#ifndef SK_SUPPORT_LEGACY_SETCONFIG + #define SK_SUPPORT_LEGACY_SETCONFIG +#endif + // ===== End Chrome-specific definitions ===== #endif |