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 16 matching lines...) Expand all Loading... |
27 ], | 27 ], |
28 'sources': [ | 28 'sources': [ |
29 '../src/ports/SkDebug_stdio.cpp', | 29 '../src/ports/SkDebug_stdio.cpp', |
30 '../src/ports/SkDebug_win.cpp', | 30 '../src/ports/SkDebug_win.cpp', |
31 | 31 |
32 '../src/fonts/SkFontMgr_indirect.cpp', | 32 '../src/fonts/SkFontMgr_indirect.cpp', |
33 '../src/fonts/SkRemotableFontMgr.cpp', | 33 '../src/fonts/SkRemotableFontMgr.cpp', |
34 '../src/ports/SkFontHost_win.cpp', | 34 '../src/ports/SkFontHost_win.cpp', |
35 '../src/ports/SkFontMgr_custom_directory_factory.cpp', | 35 '../src/ports/SkFontMgr_custom_directory_factory.cpp', |
36 '../src/ports/SkFontMgr_custom_embedded_factory.cpp', | 36 '../src/ports/SkFontMgr_custom_embedded_factory.cpp', |
| 37 '../src/ports/SkFontMgr_fontconfig_factory.cpp', |
37 '../src/ports/SkFontMgr_win_dw.cpp', | 38 '../src/ports/SkFontMgr_win_dw.cpp', |
38 '../src/ports/SkFontMgr_win_dw_factory.cpp', | 39 '../src/ports/SkFontMgr_win_dw_factory.cpp', |
39 '../src/ports/SkFontMgr_win_gdi_factory.cpp', | 40 '../src/ports/SkFontMgr_win_gdi_factory.cpp', |
40 '../src/ports/SkRemotableFontMgr_win_dw.cpp', | 41 '../src/ports/SkRemotableFontMgr_win_dw.cpp', |
41 '../src/ports/SkScalerContext_win_dw.cpp', | 42 '../src/ports/SkScalerContext_win_dw.cpp', |
42 '../src/ports/SkScalerContext_win_dw.h', | 43 '../src/ports/SkScalerContext_win_dw.h', |
43 '../src/ports/SkTypeface_win_dw.cpp', | 44 '../src/ports/SkTypeface_win_dw.cpp', |
44 '../src/ports/SkTypeface_win_dw.h', | 45 '../src/ports/SkTypeface_win_dw.h', |
45 | 46 |
46 '../src/ports/SkGlobalInitialization_default.cpp', | 47 '../src/ports/SkGlobalInitialization_default.cpp', |
47 '../src/ports/SkMemory_malloc.cpp', | 48 '../src/ports/SkMemory_malloc.cpp', |
48 '../src/ports/SkOSFile_posix.cpp', | 49 '../src/ports/SkOSFile_posix.cpp', |
49 '../src/ports/SkOSFile_stdio.cpp', | 50 '../src/ports/SkOSFile_stdio.cpp', |
50 '../src/ports/SkOSFile_win.cpp', | 51 '../src/ports/SkOSFile_win.cpp', |
51 '../src/ports/SkDiscardableMemory_none.cpp', | 52 '../src/ports/SkDiscardableMemory_none.cpp', |
52 '../src/ports/SkTime_Unix.cpp', | 53 '../src/ports/SkTime_Unix.cpp', |
53 '../src/ports/SkTime_win.cpp', | 54 '../src/ports/SkTime_win.cpp', |
54 '../src/ports/SkTLS_pthread.cpp', | 55 '../src/ports/SkTLS_pthread.cpp', |
55 '../src/ports/SkTLS_win.cpp', | 56 '../src/ports/SkTLS_win.cpp', |
56 | 57 |
| 58 '../include/ports/SkAtomics_atomic.h', |
| 59 '../include/ports/SkAtomics_std.h', |
| 60 '../include/ports/SkAtomics_sync.h', |
57 '../include/ports/SkFontConfigInterface.h', | 61 '../include/ports/SkFontConfigInterface.h', |
58 '../include/ports/SkFontMgr.h', | 62 '../include/ports/SkFontMgr.h', |
| 63 '../include/ports/SkFontMgr_custom.h', |
| 64 '../include/ports/SkFontMgr_fontconfig.h', |
59 '../include/ports/SkFontMgr_indirect.h', | 65 '../include/ports/SkFontMgr_indirect.h', |
| 66 '../include/ports/SkMutex_pthread.h', |
| 67 '../include/ports/SkMutex_win.h', |
60 '../include/ports/SkRemotableFontMgr.h', | 68 '../include/ports/SkRemotableFontMgr.h', |
61 ], | 69 ], |
62 'sources/': [ | 70 'sources/': [ |
63 ['exclude', 'SkFontMgr_.+_factory\\.cpp$'], | 71 ['exclude', 'SkFontMgr_.+_factory\\.cpp$'], |
64 ], | 72 ], |
65 'conditions': [ | 73 'conditions': [ |
66 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos", "an
droid"]', { | 74 [ 'skia_os in ["linux", "freebsd", "openbsd", "solaris", "chromeos", "an
droid"]', { |
67 'sources': [ | 75 'sources': [ |
68 '../src/ports/SkFontHost_FreeType.cpp', | 76 '../src/ports/SkFontHost_FreeType.cpp', |
69 '../src/ports/SkFontHost_FreeType_common.cpp', | 77 '../src/ports/SkFontHost_FreeType_common.cpp', |
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
128 'libraries': [ | 136 'libraries': [ |
129 '-lfontconfig', | 137 '-lfontconfig', |
130 '-ldl', | 138 '-ldl', |
131 ], | 139 ], |
132 }, | 140 }, |
133 'sources': [ | 141 'sources': [ |
134 '../src/ports/SkFontMgr_fontconfig.cpp', | 142 '../src/ports/SkFontMgr_fontconfig.cpp', |
135 '../src/ports/SkFontHost_fontconfig.cpp', | 143 '../src/ports/SkFontHost_fontconfig.cpp', |
136 '../src/ports/SkFontConfigInterface_direct.cpp', | 144 '../src/ports/SkFontConfigInterface_direct.cpp', |
137 ], | 145 ], |
| 146 'sources/': [['include', '../src/ports/SkFontMgr_fontconfig_factor
y.cpp']], |
138 }] | 147 }] |
139 ], | 148 ], |
140 }], | 149 }], |
141 [ 'skia_os == "mac"', { | 150 [ 'skia_os == "mac"', { |
142 'include_dirs': [ | 151 'include_dirs': [ |
143 '../include/utils/mac', | 152 '../include/utils/mac', |
144 ], | 153 ], |
145 'sources': [ | 154 'sources': [ |
146 '../src/ports/SkFontHost_mac.cpp', | 155 '../src/ports/SkFontHost_mac.cpp', |
147 '../src/utils/mac/SkStream_mac.cpp', | 156 '../src/utils/mac/SkStream_mac.cpp', |
(...skipping 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 }], | 221 }], |
213 ], | 222 ], |
214 'direct_dependent_settings': { | 223 'direct_dependent_settings': { |
215 'include_dirs': [ | 224 'include_dirs': [ |
216 '../include/ports', | 225 '../include/ports', |
217 ], | 226 ], |
218 }, | 227 }, |
219 }, | 228 }, |
220 ], | 229 ], |
221 } | 230 } |
OLD | NEW |