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

Side by Side Diff: trunk/gyp/ports.gyp

Issue 13001002: remove GetTable* APIs from SkFontHost, and rely on SkTypeface::onGetTable* (Closed) Base URL: http://skia.googlecode.com/svn/
Patch Set: Created 7 years, 9 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « no previous file | trunk/include/core/SkFontHost.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # Port-specific Skia library code. 1 # Port-specific Skia library code.
2 { 2 {
3 'targets': [ 3 'targets': [
4 { 4 {
5 'target_name': 'ports', 5 'target_name': 'ports',
6 'product_name': 'skia_ports', 6 'product_name': 'skia_ports',
7 'type': 'static_library', 7 'type': 'static_library',
8 'standalone_static_library': 1, 8 'standalone_static_library': 1,
9 'dependencies': [ 9 'dependencies': [
10 'core.gyp:core', 10 'core.gyp:core',
(...skipping 12 matching lines...) Expand all
23 'sources': [ 23 'sources': [
24 '../src/ports/SkDebug_nacl.cpp', 24 '../src/ports/SkDebug_nacl.cpp',
25 '../src/ports/SkDebug_stdio.cpp', 25 '../src/ports/SkDebug_stdio.cpp',
26 '../src/ports/SkDebug_win.cpp', 26 '../src/ports/SkDebug_win.cpp',
27 '../src/ports/SkFontHost_win.cpp', 27 '../src/ports/SkFontHost_win.cpp',
28 '../src/ports/SkFontHost_win_dw.cpp', 28 '../src/ports/SkFontHost_win_dw.cpp',
29 '../src/ports/SkGlobalInitialization_default.cpp', 29 '../src/ports/SkGlobalInitialization_default.cpp',
30 '../src/ports/SkPurgeableMemoryBlock_none.cpp', 30 '../src/ports/SkPurgeableMemoryBlock_none.cpp',
31 '../src/ports/SkThread_win.cpp', 31 '../src/ports/SkThread_win.cpp',
32 32
33 '../src/ports/SkFontHost_tables.cpp',
34 '../src/ports/SkMemory_malloc.cpp', 33 '../src/ports/SkMemory_malloc.cpp',
35 '../src/ports/SkOSFile_stdio.cpp', 34 '../src/ports/SkOSFile_stdio.cpp',
36 '../src/ports/SkTime_Unix.cpp', 35 '../src/ports/SkTime_Unix.cpp',
37 '../src/ports/SkTime_win.cpp', 36 '../src/ports/SkTime_win.cpp',
38 '../src/ports/SkXMLParser_empty.cpp', 37 '../src/ports/SkXMLParser_empty.cpp',
39 ], 38 ],
40 'conditions': [ 39 'conditions': [
41 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', { 40 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', {
42 'defines': [ 41 'defines': [
43 #The font host requires at least FreeType 2.3.0 at runtime. 42 #The font host requires at least FreeType 2.3.0 at runtime.
44 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020300',\ 43 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020300',\
45 'SK_CAN_USE_DLOPEN=1', 44 'SK_CAN_USE_DLOPEN=1',
46 ], 45 ],
47 'link_settings': { 46 'link_settings': {
48 'libraries': [ 47 'libraries': [
49 '-lfreetype', 48 '-lfreetype',
50 '-lfontconfig', 49 '-lfontconfig',
51 '-ldl', 50 '-ldl',
52 ], 51 ],
53 }, 52 },
54 'sources': [ 53 'sources': [
55 '../src/ports/SkFontHost_FreeType.cpp', 54 '../src/ports/SkFontHost_FreeType.cpp',
56 '../src/ports/SkFontHost_FreeType_common.cpp', 55 '../src/ports/SkFontHost_FreeType_common.cpp',
57 '../src/ports/SkFontHost_fontconfig.cpp', 56 '../src/ports/SkFontHost_fontconfig.cpp',
58 '../src/ports/SkFontConfigInterface_direct.cpp', 57 '../src/ports/SkFontConfigInterface_direct.cpp',
59 '../src/ports/SkThread_pthread.cpp', 58 '../src/ports/SkThread_pthread.cpp',
60 ], 59 ],
61 'sources!': [
62 '../src/ports/SkFontHost_tables.cpp',
63 ],
64 }], 60 }],
65 [ 'skia_os == "nacl"', { 61 [ 'skia_os == "nacl"', {
66 'dependencies': [ 62 'dependencies': [
67 # On other OS, we can dynamically link against freetype. For nacl, 63 # On other OS, we can dynamically link against freetype. For nacl,
68 # we have to include our own version since the naclports version is 64 # we have to include our own version since the naclports version is
69 # too old (<0x020300) to provide the functionality we need. 65 # too old (<0x020300) to provide the functionality we need.
70 'freetype.gyp:freetype', 66 'freetype.gyp:freetype',
71 ], 67 ],
72 'export_dependent_settings': [ 68 'export_dependent_settings': [
73 'freetype.gyp:freetype', 69 'freetype.gyp:freetype',
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
187 }, 183 },
188 }, 184 },
189 ], 185 ],
190 } 186 }
191 187
192 # Local Variables: 188 # Local Variables:
193 # tab-width:2 189 # tab-width:2
194 # indent-tabs-mode:nil 190 # indent-tabs-mode:nil
195 # End: 191 # End:
196 # vim: set expandtab tabstop=2 shiftwidth=2: 192 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | trunk/include/core/SkFontHost.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698