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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 ], | 70 ], |
71 exclude = [ | 71 exclude = [ |
72 # Exclude platform-dependent files. | 72 # Exclude platform-dependent files. |
73 "src/android/*", | 73 "src/android/*", |
74 "src/codec/*", | 74 "src/codec/*", |
75 "src/device/xps/*", # Windows-only. Move to ports? | 75 "src/device/xps/*", # Windows-only. Move to ports? |
76 "src/doc/*_XPS.cpp", # Windows-only. Move to ports? | 76 "src/doc/*_XPS.cpp", # Windows-only. Move to ports? |
77 "src/fonts/SkFontMgr_fontconfig.cpp", | 77 "src/fonts/SkFontMgr_fontconfig.cpp", |
78 "src/gpu/gl/android/*", | 78 "src/gpu/gl/android/*", |
79 "src/gpu/gl/egl/*", | 79 "src/gpu/gl/egl/*", |
| 80 "src/gpu/gl/glfw/*", |
80 "src/gpu/gl/glx/*", | 81 "src/gpu/gl/glx/*", |
81 "src/gpu/gl/iOS/*", | 82 "src/gpu/gl/iOS/*", |
82 "src/gpu/gl/mac/*", | 83 "src/gpu/gl/mac/*", |
83 "src/gpu/gl/win/*", | 84 "src/gpu/gl/win/*", |
84 "src/images/*", | 85 "src/images/*", |
85 "src/opts/**/*", | 86 "src/opts/**/*", |
86 "src/ports/**/*", | 87 "src/ports/**/*", |
87 "src/utils/android/**/*", | 88 "src/utils/android/**/*", |
88 "src/utils/mac/**/*", | 89 "src/utils/mac/**/*", |
89 "src/utils/SkThreadUtils_win.cpp", # Windows-only. Move to ports? | 90 "src/utils/SkThreadUtils_win.cpp", # Windows-only. Move to ports? |
(...skipping 446 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
536 | 537 |
537 LINKOPTS_ANDROID = [ | 538 LINKOPTS_ANDROID = [ |
538 "-lEGL", | 539 "-lEGL", |
539 ] | 540 ] |
540 | 541 |
541 LINKOPTS_IOS = [] | 542 LINKOPTS_IOS = [] |
542 | 543 |
543 LINKOPTS_ALL = [ | 544 LINKOPTS_ALL = [ |
544 "-ldl", | 545 "-ldl", |
545 ] | 546 ] |
OLD | NEW |