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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 "src/codec/*", | 243 "src/codec/*", |
244 "src/gpu/gl/GrGLDefaultInterface_native.cpp", | 244 "src/gpu/gl/GrGLDefaultInterface_native.cpp", |
245 "src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp", | 245 "src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp", |
246 "src/opts/**/*.cpp", | 246 "src/opts/**/*.cpp", |
247 "src/opts/**/*.h", | 247 "src/opts/**/*.h", |
248 "src/ports/**/*.cpp", | 248 "src/ports/**/*.cpp", |
249 "src/ports/**/*.h", | 249 "src/ports/**/*.h", |
250 "src/utils/mac/*.cpp", | 250 "src/utils/mac/*.cpp", |
251 ], | 251 ], |
252 exclude = [ | 252 exclude = [ |
253 "src/codec/*Gif*.cpp", | |
254 "src/codec/*Ico*.cpp", | 253 "src/codec/*Ico*.cpp", |
255 "src/codec/*Jpeg*.cpp", | 254 "src/codec/*Jpeg*.cpp", |
256 "src/codec/*Webp*.cpp", | 255 "src/codec/*Webp*.cpp", |
257 "src/codec/*Png*", | 256 "src/codec/*Png*", |
258 "src/codec/*Raw*.cpp", | 257 "src/codec/*Raw*.cpp", |
259 "src/opts/*mips*", | 258 "src/opts/*mips*", |
260 "src/opts/*NEON*", | 259 "src/opts/*NEON*", |
261 "src/opts/*neon*", | 260 "src/opts/*neon*", |
262 "src/opts/*SSE2*", | 261 "src/opts/*SSE2*", |
263 "src/opts/*SSSE3*", | 262 "src/opts/*SSSE3*", |
(...skipping 362 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
626 | 625 |
627 LINKOPTS_ANDROID = [ | 626 LINKOPTS_ANDROID = [ |
628 "-lEGL", | 627 "-lEGL", |
629 ] | 628 ] |
630 | 629 |
631 LINKOPTS_IOS = [] | 630 LINKOPTS_IOS = [] |
632 | 631 |
633 LINKOPTS_ALL = [ | 632 LINKOPTS_ALL = [ |
634 "-ldl", | 633 "-ldl", |
635 ] | 634 ] |
OLD | NEW |