OLD | NEW |
---|---|
1 # Description: | 1 # Description: |
2 # Skia graphics library. | 2 # Skia graphics library. |
3 # | 3 # |
4 # Definitions for Google BUILD file. | 4 # Definitions for Google BUILD file. |
5 | 5 |
6 exports_files(["BUILD.public"]) | 6 exports_files(["BUILD.public"]) |
7 | 7 |
8 # Platform-independent SRCS | 8 ## :skia_base |
9 SRCS = glob( | 9 |
10 # All platform-independent SRCS, minus GL and utils. | |
11 BASE_SRCS = glob( | |
10 [ | 12 [ |
11 "include/private/*.h", | 13 "include/private/*.h", |
12 "src/**/*.h", | 14 "src/**/*.h", |
13 "src/**/*.cpp", | 15 "src/**/*.cpp", |
14 | 16 |
15 # Third Party | 17 # Third Party |
16 "third_party/etc1/*.cpp", | 18 "third_party/etc1/*.cpp", |
17 "third_party/etc1/*.h", | 19 "third_party/etc1/*.h", |
18 "third_party/ktx/*.cpp", | 20 "third_party/ktx/*.cpp", |
19 "third_party/ktx/*.h", | 21 "third_party/ktx/*.h", |
20 ], | 22 ], |
21 exclude = [ | 23 exclude = [ |
22 # Exclude platform-dependent files. | 24 # Exclude platform-dependent files. |
23 "src/device/xps/*", # Windows-only. Move to ports? | 25 "src/device/xps/*", # Windows-only. Move to ports? |
24 "src/doc/*_XPS.cpp", # Windows-only. Move to ports? | 26 "src/doc/*_XPS.cpp", # Windows-only. Move to ports? |
25 "src/gpu/gl/android/*", | |
26 "src/gpu/gl/egl/*", | |
27 "src/gpu/gl/glx/*", | |
28 "src/gpu/gl/nacl/*", | |
29 "src/gpu/gl/iOS/*", | |
30 "src/gpu/gl/mac/*", | |
31 "src/gpu/gl/win/*", | |
32 "src/opts/**/*", | 27 "src/opts/**/*", |
33 "src/ports/**/*", | 28 "src/ports/**/*", |
34 "src/utils/android/**/*", | 29 "src/utils/android/**/*", |
35 "src/utils/mac/**/*", | 30 "src/utils/mac/**/*", |
36 "src/utils/SkThreadUtils_win.cpp", # Windows-only. Move to ports? | 31 "src/utils/SkThreadUtils_win.cpp", # Windows-only. Move to ports? |
37 "src/utils/win/**/*", | 32 "src/utils/win/**/*", |
38 "src/views/sdl/*", | 33 "src/views/sdl/*", |
39 "src/views/win/*", | 34 "src/views/win/*", |
40 "src/views/unix/*", | 35 "src/views/unix/*", |
41 | 36 |
37 # Exclude files in :skia_gl or :skia_util libraries. | |
38 "src/gpu/gl/**/*", | |
39 "src/utils/SkLua*", # In :skia_util library. | |
40 | |
42 # Exclude multiple definitions. | 41 # Exclude multiple definitions. |
43 # TODO(mtklein): Move to opts? | 42 # TODO(mtklein): Move to opts? |
44 "src/doc/SkDocument_PDF_None.cpp", # We use SkDocument_PDF.cpp. | 43 "src/doc/SkDocument_PDF_None.cpp", # We use SkDocument_PDF.cpp. |
45 "src/fonts/*fontconfig*", | 44 "src/fonts/*fontconfig*", |
46 "src/gpu/gl/GrGLCreateNativeInterface_none.cpp", | |
47 "src/gpu/gl/GrGLDefaultInterface_native.cpp", | |
48 "src/gpu/gl/GrGLDefaultInterface_none.cpp", | |
49 | 45 |
50 # Exclude files that don't compile with the current DEFINES. | 46 # Exclude files that don't compile with the current DEFINES. |
51 "src/codec/SkJpegCodec.cpp", # libjpeg_turbo version mismatch. | 47 "src/codec/SkJpegCodec.cpp", # libjpeg_turbo version mismatch. |
52 "src/gpu/gl/angle/*", # Requires SK_ANGLE define. | |
53 "src/gpu/gl/command_buffer/*", # unknown type name 'HMODULE' | |
54 "src/gpu/gl/mesa/*", # Requires SK_MESA define. | |
55 "src/svg/parser/*", # Missing SkSVG.h. | 48 "src/svg/parser/*", # Missing SkSVG.h. |
56 | 49 |
57 # Not used. | 50 # Not used. |
58 "src/animator/**/*", | 51 "src/animator/**/*", |
59 "src/views/**/*", | 52 "src/views/**/*", |
60 "src/xml/SkBML_Verbs.h", | 53 "src/xml/SkBML_Verbs.h", |
61 "src/xml/SkBML_XMLParser.cpp", | 54 "src/xml/SkBML_XMLParser.cpp", |
62 "src/xml/SkXMLPullParser.cpp", | 55 "src/xml/SkXMLPullParser.cpp", |
63 ], | 56 ], |
64 ) | 57 ) |
65 | 58 |
66 # Platform-dependent SRCS for google3-default platform. | 59 # Platform-dependent SRCS for google3-default platform. |
67 SRCS_UNIX = glob( | 60 BASE_SRCS_UNIX = glob( |
68 [ | 61 [ |
69 "src/gpu/gl/GrGLDefaultInterface_native.cpp", | |
70 "src/gpu/gl/glx/**/*.cpp", | |
71 "src/gpu/gl/glx/**/*.h", | |
72 "src/opts/**/*.cpp", | 62 "src/opts/**/*.cpp", |
73 "src/opts/**/*.h", | 63 "src/opts/**/*.h", |
74 "src/ports/**/*.cpp", | 64 "src/ports/**/*.cpp", |
75 "src/ports/**/*.h", | 65 "src/ports/**/*.h", |
76 ], | 66 ], |
77 exclude = [ | 67 exclude = [ |
78 "src/opts/*arm*", | 68 "src/opts/*arm*", |
79 "src/opts/*mips*", | 69 "src/opts/*mips*", |
80 "src/opts/*NEON*", | 70 "src/opts/*NEON*", |
81 "src/opts/*neon*", | 71 "src/opts/*neon*", |
(...skipping 18 matching lines...) Expand all Loading... | |
100 "src/ports/SkFontMgr_empty_factory.cpp", | 90 "src/ports/SkFontMgr_empty_factory.cpp", |
101 "src/ports/SkImageDecoder_CG.cpp", | 91 "src/ports/SkImageDecoder_CG.cpp", |
102 "src/ports/SkImageDecoder_WIC.cpp", | 92 "src/ports/SkImageDecoder_WIC.cpp", |
103 "src/ports/SkImageDecoder_empty.cpp", | 93 "src/ports/SkImageDecoder_empty.cpp", |
104 "src/ports/SkImageGenerator_none.cpp", | 94 "src/ports/SkImageGenerator_none.cpp", |
105 "src/ports/SkTLS_none.cpp", | 95 "src/ports/SkTLS_none.cpp", |
106 ], | 96 ], |
107 ) | 97 ) |
108 | 98 |
109 # Platform-dependent SRCS for google3-default Android. | 99 # Platform-dependent SRCS for google3-default Android. |
110 SRCS_ANDROID = glob( | 100 BASE_SRCS_ANDROID = glob( |
111 [ | 101 [ |
112 # TODO(benjaminwagner): Figure out how to compile with EGL. | |
113 "src/gpu/gl/GrGLDefaultInterface_none.cpp", | |
114 "src/gpu/gl/nacl/SkCreatePlatformGLContext_nacl.cpp", | |
115 "src/opts/**/*.cpp", | 102 "src/opts/**/*.cpp", |
116 "src/opts/**/*.h", | 103 "src/opts/**/*.h", |
117 "src/ports/**/*.cpp", | 104 "src/ports/**/*.cpp", |
118 "src/ports/**/*.h", | 105 "src/ports/**/*.h", |
119 ], | 106 ], |
120 exclude = [ | 107 exclude = [ |
121 "src/opts/*mips*", | 108 "src/opts/*mips*", |
122 "src/opts/*SSE2*", | 109 "src/opts/*SSE2*", |
123 "src/opts/*SSSE3*", | 110 "src/opts/*SSSE3*", |
124 "src/opts/*ssse3*", | 111 "src/opts/*ssse3*", |
(...skipping 16 matching lines...) Expand all Loading... | |
141 "src/ports/SkFontMgr_empty_factory.cpp", | 128 "src/ports/SkFontMgr_empty_factory.cpp", |
142 "src/ports/SkImageDecoder_CG.cpp", | 129 "src/ports/SkImageDecoder_CG.cpp", |
143 "src/ports/SkImageDecoder_WIC.cpp", | 130 "src/ports/SkImageDecoder_WIC.cpp", |
144 "src/ports/SkImageDecoder_empty.cpp", | 131 "src/ports/SkImageDecoder_empty.cpp", |
145 "src/ports/SkImageGenerator_none.cpp", | 132 "src/ports/SkImageGenerator_none.cpp", |
146 "src/ports/SkTLS_none.cpp", | 133 "src/ports/SkTLS_none.cpp", |
147 ], | 134 ], |
148 ) | 135 ) |
149 | 136 |
150 # Platform-dependent SRCS for google3-default iOS. | 137 # Platform-dependent SRCS for google3-default iOS. |
151 SRCS_IOS = glob( | 138 BASE_SRCS_IOS = glob( |
152 [ | 139 [ |
153 "src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp", | |
154 "src/opts/**/*.cpp", | 140 "src/opts/**/*.cpp", |
155 "src/opts/**/*.h", | 141 "src/opts/**/*.h", |
156 "src/ports/**/*.cpp", | 142 "src/ports/**/*.cpp", |
157 "src/ports/**/*.h", | 143 "src/ports/**/*.h", |
158 ], | 144 ], |
159 exclude = [ | 145 exclude = [ |
160 "src/opts/*mips*", | 146 "src/opts/*mips*", |
161 "src/opts/*NEON*", | 147 "src/opts/*NEON*", |
162 "src/opts/*neon*", | 148 "src/opts/*neon*", |
163 "src/opts/*SSE2*", | 149 "src/opts/*SSE2*", |
(...skipping 19 matching lines...) Expand all Loading... | |
183 "src/ports/SkFontMgr_custom_embedded_factory.cpp", | 169 "src/ports/SkFontMgr_custom_embedded_factory.cpp", |
184 "src/ports/SkFontMgr_empty_factory.cpp", | 170 "src/ports/SkFontMgr_empty_factory.cpp", |
185 "src/ports/SkImageDecoder_CG.cpp", | 171 "src/ports/SkImageDecoder_CG.cpp", |
186 "src/ports/SkImageDecoder_WIC.cpp", | 172 "src/ports/SkImageDecoder_WIC.cpp", |
187 "src/ports/SkImageDecoder_empty.cpp", | 173 "src/ports/SkImageDecoder_empty.cpp", |
188 "src/ports/SkImageGenerator_none.cpp", | 174 "src/ports/SkImageGenerator_none.cpp", |
189 "src/ports/SkTLS_none.cpp", | 175 "src/ports/SkTLS_none.cpp", |
190 ], | 176 ], |
191 ) | 177 ) |
192 | 178 |
193 PLATFORM_SRCS = select({ | 179 BASE_SRCS_PLATFORM = select({ |
194 CONDITION_ANDROID: SRCS_ANDROID, | 180 CONDITION_ANDROID: BASE_SRCS_ANDROID, |
195 CONDITION_IOS: SRCS_IOS, | 181 CONDITION_IOS: BASE_SRCS_IOS, |
196 "//conditions:default": SRCS_UNIX, | 182 "//conditions:default": BASE_SRCS_UNIX, |
197 }) | 183 }) |
198 | 184 |
199 SRCS_SSSE3 = glob( | 185 SSSE3_SRCS = glob( |
200 [ | 186 [ |
201 "src/opts/*SSSE3*.cpp", | 187 "src/opts/*SSSE3*.cpp", |
202 "src/opts/*ssse3*.cpp", | 188 "src/opts/*ssse3*.cpp", |
203 ], | 189 ], |
204 ) | 190 ) |
205 | 191 |
206 SRCS_SSE4 = glob( | 192 SSE4_SRCS = glob( |
207 [ | 193 [ |
208 "src/opts/*SSE4*.cpp", | 194 "src/opts/*SSE4*.cpp", |
209 "src/opts/*sse4*.cpp", | 195 "src/opts/*sse4*.cpp", |
210 ], | 196 ], |
211 ) | 197 ) |
212 | 198 |
213 HDRS = glob( | 199 BASE_HDRS = glob( |
214 [ | 200 [ |
215 "include/**/*.h", | 201 "include/**/*.h", |
216 ], | 202 ], |
217 exclude = [ | 203 exclude = [ |
218 "include/private/**/*", | 204 "include/private/**/*", |
205 "include/gpu/gl/**/*", # In :skia_gl library. | |
206 "include/utils/SkLua*", # In :skia_util library. | |
219 | 207 |
220 # Not used. | 208 # Not used. |
221 "include/animator/**/*", | 209 "include/animator/**/*", |
222 "include/views/**/*", | 210 "include/views/**/*", |
211 "include/utils/mac/**/*", | |
212 "include/utils/win/**/*", | |
223 "include/xml/SkBML_WXMLParser.h", | 213 "include/xml/SkBML_WXMLParser.h", |
224 "include/xml/SkBML_XMLParser.h", | 214 "include/xml/SkBML_XMLParser.h", |
225 ], | 215 ], |
226 ) | 216 ) |
227 | 217 |
218 # Dependencies. | |
219 BASE_DEPS_UNIX = [ | |
220 ":opts_sse4", | |
221 ":opts_ssse3", | |
222 ] | |
223 | |
224 BASE_DEPS_ANDROID = [] | |
225 | |
226 BASE_DEPS_IOS = [] | |
227 | |
228 BASE_DEPS = select({ | |
229 CONDITION_ANDROID: BASE_DEPS_ANDROID + BASE_EXTERNAL_DEPS_ANDROID, | |
230 CONDITION_IOS: BASE_DEPS_IOS + BASE_EXTERNAL_DEPS_IOS, | |
231 "//conditions:default": BASE_DEPS_UNIX + BASE_EXTERNAL_DEPS_UNIX, | |
232 }) + EXTERNAL_DEPS_ALL | |
233 | |
234 ## :skia_gl | |
235 | |
236 # Platform-independent :skia_gl SRCS. | |
237 GL_SRCS = glob( | |
238 [ | |
239 "src/gpu/gl/**/*.cpp", | |
240 "src/gpu/gl/**/*.h", | |
241 ], | |
242 exclude = [ | |
243 # Exclude platform-dependent files. | |
244 "src/gpu/gl/android/*", | |
245 "src/gpu/gl/egl/*", | |
246 "src/gpu/gl/glx/*", | |
247 "src/gpu/gl/nacl/*", | |
248 "src/gpu/gl/iOS/*", | |
249 "src/gpu/gl/mac/*", | |
250 "src/gpu/gl/win/*", | |
251 | |
252 # Exclude multiple definitions. | |
253 # TODO(mtklein): Move to opts? | |
254 "src/gpu/gl/GrGLCreateNativeInterface_none.cpp", | |
255 "src/gpu/gl/GrGLDefaultInterface_native.cpp", | |
256 "src/gpu/gl/GrGLDefaultInterface_none.cpp", | |
257 | |
258 # Exclude files that don't compile with the current DEFINES. | |
259 "src/gpu/gl/angle/*", # Requires SK_ANGLE define. | |
260 "src/gpu/gl/command_buffer/*", # unknown type name 'HMODULE' | |
261 "src/gpu/gl/mesa/*", # Requires SK_MESA define. | |
262 ], | |
263 ) | |
264 | |
265 # Platform-dependent :skia_gl SRCS for google3-default platform. | |
266 GL_SRCS_UNIX = glob( | |
267 [ | |
268 "src/gpu/gl/GrGLDefaultInterface_native.cpp", | |
269 "src/gpu/gl/glx/**/*.cpp", | |
270 "src/gpu/gl/glx/**/*.h", | |
271 ], | |
272 ) | |
273 | |
274 # Platform-dependent :skia_gl SRCS for google3-default Android. | |
275 GL_SRCS_ANDROID = glob( | |
276 [ | |
277 # TODO(benjaminwagner): Figure out how to compile with EGL. | |
278 "src/gpu/gl/GrGLDefaultInterface_none.cpp", | |
279 "src/gpu/gl/nacl/SkCreatePlatformGLContext_nacl.cpp", | |
280 ], | |
281 ) | |
282 | |
283 # Platform-dependent :skia_gl SRCS for google3-default iOS. | |
284 GL_SRCS_IOS = glob( | |
mtklein
2015/11/05 20:37:17
Is there some tool that yells at us if we write th
dogben
2015/11/06 00:18:18
Done.
| |
285 [ | |
286 "src/gpu/gl/iOS/GrGLCreateNativeInterface_iOS.cpp", | |
287 ], | |
288 ) | |
289 | |
290 GL_SRCS_PLATFORM = select({ | |
291 CONDITION_ANDROID: GL_SRCS_ANDROID, | |
292 CONDITION_IOS: GL_SRCS_IOS, | |
293 "//conditions:default": GL_SRCS_UNIX, | |
294 }) | |
295 | |
296 GL_HDRS = glob( | |
297 [ | |
298 "include/gpu/gl/**/*.h", | |
299 ], | |
300 ) | |
301 | |
302 GL_DEPS = [":skia_base"] + select({ | |
303 CONDITION_ANDROID: GL_EXTERNAL_DEPS_ANDROID, | |
304 CONDITION_IOS: GL_EXTERNAL_DEPS_IOS, | |
305 "//conditions:default": GL_EXTERNAL_DEPS_UNIX, | |
306 }) + EXTERNAL_DEPS_ALL | |
307 | |
308 ## :skia_util | |
309 | |
310 # Platform-independent :skia_util SRCS. | |
311 UTIL_SRCS = glob( | |
312 [ | |
313 "src/utils/SkLua*.cpp", | |
314 ], | |
315 ) | |
316 | |
317 UTIL_HDRS = glob( | |
318 [ | |
319 "include/utils/SkLua*.h", | |
320 ], | |
321 ) | |
322 | |
228 # Includes needed by Skia implementation. Not public includes. | 323 # Includes needed by Skia implementation. Not public includes. |
229 INCLUDES = [ | 324 INCLUDES = [ |
230 "include/c", | 325 "include/c", |
231 "include/codec", | 326 "include/codec", |
232 "include/config", | 327 "include/config", |
233 "include/core", | 328 "include/core", |
234 "include/effects", | 329 "include/effects", |
235 "include/gpu", | 330 "include/gpu", |
236 "include/images", | 331 "include/images", |
237 "include/pathops", | 332 "include/pathops", |
(...skipping 10 matching lines...) Expand all Loading... | |
248 "src/image", | 343 "src/image", |
249 "src/lazy", | 344 "src/lazy", |
250 "src/opts", | 345 "src/opts", |
251 "src/pdf", | 346 "src/pdf", |
252 "src/sfnt", | 347 "src/sfnt", |
253 "src/utils", | 348 "src/utils", |
254 "third_party/etc1", | 349 "third_party/etc1", |
255 "third_party/ktx", | 350 "third_party/ktx", |
256 ] | 351 ] |
257 | 352 |
258 # Dependencies. | 353 ## :dm |
259 DEPS_UNIX = [ | |
260 ":opts_sse4", | |
261 ":opts_ssse3", | |
262 ] | |
263 | |
264 DEPS_ANDROID = [] | |
265 | |
266 DEPS_IOS = [] | |
267 | |
268 DEPS = select({ | |
269 CONDITION_ANDROID: DEPS_ANDROID + EXTERNAL_DEPS_ANDROID, | |
270 CONDITION_IOS: DEPS_IOS + EXTERNAL_DEPS_IOS, | |
271 "//conditions:default": DEPS_UNIX + EXTERNAL_DEPS_UNIX, | |
272 }) + EXTERNAL_DEPS_ALL | |
273 | 354 |
274 # Platform-independent SRCS for DM. | 355 # Platform-independent SRCS for DM. |
275 DM_SRCS = glob( | 356 DM_SRCS = glob( |
276 [ | 357 [ |
277 "dm/*.cpp", | 358 "dm/*.cpp", |
278 "dm/*.h", | 359 "dm/*.h", |
279 "gm/*.c", | 360 "gm/*.c", |
280 "gm/*.cpp", | 361 "gm/*.cpp", |
281 "gm/*.h", | 362 "gm/*.h", |
282 "tests/*.cpp", | 363 "tests/*.cpp", |
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
397 LINKOPTS = select({ | 478 LINKOPTS = select({ |
398 CONDITION_ANDROID: [ | 479 CONDITION_ANDROID: [ |
399 "-ldl", | 480 "-ldl", |
400 "-lEGL", | 481 "-lEGL", |
401 ], | 482 ], |
402 "//conditions:default": ["-ldl"], | 483 "//conditions:default": ["-ldl"], |
403 }) | 484 }) |
404 | 485 |
405 cc_library( | 486 cc_library( |
406 name = "opts_ssse3", | 487 name = "opts_ssse3", |
407 srcs = SRCS_SSSE3, | 488 srcs = SSSE3_SRCS, |
408 copts = COPTS + ["-mssse3"], | 489 copts = COPTS + ["-mssse3"], |
409 defines = DEFINES, | 490 defines = DEFINES, |
410 includes = INCLUDES, | 491 includes = INCLUDES, |
411 deps = EXTERNAL_DEPS_ALL, | 492 deps = EXTERNAL_DEPS_ALL, |
412 ) | 493 ) |
413 | 494 |
414 cc_library( | 495 cc_library( |
415 name = "opts_sse4", | 496 name = "opts_sse4", |
416 srcs = SRCS_SSE4, | 497 srcs = SSE4_SRCS, |
417 copts = COPTS + ["-msse4"], | 498 copts = COPTS + ["-msse4"], |
418 defines = DEFINES, | 499 defines = DEFINES, |
419 includes = INCLUDES, | 500 includes = INCLUDES, |
420 deps = EXTERNAL_DEPS_ALL, | 501 deps = EXTERNAL_DEPS_ALL, |
421 ) | 502 ) |
422 | 503 |
504 # For clients that can not use :skia due to dependencies on GL or Lua. | |
423 cc_library( | 505 cc_library( |
424 name = "skia", | 506 name = "skia_base", |
425 srcs = SRCS + PLATFORM_SRCS, | 507 srcs = BASE_SRCS + BASE_SRCS_PLATFORM, |
426 hdrs = HDRS, | 508 hdrs = BASE_HDRS, |
427 copts = COPTS, | 509 copts = COPTS, |
428 defines = DEFINES, | 510 defines = DEFINES, |
429 includes = INCLUDES, | 511 includes = INCLUDES, |
430 linkopts = LINKOPTS, | 512 linkopts = LINKOPTS, |
431 visibility = [":skia_clients"], | 513 visibility = [":skia_clients"], |
432 deps = DEPS, | 514 deps = BASE_DEPS, |
433 alwayslink = 1, | 515 alwayslink = 1, |
434 ) | 516 ) |
435 | 517 |
518 cc_library( | |
519 name = "skia_gl", | |
520 srcs = GL_SRCS + GL_SRCS_PLATFORM, | |
521 hdrs = GL_HDRS, | |
522 copts = COPTS, | |
523 defines = DEFINES, | |
524 includes = INCLUDES, | |
525 linkopts = LINKOPTS, | |
526 deps = GL_DEPS, | |
527 alwayslink = 1, | |
528 ) | |
529 | |
530 cc_library( | |
mtklein
2015/11/05 20:37:17
Let's leave out Lua entirely. It's way less impor
dogben
2015/11/06 00:18:18
No. See internal CL description.
| |
531 name = "skia_util", | |
532 srcs = UTIL_SRCS, | |
533 hdrs = UTIL_HDRS, | |
534 copts = COPTS, | |
535 defines = DEFINES, | |
536 includes = INCLUDES, | |
537 linkopts = LINKOPTS, | |
538 deps = [":skia_base"] + UTIL_EXTERNAL_DEPS + EXTERNAL_DEPS_ALL, | |
539 alwayslink = 1, | |
540 ) | |
541 | |
542 cc_library( | |
543 name = "skia", | |
544 # See b/15420638 | |
545 hdrs = BASE_HDRS + GL_HDRS + UTIL_HDRS, | |
546 visibility = [":skia_clients"], | |
547 deps = [ | |
548 ":skia_base", | |
549 ":skia_gl", | |
550 ":skia_util", | |
551 ], | |
552 ) | |
553 | |
436 cc_test( | 554 cc_test( |
437 name = "dm", | 555 name = "dm", |
438 size = "large", | 556 size = "large", |
439 srcs = DM_SRCS + DM_PLATFORM_SRCS, | 557 srcs = DM_SRCS + DM_PLATFORM_SRCS, |
440 args = [ | 558 args = [ |
441 "--nogpu", | 559 "--nogpu", |
442 "--verbose", | 560 "--verbose", |
443 # TODO(mtklein): maybe investigate why these fail? | 561 # TODO(mtklein): maybe investigate why these fail? |
444 "--match ~FontMgr ~Scalar ~Canvas ~Codec_stripes ~Codec_Dimensions ~Code c ~Stream ~skps ~Math ~RecordDraw_TextBounds", | 562 "--match ~FontMgr ~Scalar ~Canvas ~Codec_stripes ~Codec_Dimensions ~Code c ~Stream ~skps ~Math ~RecordDraw_TextBounds", |
445 "--resourcePath %s/resources" % BASE_DIR, | 563 "--resourcePath %s/resources" % BASE_DIR, |
446 "--images %s/resources" % BASE_DIR, | 564 "--images %s/resources" % BASE_DIR, |
447 ], | 565 ], |
448 copts = COPTS, | 566 copts = COPTS, |
449 data = glob(["resources/**/*"]), | 567 data = glob(["resources/**/*"]), |
450 defines = DEFINES, | 568 defines = DEFINES, |
451 includes = DM_INCLUDES, | 569 includes = DM_INCLUDES, |
452 deps = DM_EXTERNAL_DEPS + [ | 570 deps = DM_EXTERNAL_DEPS + [ |
453 ":skia", | 571 ":skia", |
454 ] + EXTERNAL_DEPS_ALL, | 572 ] + EXTERNAL_DEPS_ALL, |
455 ) | 573 ) |
OLD | NEW |