| 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 160 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 171 'config/win', | 171 'config/win', |
| 172 '../src/utils/win', | 172 '../src/utils/win', |
| 173 ], | 173 ], |
| 174 'sources!': [ # these are used everywhere but windows | 174 'sources!': [ # these are used everywhere but windows |
| 175 '../src/ports/SkDebug_stdio.cpp', | 175 '../src/ports/SkDebug_stdio.cpp', |
| 176 '../src/ports/SkOSFile_posix.cpp', | 176 '../src/ports/SkOSFile_posix.cpp', |
| 177 '../src/ports/SkOSLibrary_posix.cpp', | 177 '../src/ports/SkOSLibrary_posix.cpp', |
| 178 '../src/ports/SkTime_Unix.cpp', | 178 '../src/ports/SkTime_Unix.cpp', |
| 179 '../src/ports/SkTLS_pthread.cpp', | 179 '../src/ports/SkTLS_pthread.cpp', |
| 180 ], | 180 ], |
| 181 'sources': [ |
| 182 '../src/ports/SkImageGeneratorWIC.cpp', |
| 183 ], |
| 181 'conditions': [ | 184 'conditions': [ |
| 182 # when we build for win, we only want one of these default files | 185 # when we build for win, we only want one of these default files |
| 183 [ 'skia_gdi', { | 186 [ 'skia_gdi', { |
| 184 'sources/': [['include', '../src/ports/SkFontMgr_win_gdi_factory.c
pp']], | 187 'sources/': [['include', '../src/ports/SkFontMgr_win_gdi_factory.c
pp']], |
| 185 }, { # normally default to direct write | 188 }, { # normally default to direct write |
| 186 'sources/': [['include', '../src/ports/SkFontMgr_win_dw_factory.cp
p']], | 189 'sources/': [['include', '../src/ports/SkFontMgr_win_dw_factory.cp
p']], |
| 187 }], | 190 }], |
| 188 ], | 191 ], |
| 192 'link_settings': { |
| 193 'libraries': [ |
| 194 '-lwindowscodecs.lib', |
| 195 ], |
| 196 }, |
| 189 }, { # else !win | 197 }, { # else !win |
| 190 'sources!': [ | 198 'sources!': [ |
| 191 '../src/ports/SkDebug_win.cpp', | 199 '../src/ports/SkDebug_win.cpp', |
| 192 '../src/ports/SkFontHost_win.cpp', | 200 '../src/ports/SkFontHost_win.cpp', |
| 193 '../src/ports/SkFontMgr_win_dw.cpp', | 201 '../src/ports/SkFontMgr_win_dw.cpp', |
| 194 '../src/ports/SkOSFile_win.cpp', | 202 '../src/ports/SkOSFile_win.cpp', |
| 195 '../src/ports/SkOSLibrary_win.cpp', | 203 '../src/ports/SkOSLibrary_win.cpp', |
| 196 '../src/ports/SkRemotableFontMgr_win_dw.cpp', | 204 '../src/ports/SkRemotableFontMgr_win_dw.cpp', |
| 197 '../src/ports/SkTime_win.cpp', | 205 '../src/ports/SkTime_win.cpp', |
| 198 '../src/ports/SkTLS_win.cpp', | 206 '../src/ports/SkTLS_win.cpp', |
| (...skipping 13 matching lines...) Expand all Loading... |
| 212 }], | 220 }], |
| 213 ], | 221 ], |
| 214 'direct_dependent_settings': { | 222 'direct_dependent_settings': { |
| 215 'include_dirs': [ | 223 'include_dirs': [ |
| 216 '../include/ports', | 224 '../include/ports', |
| 217 ], | 225 ], |
| 218 }, | 226 }, |
| 219 }, | 227 }, |
| 220 ], | 228 ], |
| 221 } | 229 } |
| OLD | NEW |