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 102 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
113 "src/views/sdl/*", | 113 "src/views/sdl/*", |
114 "src/views/win/*", | 114 "src/views/win/*", |
115 "src/views/unix/*", | 115 "src/views/unix/*", |
116 | 116 |
117 # Exclude multiple definitions. | 117 # Exclude multiple definitions. |
118 # TODO(mtklein): Move to opts? | 118 # TODO(mtklein): Move to opts? |
119 "src/pdf/SkDocument_PDF_None.cpp", # We use src/pdf/SkPDFDocument.cpp. | 119 "src/pdf/SkDocument_PDF_None.cpp", # We use src/pdf/SkPDFDocument.cpp. |
120 "src/gpu/gl/GrGLCreateNativeInterface_none.cpp", | 120 "src/gpu/gl/GrGLCreateNativeInterface_none.cpp", |
121 "src/gpu/gl/GrGLDefaultInterface_native.cpp", | 121 "src/gpu/gl/GrGLDefaultInterface_native.cpp", |
122 "src/gpu/gl/GrGLDefaultInterface_none.cpp", | 122 "src/gpu/gl/GrGLDefaultInterface_none.cpp", |
123 "src/fonts/SkFontMgr_fontconfig.cpp", | |
124 | 123 |
125 # Exclude files that don't compile with the current DEFINES. | 124 # Exclude files that don't compile with the current DEFINES. |
126 "src/gpu/gl/mesa/*", # Requires SK_MESA define. | 125 "src/gpu/gl/mesa/*", # Requires SK_MESA define. |
127 "src/svg/**/*", # Depends on XML. | 126 "src/svg/**/*", # Depends on XML. |
128 "src/xml/**/*", | 127 "src/xml/**/*", |
129 | 128 |
130 # Conflicting dependencies among Lua versions. See cl/107087297. | 129 # Conflicting dependencies among Lua versions. See cl/107087297. |
131 "src/utils/SkLua*", | 130 "src/utils/SkLua*", |
132 | 131 |
133 # Not used. | 132 # Not used. |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
169 "src/opts/SkBlitRow_opts_none.cpp", | 168 "src/opts/SkBlitRow_opts_none.cpp", |
170 "src/ports/*CG*", | 169 "src/ports/*CG*", |
171 "src/ports/*WIC*", | 170 "src/ports/*WIC*", |
172 "src/ports/*android*", | 171 "src/ports/*android*", |
173 "src/ports/*chromium*", | 172 "src/ports/*chromium*", |
174 "src/ports/*mac*", | 173 "src/ports/*mac*", |
175 "src/ports/*mozalloc*", | 174 "src/ports/*mozalloc*", |
176 "src/ports/*nacl*", | 175 "src/ports/*nacl*", |
177 "src/ports/*win*", | 176 "src/ports/*win*", |
178 "src/ports/SkFontConfigInterface_direct_factory.cpp", | 177 "src/ports/SkFontConfigInterface_direct_factory.cpp", |
179 "src/ports/SkFontHost_fontconfig.cpp", | |
180 "src/ports/SkFontMgr_custom_directory_factory.cpp", | 178 "src/ports/SkFontMgr_custom_directory_factory.cpp", |
181 "src/ports/SkFontMgr_custom_embedded_factory.cpp", | 179 "src/ports/SkFontMgr_custom_embedded_factory.cpp", |
182 "src/ports/SkFontMgr_custom_empty_factory.cpp", | 180 "src/ports/SkFontMgr_custom_empty_factory.cpp", |
183 "src/ports/SkFontMgr_empty_factory.cpp", | 181 "src/ports/SkFontMgr_empty_factory.cpp", |
184 "src/ports/SkFontMgr_fontconfig.cpp", | 182 "src/ports/SkFontMgr_fontconfig.cpp", |
185 "src/ports/SkFontMgr_fontconfig_factory.cpp", | 183 "src/ports/SkFontMgr_fontconfig_factory.cpp", |
186 "src/ports/SkImageEncoder_none.cpp", | 184 "src/ports/SkImageEncoder_none.cpp", |
187 "src/ports/SkImageGenerator_none.cpp", | 185 "src/ports/SkImageGenerator_none.cpp", |
188 "src/ports/SkTLS_none.cpp", | 186 "src/ports/SkTLS_none.cpp", |
189 ], | 187 ], |
(...skipping 27 matching lines...) Expand all Loading... |
217 "src/ports/*CG*", | 215 "src/ports/*CG*", |
218 "src/ports/*FontConfig*", | 216 "src/ports/*FontConfig*", |
219 "src/ports/*WIC*", | 217 "src/ports/*WIC*", |
220 "src/ports/*chromium*", | 218 "src/ports/*chromium*", |
221 "src/ports/*fontconfig*", | 219 "src/ports/*fontconfig*", |
222 "src/ports/*mac*", | 220 "src/ports/*mac*", |
223 "src/ports/*mozalloc*", | 221 "src/ports/*mozalloc*", |
224 "src/ports/*nacl*", | 222 "src/ports/*nacl*", |
225 "src/ports/*win*", | 223 "src/ports/*win*", |
226 "src/ports/SkDebug_stdio.cpp", | 224 "src/ports/SkDebug_stdio.cpp", |
227 "src/ports/SkFontHost_fontconfig.cpp", | |
228 "src/ports/SkFontMgr_custom_directory_factory.cpp", | 225 "src/ports/SkFontMgr_custom_directory_factory.cpp", |
229 "src/ports/SkFontMgr_custom_embedded_factory.cpp", | 226 "src/ports/SkFontMgr_custom_embedded_factory.cpp", |
230 "src/ports/SkFontMgr_custom_empty_factory.cpp", | 227 "src/ports/SkFontMgr_custom_empty_factory.cpp", |
231 "src/ports/SkFontMgr_empty_factory.cpp", | 228 "src/ports/SkFontMgr_empty_factory.cpp", |
232 "src/ports/SkImageEncoder_none.cpp", | 229 "src/ports/SkImageEncoder_none.cpp", |
233 "src/ports/SkImageGenerator_none.cpp", | 230 "src/ports/SkImageGenerator_none.cpp", |
234 "src/ports/SkTLS_none.cpp", | 231 "src/ports/SkTLS_none.cpp", |
235 ], | 232 ], |
236 ) | 233 ) |
237 | 234 |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
271 "src/ports/*CG*", | 268 "src/ports/*CG*", |
272 "src/ports/*FontConfig*", | 269 "src/ports/*FontConfig*", |
273 "src/ports/*FreeType*", | 270 "src/ports/*FreeType*", |
274 "src/ports/*WIC*", | 271 "src/ports/*WIC*", |
275 "src/ports/*android*", | 272 "src/ports/*android*", |
276 "src/ports/*chromium*", | 273 "src/ports/*chromium*", |
277 "src/ports/*fontconfig*", | 274 "src/ports/*fontconfig*", |
278 "src/ports/*mozalloc*", | 275 "src/ports/*mozalloc*", |
279 "src/ports/*nacl*", | 276 "src/ports/*nacl*", |
280 "src/ports/*win*", | 277 "src/ports/*win*", |
281 "src/ports/SkFontHost_fontconfig.cpp", | |
282 "src/ports/SkFontMgr_custom.cpp", | 278 "src/ports/SkFontMgr_custom.cpp", |
283 "src/ports/SkFontMgr_custom_directory_factory.cpp", | 279 "src/ports/SkFontMgr_custom_directory_factory.cpp", |
284 "src/ports/SkFontMgr_custom_embedded_factory.cpp", | 280 "src/ports/SkFontMgr_custom_embedded_factory.cpp", |
285 "src/ports/SkFontMgr_custom_empty_factory.cpp", | 281 "src/ports/SkFontMgr_custom_empty_factory.cpp", |
286 "src/ports/SkFontMgr_empty_factory.cpp", | 282 "src/ports/SkFontMgr_empty_factory.cpp", |
287 "src/ports/SkImageGenerator_none.cpp", | 283 "src/ports/SkImageGenerator_none.cpp", |
288 "src/ports/SkTLS_none.cpp", | 284 "src/ports/SkTLS_none.cpp", |
289 ], | 285 ], |
290 ) | 286 ) |
291 | 287 |
(...skipping 339 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
631 | 627 |
632 LINKOPTS_ANDROID = [ | 628 LINKOPTS_ANDROID = [ |
633 "-lEGL", | 629 "-lEGL", |
634 ] | 630 ] |
635 | 631 |
636 LINKOPTS_IOS = [] | 632 LINKOPTS_IOS = [] |
637 | 633 |
638 LINKOPTS_ALL = [ | 634 LINKOPTS_ALL = [ |
639 "-ldl", | 635 "-ldl", |
640 ] | 636 ] |
OLD | NEW |