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 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
434 "tools/test_font_index.inc", | 434 "tools/test_font_index.inc", |
435 "tools/timer/*.cpp", | 435 "tools/timer/*.cpp", |
436 "tools/timer/*.h", | 436 "tools/timer/*.h", |
437 ], | 437 ], |
438 exclude = [ | 438 exclude = [ |
439 "dm/DMSrcSinkAndroid.cpp", # Android-only. | 439 "dm/DMSrcSinkAndroid.cpp", # Android-only. |
440 "tests/FontMgrAndroidParserTest.cpp", # Android-only. | 440 "tests/FontMgrAndroidParserTest.cpp", # Android-only. |
441 "tests/PathOpsSkpClipTest.cpp", # Alternate main. | 441 "tests/PathOpsSkpClipTest.cpp", # Alternate main. |
442 "tests/skia_test.cpp", # Old main. | 442 "tests/skia_test.cpp", # Old main. |
443 "tests/SkpSkGrTest.cpp", # Alternate main. | 443 "tests/SkpSkGrTest.cpp", # Alternate main. |
444 "tests/SkSLErrorTest.cpp", # Excluded along with Vulkan. | 444 "tests/SkSL*.cpp", # Excluded along with Vulkan. |
445 "tests/SVGDeviceTest.cpp", | 445 "tests/SVGDeviceTest.cpp", |
446 "tools/gpu/gl/angle/*", | 446 "tools/gpu/gl/angle/*", |
447 "tools/gpu/gl/command_buffer/*", | 447 "tools/gpu/gl/command_buffer/*", |
448 "tools/gpu/gl/egl/*", | 448 "tools/gpu/gl/egl/*", |
449 "tools/gpu/gl/glx/*", | 449 "tools/gpu/gl/glx/*", |
450 "tools/gpu/gl/iOS/*", | 450 "tools/gpu/gl/iOS/*", |
451 "tools/gpu/gl/mac/*", | 451 "tools/gpu/gl/mac/*", |
452 "tools/gpu/gl/mesa/*", | 452 "tools/gpu/gl/mesa/*", |
453 "tools/gpu/gl/win/*", | 453 "tools/gpu/gl/win/*", |
454 "tools/timer/SysTimer_mach.cpp", | 454 "tools/timer/SysTimer_mach.cpp", |
(...skipping 178 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
633 | 633 |
634 LINKOPTS_ANDROID = [ | 634 LINKOPTS_ANDROID = [ |
635 "-lEGL", | 635 "-lEGL", |
636 ] | 636 ] |
637 | 637 |
638 LINKOPTS_IOS = [] | 638 LINKOPTS_IOS = [] |
639 | 639 |
640 LINKOPTS_ALL = [ | 640 LINKOPTS_ALL = [ |
641 "-ldl", | 641 "-ldl", |
642 ] | 642 ] |
OLD | NEW |