Commit 57edbb03 authored by tony@chromium.org's avatar tony@chromium.org

2011-03-25 Tony Chang <tony@chromium.org>

        Try to fix the chromium mac build.
        We used the mac FontPlatformData on chromium mac.

        * WebCore.gyp/WebCore.gyp:
        * WebCore.gypi:
        * platform/graphics/FontPlatformData.h:

git-svn-id: svn://svn.chromium.org/blink/trunk@81988 bbb929c8-8fbe-4397-9dbb-9b2b20218538
parent a74353d4
2011-03-25 Tony Chang <tony@chromium.org>
Try to fix the chromium mac build.
We used the mac FontPlatformData on chromium mac.
* WebCore.gyp/WebCore.gyp:
* WebCore.gypi:
* platform/graphics/FontPlatformData.h:
2011-03-25 Tony Chang <tony@chromium.org>
Build fix:
......@@ -1363,6 +1363,12 @@
# Again, Skia is not used on Mac.
['exclude', 'platform/chromium/DragImageChromiumSkia\\.cpp$'],
],
},{ # OS!="mac"
'sources/': [
# FIXME: We will eventually compile this too, but for now it's
# only used on mac.
['exclude', 'platform/graphics/FontPlatformData\\.cpp$']
],
}],
['OS!="linux" and OS!="freebsd"', {
'sources/': [
......
......@@ -847,7 +847,6 @@
'platform/graphics/TextRun.h',
'platform/graphics/TypesettingFeatures.h',
'platform/graphics/cg/ImageBufferData.h',
'platform/graphics/cocoa/FontPlatformData.h',
'platform/graphics/mac/ColorMac.h',
'platform/graphics/mac/MediaPlayerProxy.h',
'platform/graphics/transforms/AffineTransform.h',
......@@ -3806,6 +3805,8 @@
'platform/graphics/FontFallbackList.cpp',
'platform/graphics/FontFamily.cpp',
'platform/graphics/FontFastPath.cpp',
'platform/graphics/FontPlatformData.cpp',
'platform/graphics/FontPlatformData.h',
'platform/graphics/GeneratedImage.cpp',
'platform/graphics/GeneratedImage.h',
'platform/graphics/GlyphPageTreeNode.cpp',
......@@ -3895,7 +3896,6 @@
'platform/graphics/cg/FloatPointCG.cpp',
'platform/graphics/cg/FloatRectCG.cpp',
'platform/graphics/cg/FloatSizeCG.cpp',
'platform/graphics/cg/FontPlatformData.h',
'platform/graphics/cg/GradientCG.cpp',
'platform/graphics/cg/GraphicsContext3DCG.cpp',
'platform/graphics/cg/GraphicsContextCG.cpp',
......
......@@ -23,7 +23,7 @@
*/
// FIXME: This is temporary until Chromium and QT switch to using this file.
#if PLATFORM(CHROMIUM)
#if PLATFORM(CHROMIUM) && !OS(DARWIN)
#include "chromium/FontPlatformData.h"
#elif PLATFORM(QT)
#include "qt/FontPlatformData.h"
......
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