OLD | NEW |
1 # Copyright 2015 Google Inc. | 1 # Copyright 2015 Google Inc. |
2 # | 2 # |
3 # Use of this source code is governed by a BSD-style license that can be | 3 # Use of this source code is governed by a BSD-style license that can be |
4 # found in the LICENSE file. | 4 # found in the LICENSE file. |
5 # Port-specific Skia library code. | 5 # Port-specific Skia library code. |
6 { | 6 { |
7 'targets': [ | 7 'targets': [ |
8 { | 8 { |
9 'target_name': 'ports', | 9 'target_name': 'ports', |
10 'product_name': 'skia_ports', | 10 'product_name': 'skia_ports', |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 '../src/ports/SkMemory_malloc.cpp', | 52 '../src/ports/SkMemory_malloc.cpp', |
53 '../src/ports/SkOSEnvironment.h', | 53 '../src/ports/SkOSEnvironment.h', |
54 '../src/ports/SkOSEnvironment.cpp', | 54 '../src/ports/SkOSEnvironment.cpp', |
55 '../src/ports/SkOSFile_posix.cpp', | 55 '../src/ports/SkOSFile_posix.cpp', |
56 '../src/ports/SkOSFile_stdio.cpp', | 56 '../src/ports/SkOSFile_stdio.cpp', |
57 '../src/ports/SkOSFile_win.cpp', | 57 '../src/ports/SkOSFile_win.cpp', |
58 '../src/ports/SkOSLibrary.h', | 58 '../src/ports/SkOSLibrary.h', |
59 '../src/ports/SkOSLibrary_posix.cpp', | 59 '../src/ports/SkOSLibrary_posix.cpp', |
60 '../src/ports/SkOSLibrary_win.cpp', | 60 '../src/ports/SkOSLibrary_win.cpp', |
61 '../src/ports/SkDiscardableMemory_none.cpp', | 61 '../src/ports/SkDiscardableMemory_none.cpp', |
62 '../src/ports/SkTime_Unix.cpp', | |
63 '../src/ports/SkTime_win.cpp', | |
64 '../src/ports/SkTLS_pthread.cpp', | 62 '../src/ports/SkTLS_pthread.cpp', |
65 '../src/ports/SkTLS_win.cpp', | 63 '../src/ports/SkTLS_win.cpp', |
66 | 64 |
67 '../include/ports/SkFontConfigInterface.h', | 65 '../include/ports/SkFontConfigInterface.h', |
68 '../include/ports/SkFontMgr.h', | 66 '../include/ports/SkFontMgr.h', |
69 '../include/ports/SkFontMgr_android.h', | 67 '../include/ports/SkFontMgr_android.h', |
70 '../include/ports/SkFontMgr_custom.h', | 68 '../include/ports/SkFontMgr_custom.h', |
71 '../include/ports/SkFontMgr_fontconfig.h', | 69 '../include/ports/SkFontMgr_fontconfig.h', |
72 '../include/ports/SkFontMgr_indirect.h', | 70 '../include/ports/SkFontMgr_indirect.h', |
73 '../include/ports/SkRemotableFontMgr.h', | 71 '../include/ports/SkRemotableFontMgr.h', |
(...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
168 }], | 166 }], |
169 [ 'skia_os == "win"', { | 167 [ 'skia_os == "win"', { |
170 'include_dirs': [ | 168 'include_dirs': [ |
171 'config/win', | 169 'config/win', |
172 '../src/utils/win', | 170 '../src/utils/win', |
173 ], | 171 ], |
174 'sources!': [ # these are used everywhere but windows | 172 'sources!': [ # these are used everywhere but windows |
175 '../src/ports/SkDebug_stdio.cpp', | 173 '../src/ports/SkDebug_stdio.cpp', |
176 '../src/ports/SkOSFile_posix.cpp', | 174 '../src/ports/SkOSFile_posix.cpp', |
177 '../src/ports/SkOSLibrary_posix.cpp', | 175 '../src/ports/SkOSLibrary_posix.cpp', |
178 '../src/ports/SkTime_Unix.cpp', | |
179 '../src/ports/SkTLS_pthread.cpp', | 176 '../src/ports/SkTLS_pthread.cpp', |
180 ], | 177 ], |
181 'sources': [ | 178 'sources': [ |
182 '../src/ports/SkImageGeneratorWIC.cpp', | 179 '../src/ports/SkImageGeneratorWIC.cpp', |
183 ], | 180 ], |
184 'conditions': [ | 181 'conditions': [ |
185 # when we build for win, we only want one of these default files | 182 # when we build for win, we only want one of these default files |
186 [ 'skia_gdi', { | 183 [ 'skia_gdi', { |
187 'sources/': [['include', '../src/ports/SkFontMgr_win_gdi_factory.c
pp']], | 184 'sources/': [['include', '../src/ports/SkFontMgr_win_gdi_factory.c
pp']], |
188 }, { # normally default to direct write | 185 }, { # normally default to direct write |
189 'sources/': [['include', '../src/ports/SkFontMgr_win_dw_factory.cp
p']], | 186 'sources/': [['include', '../src/ports/SkFontMgr_win_dw_factory.cp
p']], |
190 }], | 187 }], |
191 ], | 188 ], |
192 'link_settings': { | 189 'link_settings': { |
193 'libraries': [ | 190 'libraries': [ |
194 '-lwindowscodecs.lib', | 191 '-lwindowscodecs.lib', |
195 ], | 192 ], |
196 }, | 193 }, |
197 }, { # else !win | 194 }, { # else !win |
198 'sources!': [ | 195 'sources!': [ |
199 '../src/ports/SkDebug_win.cpp', | 196 '../src/ports/SkDebug_win.cpp', |
200 '../src/ports/SkFontHost_win.cpp', | 197 '../src/ports/SkFontHost_win.cpp', |
201 '../src/ports/SkFontMgr_win_dw.cpp', | 198 '../src/ports/SkFontMgr_win_dw.cpp', |
202 '../src/ports/SkOSFile_win.cpp', | 199 '../src/ports/SkOSFile_win.cpp', |
203 '../src/ports/SkOSLibrary_win.cpp', | 200 '../src/ports/SkOSLibrary_win.cpp', |
204 '../src/ports/SkRemotableFontMgr_win_dw.cpp', | 201 '../src/ports/SkRemotableFontMgr_win_dw.cpp', |
205 '../src/ports/SkTime_win.cpp', | |
206 '../src/ports/SkTLS_win.cpp', | 202 '../src/ports/SkTLS_win.cpp', |
207 '../src/ports/SkScalerContext_win_dw.cpp', | 203 '../src/ports/SkScalerContext_win_dw.cpp', |
208 '../src/ports/SkScalerContext_win_dw.h', | 204 '../src/ports/SkScalerContext_win_dw.h', |
209 '../src/ports/SkTypeface_win_dw.cpp', | 205 '../src/ports/SkTypeface_win_dw.cpp', |
210 '../src/ports/SkTypeface_win_dw.h', | 206 '../src/ports/SkTypeface_win_dw.h', |
211 ], | 207 ], |
212 }], | 208 }], |
213 [ 'skia_os == "android"', { | 209 [ 'skia_os == "android"', { |
214 'sources!': [ | 210 'sources!': [ |
215 '../src/ports/SkDebug_stdio.cpp', | 211 '../src/ports/SkDebug_stdio.cpp', |
216 ], | 212 ], |
217 'sources': [ | 213 'sources': [ |
218 '../src/ports/SkDebug_android.cpp', | 214 '../src/ports/SkDebug_android.cpp', |
219 ], | 215 ], |
220 }], | 216 }], |
221 ], | 217 ], |
222 'direct_dependent_settings': { | 218 'direct_dependent_settings': { |
223 'include_dirs': [ | 219 'include_dirs': [ |
224 '../include/ports', | 220 '../include/ports', |
225 ], | 221 ], |
226 }, | 222 }, |
227 }, | 223 }, |
228 ], | 224 ], |
229 } | 225 } |
OLD | NEW |