OLD | NEW |
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 13 matching lines...) Expand all Loading... |
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/SkMemory_malloc.cpp', | 33 '../src/ports/SkMemory_malloc.cpp', |
| 34 '../src/ports/SkOSFile_posix.cpp', |
34 '../src/ports/SkOSFile_stdio.cpp', | 35 '../src/ports/SkOSFile_stdio.cpp', |
| 36 '../src/ports/SkOSFile_win.cpp', |
35 '../src/ports/SkTime_Unix.cpp', | 37 '../src/ports/SkTime_Unix.cpp', |
36 '../src/ports/SkTime_win.cpp', | 38 '../src/ports/SkTime_win.cpp', |
37 '../src/ports/SkXMLParser_empty.cpp', | 39 '../src/ports/SkXMLParser_empty.cpp', |
38 ], | 40 ], |
39 'conditions': [ | 41 'conditions': [ |
40 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', { | 42 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris"]', { |
41 'defines': [ | 43 'defines': [ |
42 #The font host requires at least FreeType 2.3.0 at runtime. | 44 #The font host requires at least FreeType 2.3.0 at runtime. |
43 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020300',\ | 45 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020300',\ |
44 'SK_CAN_USE_DLOPEN=1', | 46 'SK_CAN_USE_DLOPEN=1', |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
133 ], | 135 ], |
134 }, { # else !skia_directwrite | 136 }, { # else !skia_directwrite |
135 'sources!': [ | 137 'sources!': [ |
136 '../src/ports/SkFontHost_win_dw.cpp', | 138 '../src/ports/SkFontHost_win_dw.cpp', |
137 ], | 139 ], |
138 }], | 140 }], |
139 ], | 141 ], |
140 'sources!': [ # these are used everywhere but windows | 142 'sources!': [ # these are used everywhere but windows |
141 '../src/ports/SkDebug_stdio.cpp', | 143 '../src/ports/SkDebug_stdio.cpp', |
142 '../src/ports/SkTime_Unix.cpp', | 144 '../src/ports/SkTime_Unix.cpp', |
| 145 '../src/ports/SkOSFile_posix.cpp', |
143 ], | 146 ], |
144 }, { # else !win | 147 }, { # else !win |
145 'sources!': [ | 148 'sources!': [ |
146 '../src/ports/SkDebug_win.cpp', | 149 '../src/ports/SkDebug_win.cpp', |
147 '../src/ports/SkFontHost_win.cpp', | 150 '../src/ports/SkFontHost_win.cpp', |
148 '../src/ports/SkFontHost_win_dw.cpp', | 151 '../src/ports/SkFontHost_win_dw.cpp', |
| 152 '../src/ports/SkOSFile_win.cpp', |
149 '../src/ports/SkThread_win.cpp', | 153 '../src/ports/SkThread_win.cpp', |
150 '../src/ports/SkTime_win.cpp', | 154 '../src/ports/SkTime_win.cpp', |
151 ], | 155 ], |
152 }], | 156 }], |
153 [ 'skia_os == "android"', { | 157 [ 'skia_os == "android"', { |
154 'defines': [ | 158 'defines': [ |
155 #Android provides at least FreeType 2.4.0 at runtime. | 159 #Android provides at least FreeType 2.4.0 at runtime. |
156 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020400', | 160 'SK_FONTHOST_FREETYPE_RUNTIME_VERSION=0x020400', |
157 #Skia should not use dlopen on Android. | 161 #Skia should not use dlopen on Android. |
158 'SK_CAN_USE_DLOPEN=0', | 162 'SK_CAN_USE_DLOPEN=0', |
(...skipping 25 matching lines...) Expand all Loading... |
184 }, | 188 }, |
185 }, | 189 }, |
186 ], | 190 ], |
187 } | 191 } |
188 | 192 |
189 # Local Variables: | 193 # Local Variables: |
190 # tab-width:2 | 194 # tab-width:2 |
191 # indent-tabs-mode:nil | 195 # indent-tabs-mode:nil |
192 # End: | 196 # End: |
193 # vim: set expandtab tabstop=2 shiftwidth=2: | 197 # vim: set expandtab tabstop=2 shiftwidth=2: |
OLD | NEW |