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 198 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
209 ], | 209 ], |
210 ) | 210 ) |
211 | 211 |
212 # Platform-dependent SRCS for google3-default iOS. | 212 # Platform-dependent SRCS for google3-default iOS. |
213 BASE_SRCS_IOS = struct( | 213 BASE_SRCS_IOS = struct( |
214 include = [ | 214 include = [ |
215 "src/opts/**/*.cpp", | 215 "src/opts/**/*.cpp", |
216 "src/opts/**/*.h", | 216 "src/opts/**/*.h", |
217 "src/ports/**/*.cpp", | 217 "src/ports/**/*.cpp", |
218 "src/ports/**/*.h", | 218 "src/ports/**/*.h", |
| 219 "src/utils/mac/*.cpp", |
219 ], | 220 ], |
220 exclude = [ | 221 exclude = [ |
221 "src/opts/*mips*", | 222 "src/opts/*mips*", |
222 "src/opts/*NEON*", | 223 "src/opts/*NEON*", |
223 "src/opts/*neon*", | 224 "src/opts/*neon*", |
224 "src/opts/*SSE2*", | 225 "src/opts/*SSE2*", |
225 "src/opts/*SSSE3*", | 226 "src/opts/*SSSE3*", |
226 "src/opts/*ssse3*", | 227 "src/opts/*ssse3*", |
227 "src/opts/*SSE4*", | 228 "src/opts/*SSE4*", |
228 "src/opts/*sse4*", | 229 "src/opts/*sse4*", |
229 "src/opts/*avx*", | 230 "src/opts/*avx*", |
230 "src/opts/*x86*", | 231 "src/opts/*x86*", |
231 "src/opts/SkBitmapProcState_opts_none.cpp", | 232 "src/opts/SkBitmapProcState_opts_none.cpp", |
232 "src/opts/SkBlitMask_opts_arm*.cpp", | 233 "src/opts/SkBlitMask_opts_arm*.cpp", |
233 "src/opts/SkBlitRow_opts_arm*.cpp", | 234 "src/opts/SkBlitRow_opts_arm*.cpp", |
234 "src/ports/*android*", | 235 "src/ports/*android*", |
235 "src/ports/*chromium*", | 236 "src/ports/*chromium*", |
236 "src/ports/*fontconfig*", | 237 "src/ports/*fontconfig*", |
237 "src/ports/*FontConfig*", | 238 "src/ports/*FontConfig*", |
238 "src/ports/*FreeType*", | 239 "src/ports/*FreeType*", |
239 "src/ports/*mozalloc*", | 240 "src/ports/*mozalloc*", |
240 "src/ports/*nacl*", | 241 "src/ports/*nacl*", |
241 "src/ports/*win*", | 242 "src/ports/*win*", |
242 "src/ports/SkDebug_stdio.cpp", | |
243 "src/ports/SkFontMgr_custom.cpp", | 243 "src/ports/SkFontMgr_custom.cpp", |
244 "src/ports/SkFontConfigInterface_direct_factory.cpp", | 244 "src/ports/SkFontConfigInterface_direct_factory.cpp", |
245 "src/ports/SkFontConfigInterface_direct_google3_factory.cpp", | 245 "src/ports/SkFontConfigInterface_direct_google3_factory.cpp", |
246 "src/ports/SkFontMgr_custom_directory_factory.cpp", | 246 "src/ports/SkFontMgr_custom_directory_factory.cpp", |
247 "src/ports/SkFontMgr_custom_embedded_factory.cpp", | 247 "src/ports/SkFontMgr_custom_embedded_factory.cpp", |
248 "src/ports/SkFontMgr_empty_factory.cpp", | 248 "src/ports/SkFontMgr_empty_factory.cpp", |
249 "src/ports/SkImageDecoder_CG.cpp", | 249 "src/ports/SkImageDecoder_CG.cpp", |
250 "src/ports/SkImageDecoder_WIC.cpp", | 250 "src/ports/SkImageDecoder_WIC.cpp", |
251 "src/ports/SkImageDecoder_empty.cpp", | |
252 "src/ports/SkImageGenerator_none.cpp", | 251 "src/ports/SkImageGenerator_none.cpp", |
253 "src/ports/SkTLS_none.cpp", | 252 "src/ports/SkTLS_none.cpp", |
254 ], | 253 ], |
255 ) | 254 ) |
256 | 255 |
257 ################################################################################ | 256 ################################################################################ |
258 ## SSSE3/SSE4/AVX/AVX2 SRCS | 257 ## SSSE3/SSE4/AVX/AVX2 SRCS |
259 ################################################################################ | 258 ################################################################################ |
260 | 259 |
261 SSSE3_SRCS = struct( | 260 SSSE3_SRCS = struct( |
(...skipping 249 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
511 | 510 |
512 LINKOPTS_ANDROID = [ | 511 LINKOPTS_ANDROID = [ |
513 "-lEGL", | 512 "-lEGL", |
514 ] | 513 ] |
515 | 514 |
516 LINKOPTS_IOS = [] | 515 LINKOPTS_IOS = [] |
517 | 516 |
518 LINKOPTS_ALL = [ | 517 LINKOPTS_ALL = [ |
519 "-ldl", | 518 "-ldl", |
520 ] | 519 ] |
OLD | NEW |