| 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 110 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 121 | 121 |
| 122 # Not used. | 122 # Not used. |
| 123 "src/animator/**/*", | 123 "src/animator/**/*", |
| 124 "src/views/**/*", | 124 "src/views/**/*", |
| 125 "src/xml/SkBML_Verbs.h", | 125 "src/xml/SkBML_Verbs.h", |
| 126 "src/xml/SkBML_XMLParser.cpp", | 126 "src/xml/SkBML_XMLParser.cpp", |
| 127 "src/xml/SkXMLPullParser.cpp", | 127 "src/xml/SkXMLPullParser.cpp", |
| 128 | 128 |
| 129 # Currently exclude all vulkan specific files | 129 # Currently exclude all vulkan specific files |
| 130 "src/gpu/vk/*", | 130 "src/gpu/vk/*", |
| 131 "src/sksl/**/*", |
| 131 ], | 132 ], |
| 132 ) | 133 ) |
| 133 | 134 |
| 134 # Platform-dependent SRCS for google3-default platform. | 135 # Platform-dependent SRCS for google3-default platform. |
| 135 BASE_SRCS_UNIX = struct( | 136 BASE_SRCS_UNIX = struct( |
| 136 include = [ | 137 include = [ |
| 137 "src/android/*", | 138 "src/android/*", |
| 138 "src/codec/*", | 139 "src/codec/*", |
| 139 "src/fonts/SkFontMgr_fontconfig.cpp", | 140 "src/fonts/SkFontMgr_fontconfig.cpp", |
| 140 "src/gpu/gl/GrGLDefaultInterface_none.cpp", | 141 "src/gpu/gl/GrGLDefaultInterface_none.cpp", |
| (...skipping 275 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 416 "tools/sk_tool_utils_font.cpp", | 417 "tools/sk_tool_utils_font.cpp", |
| 417 "tools/timer/*.cpp", | 418 "tools/timer/*.cpp", |
| 418 "tools/timer/*.h", | 419 "tools/timer/*.h", |
| 419 ], | 420 ], |
| 420 exclude = [ | 421 exclude = [ |
| 421 "dm/DMSrcSinkAndroid.cpp", # Android-only. | 422 "dm/DMSrcSinkAndroid.cpp", # Android-only. |
| 422 "tests/FontMgrAndroidParserTest.cpp", # Android-only. | 423 "tests/FontMgrAndroidParserTest.cpp", # Android-only. |
| 423 "tests/PathOpsSkpClipTest.cpp", # Alternate main. | 424 "tests/PathOpsSkpClipTest.cpp", # Alternate main. |
| 424 "tests/skia_test.cpp", # Old main. | 425 "tests/skia_test.cpp", # Old main. |
| 425 "tests/SkpSkGrTest.cpp", # Alternate main. | 426 "tests/SkpSkGrTest.cpp", # Alternate main. |
| 427 "tests/SkSLErrorTest.cpp", # Excluded along with Vulkan. |
| 426 "tools/gpu/gl/angle/*", | 428 "tools/gpu/gl/angle/*", |
| 427 "tools/gpu/gl/command_buffer/*", | 429 "tools/gpu/gl/command_buffer/*", |
| 428 "tools/gpu/gl/egl/*", | 430 "tools/gpu/gl/egl/*", |
| 429 "tools/gpu/gl/glx/*", | 431 "tools/gpu/gl/glx/*", |
| 430 "tools/gpu/gl/iOS/*", | 432 "tools/gpu/gl/iOS/*", |
| 431 "tools/gpu/gl/mac/*", | 433 "tools/gpu/gl/mac/*", |
| 432 "tools/gpu/gl/mesa/*", | 434 "tools/gpu/gl/mesa/*", |
| 433 "tools/gpu/gl/win/*", | 435 "tools/gpu/gl/win/*", |
| 434 "tools/timer/SysTimer_mach.cpp", | 436 "tools/timer/SysTimer_mach.cpp", |
| 435 "tools/timer/SysTimer_windows.cpp", | 437 "tools/timer/SysTimer_windows.cpp", |
| (...skipping 167 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 603 | 605 |
| 604 LINKOPTS_ANDROID = [ | 606 LINKOPTS_ANDROID = [ |
| 605 "-lEGL", | 607 "-lEGL", |
| 606 ] | 608 ] |
| 607 | 609 |
| 608 LINKOPTS_IOS = [] | 610 LINKOPTS_IOS = [] |
| 609 | 611 |
| 610 LINKOPTS_ALL = [ | 612 LINKOPTS_ALL = [ |
| 611 "-ldl", | 613 "-ldl", |
| 612 ] | 614 ] |
| OLD | NEW |