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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
208 "src/ports/SkImageDecoder_WIC.cpp", | 208 "src/ports/SkImageDecoder_WIC.cpp", |
209 "src/ports/SkImageDecoder_empty.cpp", | 209 "src/ports/SkImageDecoder_empty.cpp", |
210 "src/ports/SkImageGenerator_none.cpp", | 210 "src/ports/SkImageGenerator_none.cpp", |
211 "src/ports/SkTLS_none.cpp", | 211 "src/ports/SkTLS_none.cpp", |
212 ], | 212 ], |
213 ) | 213 ) |
214 | 214 |
215 # Platform-dependent SRCS for google3-default iOS. | 215 # Platform-dependent SRCS for google3-default iOS. |
216 BASE_SRCS_IOS = struct( | 216 BASE_SRCS_IOS = struct( |
217 include = [ | 217 include = [ |
| 218 "src/android/*", |
| 219 "src/codec/*", |
218 "src/gpu/gl/GrGLDefaultInterface_native.cpp", | 220 "src/gpu/gl/GrGLDefaultInterface_native.cpp", |
219 "src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp", | 221 "src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp", |
220 "src/opts/**/*.cpp", | 222 "src/opts/**/*.cpp", |
221 "src/opts/**/*.h", | 223 "src/opts/**/*.h", |
222 "src/ports/**/*.cpp", | 224 "src/ports/**/*.cpp", |
223 "src/ports/**/*.h", | 225 "src/ports/**/*.h", |
224 "src/utils/mac/*.cpp", | 226 "src/utils/mac/*.cpp", |
225 ], | 227 ], |
226 exclude = [ | 228 exclude = [ |
| 229 "src/codec/*Gif*.cpp", |
| 230 "src/codec/*Ico*.cpp", |
| 231 "src/codec/*Jpeg*.cpp", |
| 232 "src/codec/*Webp*.cpp", |
| 233 "src/codec/*Png*", |
| 234 "src/codec/*Raw*.cpp", |
227 "src/opts/*mips*", | 235 "src/opts/*mips*", |
228 "src/opts/*NEON*", | 236 "src/opts/*NEON*", |
229 "src/opts/*neon*", | 237 "src/opts/*neon*", |
230 "src/opts/*SSE2*", | 238 "src/opts/*SSE2*", |
231 "src/opts/*SSSE3*", | 239 "src/opts/*SSSE3*", |
232 "src/opts/*ssse3*", | 240 "src/opts/*ssse3*", |
233 "src/opts/*SSE4*", | 241 "src/opts/*SSE4*", |
234 "src/opts/*sse4*", | 242 "src/opts/*sse4*", |
235 "src/opts/*avx*", | 243 "src/opts/*avx*", |
236 "src/opts/*x86*", | 244 "src/opts/*x86*", |
(...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
519 | 527 |
520 LINKOPTS_ANDROID = [ | 528 LINKOPTS_ANDROID = [ |
521 "-lEGL", | 529 "-lEGL", |
522 ] | 530 ] |
523 | 531 |
524 LINKOPTS_IOS = [] | 532 LINKOPTS_IOS = [] |
525 | 533 |
526 LINKOPTS_ALL = [ | 534 LINKOPTS_ALL = [ |
527 "-ldl", | 535 "-ldl", |
528 ] | 536 ] |
OLD | NEW |