summaryrefslogtreecommitdiffstats
path: root/webkit
diff options
context:
space:
mode:
authorpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-22 19:36:38 +0000
committerpinkerton@google.com <pinkerton@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-08-22 19:36:38 +0000
commitff601214f89613162994a884d5f183436bc2c978 (patch)
treeb7a667cddf23fccc70bf250b968c2756ef4fa269 /webkit
parent6244ce8896c0c128ffb1a50c79dcc39956b3ab4b (diff)
downloadchromium_src-ff601214f89613162994a884d5f183436bc2c978.zip
chromium_src-ff601214f89613162994a884d5f183436bc2c978.tar.gz
chromium_src-ff601214f89613162994a884d5f183436bc2c978.tar.bz2
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
Diffstat (limited to 'webkit')
-rw-r--r--webkit/pending/wtf/Platform.h8
1 files changed, 8 insertions, 0 deletions
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