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

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

Issue 12319150: remove all global associative maps for fontconfig host (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/ports/SkFontConfigInterface.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 28 matching lines...) Expand all
39 'conditions': [ 39 'conditions': [
40 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', { 40 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', {
41 'defines': [ 41 'defines': [
42 #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.
43 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020300',\ 43 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020300',\
44 'SK_CAN_USE_DLOPEN=1', 44 'SK_CAN_USE_DLOPEN=1',
45 ], 45 ],
46 'link_settings': { 46 'link_settings': {
47 'libraries': [ 47 'libraries': [
48 '-lfreetype', 48 '-lfreetype',
49 '-lfontconfig',
49 '-ldl', 50 '-ldl',
50 ], 51 ],
51 }, 52 },
52 'sources': [ 53 'sources': [
53 '../src/ports/SkFontHost_FreeType.cpp', 54 '../src/ports/SkFontHost_FreeType.cpp',
54 '../src/ports/SkFontHost_FreeType_common.cpp', 55 '../src/ports/SkFontHost_FreeType_common.cpp',
55 '../src/ports/SkFontHost_linux.cpp', 56 '../src/ports/SkFontHost_fontconfig.cpp',
57 '../src/ports/SkFontConfigInterface_direct.cpp',
56 '../src/ports/SkThread_pthread.cpp', 58 '../src/ports/SkThread_pthread.cpp',
57 ], 59 ],
58 }], 60 }],
59 [ 'skia_os == "nacl"', { 61 [ 'skia_os == "nacl"', {
60 'dependencies': [ 62 'dependencies': [
61 # On other OS, we can dynamically link against freetype. For nacl, 63 # On other OS, we can dynamically link against freetype. For nacl,
62 # 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
63 # too old (<0x020300) to provide the functionality we need. 65 # too old (<0x020300) to provide the functionality we need.
64 'freetype.gyp:freetype', 66 'freetype.gyp:freetype',
65 ], 67 ],
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
178 }, 180 },
179 }, 181 },
180 ], 182 ],
181 } 183 }
182 184
183 # Local Variables: 185 # Local Variables:
184 # tab-width:2 186 # tab-width:2
185 # indent-tabs-mode:nil 187 # indent-tabs-mode:nil
186 # End: 188 # End:
187 # vim: set expandtab tabstop=2 shiftwidth=2: 189 # vim: set expandtab tabstop=2 shiftwidth=2:
OLDNEW
« no previous file with comments | « no previous file | trunk/include/ports/SkFontConfigInterface.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698