Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(285)

Unified Diff: gyp/ports.gyp

Issue 1184923002: Refactor SkFontHost_linux into SkFontMgr_custom. (Closed) Base URL: https://skia.googlesource.com/skia.git@master
Patch Set: Don't export embedded. Created 5 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | include/ports/SkFontMgr_custom.h » ('j') | src/ports/SkFontMgr_custom_embedded_factory.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: gyp/ports.gyp
diff --git a/gyp/ports.gyp b/gyp/ports.gyp
index 79687933e314423ebc92b7170066f5efc576a17b..f3a3faf68e14fbf99e9a89755b5117c2140f38e7 100644
--- a/gyp/ports.gyp
+++ b/gyp/ports.gyp
@@ -32,9 +32,11 @@
'../src/fonts/SkFontMgr_indirect.cpp',
'../src/fonts/SkRemotableFontMgr.cpp',
'../src/ports/SkFontHost_win.cpp',
- '../src/ports/SkFontMgr_default_gdi.cpp',
- '../src/ports/SkFontMgr_default_dw.cpp',
+ '../src/ports/SkFontMgr_custom_directory_factory.cpp',
+ '../src/ports/SkFontMgr_custom_embedded_factory.cpp',
'../src/ports/SkFontMgr_win_dw.cpp',
+ '../src/ports/SkFontMgr_win_dw_factory.cpp',
+ '../src/ports/SkFontMgr_win_gdi_factory.cpp',
'../src/ports/SkRemotableFontMgr_win_dw.cpp',
'../src/ports/SkScalerContext_win_dw.cpp',
'../src/ports/SkScalerContext_win_dw.h',
@@ -57,6 +59,9 @@
'../include/ports/SkFontMgr_indirect.h',
'../include/ports/SkRemotableFontMgr.h',
],
+ 'sources/': [
+ ['exclude', 'SkFontMgr_.+_factory\\.cpp$'],
+ ],
'conditions': [
[ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos", "android"]', {
'sources': [
@@ -82,8 +87,10 @@
],
},
'sources': [
- '../src/ports/SkFontHost_linux.cpp',
+ '../include/ports/SkFontMgr_custom.h',
+ '../src/ports/SkFontMgr_custom.cpp',
],
+ 'sources/': [['include', '../src/ports/SkFontMgr_custom_embedded_factory.cpp']],
'actions': [{
'action_name': 'generate_embedded_font_data',
'inputs': [
@@ -112,8 +119,10 @@
],
},
'sources': [
- '../src/ports/SkFontHost_linux.cpp',
+ '../include/ports/SkFontMgr_custom.h',
+ '../src/ports/SkFontMgr_custom.cpp',
],
+ 'sources/': [['include', '../src/ports/SkFontMgr_custom_directory_factory.cpp']],
}, {
'link_settings': {
'libraries': [
@@ -168,21 +177,15 @@
'conditions': [
# when we build for win, we only want one of these default files
[ 'skia_gdi', {
- 'sources!': [
- '../src/ports/SkFontMgr_default_dw.cpp',
- ],
+ 'sources/': [['include', '../src/ports/SkFontMgr_win_gdi_factory.cpp']],
}, { # normally default to direct write
- 'sources!': [
- '../src/ports/SkFontMgr_default_gdi.cpp',
- ],
+ 'sources/': [['include', '../src/ports/SkFontMgr_win_dw_factory.cpp']],
}],
],
}, { # else !win
'sources!': [
'../src/ports/SkDebug_win.cpp',
'../src/ports/SkFontHost_win.cpp',
- '../src/ports/SkFontMgr_default_gdi.cpp',
- '../src/ports/SkFontMgr_default_dw.cpp',
'../src/ports/SkFontMgr_win_dw.cpp',
'../src/ports/SkOSFile_win.cpp',
'../src/ports/SkRemotableFontMgr_win_dw.cpp',
« no previous file with comments | « no previous file | include/ports/SkFontMgr_custom.h » ('j') | src/ports/SkFontMgr_custom_embedded_factory.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698