OLD | NEW |
1 ################################################################################ | 1 ################################################################################ |
2 # Skylark macros | 2 # Skylark macros |
3 ################################################################################ | 3 ################################################################################ |
4 | 4 |
5 is_bazel = not hasattr(native, "genmpm") | 5 is_bazel = not hasattr(native, "genmpm") |
6 | 6 |
7 def portable_select(select_dict, bazel_condition, default_condition): | 7 def portable_select(select_dict, bazel_condition, default_condition): |
8 """Replaces select() with a Bazel-friendly wrapper. | 8 """Replaces select() with a Bazel-friendly wrapper. |
9 | 9 |
10 Args: | 10 Args: |
(...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
142 "src/opts/*SSSE3*", | 142 "src/opts/*SSSE3*", |
143 "src/opts/*ssse3*", | 143 "src/opts/*ssse3*", |
144 # Included in :opts_sse4 library. | 144 # Included in :opts_sse4 library. |
145 "src/opts/*SSE4*", | 145 "src/opts/*SSE4*", |
146 "src/opts/*sse4*", | 146 "src/opts/*sse4*", |
147 # Included in :opts_avx or :opts_avx2 | 147 # Included in :opts_avx or :opts_avx2 |
148 "src/opts/*avx*", | 148 "src/opts/*avx*", |
149 "src/opts/SkBitmapProcState_opts_none.cpp", | 149 "src/opts/SkBitmapProcState_opts_none.cpp", |
150 "src/opts/SkBlitMask_opts_none.cpp", | 150 "src/opts/SkBlitMask_opts_none.cpp", |
151 "src/opts/SkBlitRow_opts_none.cpp", | 151 "src/opts/SkBlitRow_opts_none.cpp", |
| 152 "src/ports/*CG*", |
152 "src/ports/*android*", | 153 "src/ports/*android*", |
153 "src/ports/*CG*", | |
154 "src/ports/*chromium*", | 154 "src/ports/*chromium*", |
155 "src/ports/*mac*", | 155 "src/ports/*mac*", |
156 "src/ports/*mozalloc*", | 156 "src/ports/*mozalloc*", |
157 "src/ports/*nacl*", | 157 "src/ports/*nacl*", |
158 "src/ports/*win*", | 158 "src/ports/*win*", |
159 "src/ports/SkFontConfigInterface_direct_factory.cpp", | 159 "src/ports/SkFontConfigInterface_direct_factory.cpp", |
160 "src/ports/SkFontMgr_custom_directory_factory.cpp", | 160 "src/ports/SkFontMgr_custom_directory_factory.cpp", |
161 "src/ports/SkFontMgr_custom_embedded_factory.cpp", | 161 "src/ports/SkFontMgr_custom_embedded_factory.cpp", |
162 "src/ports/SkFontMgr_empty_factory.cpp", | 162 "src/ports/SkFontMgr_empty_factory.cpp", |
163 "src/ports/SkFontMgr_fontconfig.cpp", | 163 "src/ports/SkFontMgr_fontconfig.cpp", |
164 "src/ports/SkImageDecoder_CG.cpp", | |
165 "src/ports/SkFontMgr_fontconfig_factory.cpp", | 164 "src/ports/SkFontMgr_fontconfig_factory.cpp", |
166 "src/ports/SkImageDecoder_WIC.cpp", | 165 "src/ports/SkImageDecoder_WIC.cpp", |
167 "src/ports/SkImageDecoder_empty.cpp", | 166 "src/ports/SkImageDecoder_empty.cpp", |
168 "src/ports/SkImageGenerator_none.cpp", | 167 "src/ports/SkImageGenerator_none.cpp", |
169 "src/ports/SkTLS_none.cpp", | 168 "src/ports/SkTLS_none.cpp", |
170 ], | 169 ], |
171 ) | 170 ) |
172 | 171 |
173 # Platform-dependent SRCS for google3-default Android. | 172 # Platform-dependent SRCS for google3-default Android. |
174 BASE_SRCS_ANDROID = struct( | 173 BASE_SRCS_ANDROID = struct( |
(...skipping 14 matching lines...) Expand all Loading... |
189 "src/opts/*SSSE3*", | 188 "src/opts/*SSSE3*", |
190 "src/opts/*ssse3*", | 189 "src/opts/*ssse3*", |
191 "src/opts/*SSE4*", | 190 "src/opts/*SSE4*", |
192 "src/opts/*sse4*", | 191 "src/opts/*sse4*", |
193 "src/opts/*avx*", | 192 "src/opts/*avx*", |
194 "src/opts/*x86*", | 193 "src/opts/*x86*", |
195 "src/opts/SkBitmapProcState_opts_none.cpp", | 194 "src/opts/SkBitmapProcState_opts_none.cpp", |
196 "src/opts/SkBlitMask_opts_none.cpp", | 195 "src/opts/SkBlitMask_opts_none.cpp", |
197 "src/opts/SkBlitRow_opts_none.cpp", | 196 "src/opts/SkBlitRow_opts_none.cpp", |
198 "src/ports/*CG*", | 197 "src/ports/*CG*", |
| 198 "src/ports/*FontConfig*", |
199 "src/ports/*chromium*", | 199 "src/ports/*chromium*", |
200 "src/ports/*fontconfig*", | 200 "src/ports/*fontconfig*", |
201 "src/ports/*FontConfig*", | |
202 "src/ports/*mac*", | 201 "src/ports/*mac*", |
203 "src/ports/*mozalloc*", | 202 "src/ports/*mozalloc*", |
204 "src/ports/*nacl*", | 203 "src/ports/*nacl*", |
205 "src/ports/*win*", | 204 "src/ports/*win*", |
206 "src/ports/SkDebug_stdio.cpp", | 205 "src/ports/SkDebug_stdio.cpp", |
207 "src/ports/SkFontConfigInterface_direct_factory.cpp", | 206 "src/ports/SkFontConfigInterface_direct_factory.cpp", |
208 "src/ports/SkFontConfigInterface_direct_google3_factory.cpp", | 207 "src/ports/SkFontConfigInterface_direct_google3_factory.cpp", |
209 "src/ports/SkFontMgr_custom_directory_factory.cpp", | 208 "src/ports/SkFontMgr_custom_directory_factory.cpp", |
210 "src/ports/SkFontMgr_custom_embedded_factory.cpp", | 209 "src/ports/SkFontMgr_custom_embedded_factory.cpp", |
211 "src/ports/SkFontMgr_empty_factory.cpp", | 210 "src/ports/SkFontMgr_empty_factory.cpp", |
212 "src/ports/SkImageDecoder_CG.cpp", | |
213 "src/ports/SkImageDecoder_WIC.cpp", | 211 "src/ports/SkImageDecoder_WIC.cpp", |
214 "src/ports/SkImageDecoder_empty.cpp", | 212 "src/ports/SkImageDecoder_empty.cpp", |
215 "src/ports/SkImageGenerator_none.cpp", | 213 "src/ports/SkImageGenerator_none.cpp", |
216 "src/ports/SkTLS_none.cpp", | 214 "src/ports/SkTLS_none.cpp", |
217 ], | 215 ], |
218 ) | 216 ) |
219 | 217 |
220 # Platform-dependent SRCS for google3-default iOS. | 218 # Platform-dependent SRCS for google3-default iOS. |
221 BASE_SRCS_IOS = struct( | 219 BASE_SRCS_IOS = struct( |
222 include = [ | 220 include = [ |
(...skipping 20 matching lines...) Expand all Loading... |
243 "src/opts/*SSE2*", | 241 "src/opts/*SSE2*", |
244 "src/opts/*SSSE3*", | 242 "src/opts/*SSSE3*", |
245 "src/opts/*ssse3*", | 243 "src/opts/*ssse3*", |
246 "src/opts/*SSE4*", | 244 "src/opts/*SSE4*", |
247 "src/opts/*sse4*", | 245 "src/opts/*sse4*", |
248 "src/opts/*avx*", | 246 "src/opts/*avx*", |
249 "src/opts/*x86*", | 247 "src/opts/*x86*", |
250 "src/opts/SkBitmapProcState_opts_none.cpp", | 248 "src/opts/SkBitmapProcState_opts_none.cpp", |
251 "src/opts/SkBlitMask_opts_arm*.cpp", | 249 "src/opts/SkBlitMask_opts_arm*.cpp", |
252 "src/opts/SkBlitRow_opts_arm*.cpp", | 250 "src/opts/SkBlitRow_opts_arm*.cpp", |
| 251 "src/ports/*CG*", |
| 252 "src/ports/*FontConfig*", |
| 253 "src/ports/*FreeType*", |
253 "src/ports/*android*", | 254 "src/ports/*android*", |
254 "src/ports/*chromium*", | 255 "src/ports/*chromium*", |
255 "src/ports/*fontconfig*", | 256 "src/ports/*fontconfig*", |
256 "src/ports/*FontConfig*", | |
257 "src/ports/*FreeType*", | |
258 "src/ports/*mozalloc*", | 257 "src/ports/*mozalloc*", |
259 "src/ports/*nacl*", | 258 "src/ports/*nacl*", |
260 "src/ports/*win*", | 259 "src/ports/*win*", |
261 "src/ports/SkFontMgr_custom.cpp", | 260 "src/ports/SkFontMgr_custom.cpp", |
262 "src/ports/SkFontConfigInterface_direct_factory.cpp", | 261 "src/ports/SkFontConfigInterface_direct_factory.cpp", |
263 "src/ports/SkFontConfigInterface_direct_google3_factory.cpp", | 262 "src/ports/SkFontConfigInterface_direct_google3_factory.cpp", |
264 "src/ports/SkFontMgr_custom_directory_factory.cpp", | 263 "src/ports/SkFontMgr_custom_directory_factory.cpp", |
265 "src/ports/SkFontMgr_custom_embedded_factory.cpp", | 264 "src/ports/SkFontMgr_custom_embedded_factory.cpp", |
266 "src/ports/SkFontMgr_empty_factory.cpp", | 265 "src/ports/SkFontMgr_empty_factory.cpp", |
267 "src/ports/SkImageDecoder_CG.cpp", | |
268 "src/ports/SkImageDecoder_WIC.cpp", | 266 "src/ports/SkImageDecoder_WIC.cpp", |
269 "src/ports/SkImageGenerator_none.cpp", | 267 "src/ports/SkImageGenerator_none.cpp", |
270 "src/ports/SkTLS_none.cpp", | 268 "src/ports/SkTLS_none.cpp", |
271 ], | 269 ], |
272 ) | 270 ) |
273 | 271 |
274 ################################################################################ | 272 ################################################################################ |
275 ## SSSE3/SSE4/AVX/AVX2 SRCS | 273 ## SSSE3/SSE4/AVX/AVX2 SRCS |
276 ################################################################################ | 274 ################################################################################ |
277 | 275 |
(...skipping 255 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
533 | 531 |
534 LINKOPTS_ANDROID = [ | 532 LINKOPTS_ANDROID = [ |
535 "-lEGL", | 533 "-lEGL", |
536 ] | 534 ] |
537 | 535 |
538 LINKOPTS_IOS = [] | 536 LINKOPTS_IOS = [] |
539 | 537 |
540 LINKOPTS_ALL = [ | 538 LINKOPTS_ALL = [ |
541 "-ldl", | 539 "-ldl", |
542 ] | 540 ] |
OLD | NEW |