Index: Source/core/core.gyp |
diff --git a/Source/core/core.gyp b/Source/core/core.gyp |
index b1db46e3f071e85b8bce236a2fa2bb2ed8a78ebd..7412112b1fcbb5dee539565af9dcdb1ddfe0c4f8 100644 |
--- a/Source/core/core.gyp |
+++ b/Source/core/core.gyp |
@@ -747,10 +747,6 @@ |
['include', 'platform/graphics/opentype/'], |
['include', 'platform/graphics/skia/SkiaFontWin\\.(cpp|h)$'], |
- # Windows currently uses FontCustomPlatformDataWin.cpp instead. |
- ['exclude', 'platform/graphics/skia/FontCustomPlatformDataSkia\\.cpp$'], |
- ['include', 'platform/graphics/win/FontCustomPlatformDataWin\\.cpp$'], |
- |
# SystemInfo.cpp is useful and we don't want to copy it. |
['include', 'platform/win/SystemInfo\\.cpp$'], |
@@ -762,10 +758,12 @@ |
'conditions': [ |
['"ENABLE_GDI_FONTS_ON_WINDOWS=1" in feature_defines', { |
'sources/': [ |
+ ['include', 'platform/graphics/win/FontCustomPlatformDataWin\\.cpp$'], |
['exclude', 'platform/graphics/skia/SimpleFontDataSkia\\.cpp$'], |
['exclude', 'platform/graphics/skia/GlyphPageTreeNodeSkia\\.cpp$'], |
['exclude', 'platform/graphics/skia/FontCacheSkia\\.cpp$'], |
['exclude', 'platform/graphics/skia/FontCacheSkiaWin\\.cpp$'], |
+ ['exclude', 'platform/graphics/skia/FontCustomPlatformDataSkia\\.cpp$'], |
], |
},{ # ENABLE_GDI_FONTS_ON_WINDOWS!=1 |
'sources/': [ |
@@ -773,10 +771,12 @@ |
['include', 'platform/graphics/skia/GlyphPageTreeNodeSkia\\.cpp$'], |
['include', 'platform/graphics/skia/FontCacheSkiaWin\\.cpp$'], |
['include', 'platform/graphics/skia/FontCustomPlatformDataSkia\\.cpp$'], |
+ ['include', 'platform/graphics/skia/FontCustomPlatformDataSkia\\.cpp$'], |
['exclude', 'platform/graphics/chromium/SimpleFontDataChromiumWin\\.cpp$'], |
['exclude', 'platform/graphics/chromium/GlyphPageTreeNodeChromiumWin\\.cpp$'], |
['exclude', 'platform/graphics/chromium/FontCacheChromiumWin\\.cpp$'], |
['exclude', 'platform/graphics/win/FontCustomPlatformDataWin\\.cpp$'], |
+ ['exclude', 'platform/graphics/win/FontCustomPlatformDataWin\\.cpp$'], |
], |
}], |
], |