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 417 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
428 "tools/test_font_index.inc", | 428 "tools/test_font_index.inc", |
429 "tools/timer/*.cpp", | 429 "tools/timer/*.cpp", |
430 "tools/timer/*.h", | 430 "tools/timer/*.h", |
431 ], | 431 ], |
432 exclude = [ | 432 exclude = [ |
433 "dm/DMSrcSinkAndroid.cpp", # Android-only. | 433 "dm/DMSrcSinkAndroid.cpp", # Android-only. |
434 "tests/FontMgrAndroidParserTest.cpp", # Android-only. | 434 "tests/FontMgrAndroidParserTest.cpp", # Android-only. |
435 "tests/PathOpsSkpClipTest.cpp", # Alternate main. | 435 "tests/PathOpsSkpClipTest.cpp", # Alternate main. |
436 "tests/skia_test.cpp", # Old main. | 436 "tests/skia_test.cpp", # Old main. |
437 "tests/SkpSkGrTest.cpp", # Alternate main. | 437 "tests/SkpSkGrTest.cpp", # Alternate main. |
438 "tests/SkSLErrorTest.cpp", # Excluded along with Vulkan. | 438 "tests/SkSL*.cpp", # Excluded along with Vulkan. |
439 "tests/SVGDeviceTest.cpp", | 439 "tests/SVGDeviceTest.cpp", |
440 "tools/gpu/gl/angle/*", | 440 "tools/gpu/gl/angle/*", |
441 "tools/gpu/gl/command_buffer/*", | 441 "tools/gpu/gl/command_buffer/*", |
442 "tools/gpu/gl/egl/*", | 442 "tools/gpu/gl/egl/*", |
443 "tools/gpu/gl/glx/*", | 443 "tools/gpu/gl/glx/*", |
444 "tools/gpu/gl/iOS/*", | 444 "tools/gpu/gl/iOS/*", |
445 "tools/gpu/gl/mac/*", | 445 "tools/gpu/gl/mac/*", |
446 "tools/gpu/gl/mesa/*", | 446 "tools/gpu/gl/mesa/*", |
447 "tools/gpu/gl/win/*", | 447 "tools/gpu/gl/win/*", |
448 "tools/timer/SysTimer_mach.cpp", | 448 "tools/timer/SysTimer_mach.cpp", |
(...skipping 179 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
628 | 628 |
629 LINKOPTS_ANDROID = [ | 629 LINKOPTS_ANDROID = [ |
630 "-lEGL", | 630 "-lEGL", |
631 ] | 631 ] |
632 | 632 |
633 LINKOPTS_IOS = [] | 633 LINKOPTS_IOS = [] |
634 | 634 |
635 LINKOPTS_ALL = [ | 635 LINKOPTS_ALL = [ |
636 "-ldl", | 636 "-ldl", |
637 ] | 637 ] |
OLD | NEW |