Commit 568777cc authored by reed's avatar reed Committed by Commit bot

move build flags into chrome's SkUserConfig

BUG=

Review URL: https://codereview.chromium.org/587173008

Cr-Commit-Position: refs/heads/master@{#295971}
parent e2756241
......@@ -249,14 +249,47 @@ SK_API void SkDebugf_FileLine(const char* file, int line, bool fatal,
//
// Remove these as we update our sites.
//
#ifndef SK_SUPPORT_LEGACY_GETTOPDEVICE
#define SK_SUPPORT_LEGACY_GETTOPDEVICE
#ifndef SK_SUPPORT_LEGACY_GETTOPDEVICE
# define SK_SUPPORT_LEGACY_GETTOPDEVICE
#endif
#ifndef SK_SUPPORT_LEGACY_GETDEVICE
#define SK_SUPPORT_LEGACY_GETDEVICE
#ifndef SK_SUPPORT_LEGACY_GETDEVICE
# define SK_SUPPORT_LEGACY_GETDEVICE
#endif
#ifndef SK_SUPPORT_LEGACY_PUBLIC_IMAGEINFO_FIELDS
# define SK_SUPPORT_LEGACY_PUBLIC_IMAGEINFO_FIELDS
#endif
#ifndef SK_IGNORE_PROPER_FRACTIONAL_SCALING
# define SK_IGNORE_PROPER_FRACTIONAL_SCALING
#endif
#ifndef SK_SUPPORT_LEGACY_PICTURE_CLONE
# define SK_SUPPORT_LEGACY_PICTURE_CLONE
#endif
#ifndef SK_IGNORE_ETC1_SUPPORT
# define SK_IGNORE_ETC1_SUPPORT
#endif
#ifndef SK_IGNORE_GPU_DITHER
# define SK_IGNORE_GPU_DITHER
#endif
#ifndef SK_SUPPORT_LEGACY_IMAGECACHE_NAME
# define SK_SUPPORT_LEGACY_IMAGECACHE_NAME
#endif
#ifndef SK_LEGACY_PICTURE_SIZE_API
# define SK_LEGACY_PICTURE_SIZE_API
#endif
#ifndef SK_LEGACY_PICTURE_DRAW_API
# define SK_LEGACY_PICTURE_DRAW_API
#endif
// Turns SkPicture::clone() into a simple "return SkRef(this);" as a way to
// test the threadsafety of SkPicture playback.
#define SK_PICTURE_CLONE_NOOP 1
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment