From ff601214f89613162994a884d5f183436bc2c978 Mon Sep 17 00:00:00 2001 From: "pinkerton@google.com" Date: Fri, 22 Aug 2008 19:36:38 +0000 Subject: Introduce PLATFORM(CHROME) and turn on Skia for mac if we're building that platform. git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1235 0039d316-1c4b-4281-b951-d872f2087c98 --- webkit/pending/wtf/Platform.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'webkit') diff --git a/webkit/pending/wtf/Platform.h b/webkit/pending/wtf/Platform.h index 7cc89b0..7256d81 100644 --- a/webkit/pending/wtf/Platform.h +++ b/webkit/pending/wtf/Platform.h @@ -79,6 +79,11 @@ /* Operating environments */ +/* define a platform for chrome, requires |BUILDING_CHROME__| to be defined */ +#if defined(BUILDING_CHROME__) +#define WTF_PLATFORM_CHROME 1 +#endif + /* PLATFORM(QT) */ /* PLATFORM(GTK) */ /* PLATFORM(MAC) */ @@ -108,6 +113,9 @@ #if PLATFORM(MAC) #define WTF_PLATFORM_CG 1 #define WTF_PLATFORM_CI 1 +#if PLATFORM(CHROME) +#define WTF_PLATFORM_SKIA 1 +#endif #elif !PLATFORM(QT) && !PLATFORM(WX) #define WTF_PLATFORM_CAIRO 1 #endif -- cgit v1.1