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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 "src/opts/*ssse3*", | 143 "src/opts/*ssse3*", |
144 # Included in :opts_sse4 library. | 144 # Included in :opts_sse4 library. |
145 "src/opts/*SSE4*", | 145 "src/opts/*SSE4*", |
146 "src/opts/*sse4*", | 146 "src/opts/*sse4*", |
147 # Included in :opts_avx or :opts_avx2 | 147 # Included in :opts_avx or :opts_avx2 |
148 "src/opts/*avx*", | 148 "src/opts/*avx*", |
149 "src/opts/SkBitmapProcState_opts_none.cpp", | 149 "src/opts/SkBitmapProcState_opts_none.cpp", |
150 "src/opts/SkBlitMask_opts_none.cpp", | 150 "src/opts/SkBlitMask_opts_none.cpp", |
151 "src/opts/SkBlitRow_opts_none.cpp", | 151 "src/opts/SkBlitRow_opts_none.cpp", |
152 "src/ports/*android*", | 152 "src/ports/*android*", |
| 153 "src/ports/*CG*", |
153 "src/ports/*chromium*", | 154 "src/ports/*chromium*", |
154 "src/ports/*mac*", | 155 "src/ports/*mac*", |
155 "src/ports/*mozalloc*", | 156 "src/ports/*mozalloc*", |
156 "src/ports/*nacl*", | 157 "src/ports/*nacl*", |
157 "src/ports/*win*", | 158 "src/ports/*win*", |
158 "src/ports/SkFontConfigInterface_direct_factory.cpp", | 159 "src/ports/SkFontConfigInterface_direct_factory.cpp", |
159 "src/ports/SkFontMgr_custom_directory_factory.cpp", | 160 "src/ports/SkFontMgr_custom_directory_factory.cpp", |
160 "src/ports/SkFontMgr_custom_embedded_factory.cpp", | 161 "src/ports/SkFontMgr_custom_embedded_factory.cpp", |
161 "src/ports/SkFontMgr_empty_factory.cpp", | 162 "src/ports/SkFontMgr_empty_factory.cpp", |
162 "src/ports/SkFontMgr_fontconfig.cpp", | 163 "src/ports/SkFontMgr_fontconfig.cpp", |
(...skipping 24 matching lines...) Expand all Loading... |
187 "src/opts/*SSE2*", | 188 "src/opts/*SSE2*", |
188 "src/opts/*SSSE3*", | 189 "src/opts/*SSSE3*", |
189 "src/opts/*ssse3*", | 190 "src/opts/*ssse3*", |
190 "src/opts/*SSE4*", | 191 "src/opts/*SSE4*", |
191 "src/opts/*sse4*", | 192 "src/opts/*sse4*", |
192 "src/opts/*avx*", | 193 "src/opts/*avx*", |
193 "src/opts/*x86*", | 194 "src/opts/*x86*", |
194 "src/opts/SkBitmapProcState_opts_none.cpp", | 195 "src/opts/SkBitmapProcState_opts_none.cpp", |
195 "src/opts/SkBlitMask_opts_none.cpp", | 196 "src/opts/SkBlitMask_opts_none.cpp", |
196 "src/opts/SkBlitRow_opts_none.cpp", | 197 "src/opts/SkBlitRow_opts_none.cpp", |
| 198 "src/ports/*CG*", |
197 "src/ports/*chromium*", | 199 "src/ports/*chromium*", |
198 "src/ports/*fontconfig*", | 200 "src/ports/*fontconfig*", |
199 "src/ports/*FontConfig*", | 201 "src/ports/*FontConfig*", |
200 "src/ports/*mac*", | 202 "src/ports/*mac*", |
201 "src/ports/*mozalloc*", | 203 "src/ports/*mozalloc*", |
202 "src/ports/*nacl*", | 204 "src/ports/*nacl*", |
203 "src/ports/*win*", | 205 "src/ports/*win*", |
204 "src/ports/SkDebug_stdio.cpp", | 206 "src/ports/SkDebug_stdio.cpp", |
205 "src/ports/SkFontConfigInterface_direct_factory.cpp", | 207 "src/ports/SkFontConfigInterface_direct_factory.cpp", |
206 "src/ports/SkFontConfigInterface_direct_google3_factory.cpp", | 208 "src/ports/SkFontConfigInterface_direct_google3_factory.cpp", |
(...skipping 324 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
531 | 533 |
532 LINKOPTS_ANDROID = [ | 534 LINKOPTS_ANDROID = [ |
533 "-lEGL", | 535 "-lEGL", |
534 ] | 536 ] |
535 | 537 |
536 LINKOPTS_IOS = [] | 538 LINKOPTS_IOS = [] |
537 | 539 |
538 LINKOPTS_ALL = [ | 540 LINKOPTS_ALL = [ |
539 "-ldl", | 541 "-ldl", |
540 ] | 542 ] |
OLD | NEW |