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 # All platform-independent SRCS. | 8 # All platform-independent SRCS. |
9 BASE_SRCS = glob( | 9 BASE_SRCS = glob( |
10 [ | 10 [ |
(...skipping 367 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
378 "SK_BUILD_FOR_IOS", | 378 "SK_BUILD_FOR_IOS", |
379 "SK_IGNORE_ETC1_SUPPORT", | 379 "SK_IGNORE_ETC1_SUPPORT", |
380 ] | 380 ] |
381 | 381 |
382 DEFINES_UNIX = [ | 382 DEFINES_UNIX = [ |
383 "SK_BUILD_FOR_UNIX", | 383 "SK_BUILD_FOR_UNIX", |
384 "SK_SAMPLES_FOR_X", | 384 "SK_SAMPLES_FOR_X", |
385 ] | 385 ] |
386 | 386 |
387 DEFINES_ALL = [ | 387 DEFINES_ALL = [ |
| 388 # https://codereview.chromium.org/1491843006 somehow breaks fills. |
| 389 "SK_SUPPORT_LEGACY_HAIR_IGNORES_CAPS", |
388 # Chrome DEFINES. | 390 # Chrome DEFINES. |
389 "SK_USE_FLOATBITS", | 391 "SK_USE_FLOATBITS", |
390 "SK_USE_FREETYPE_EMBOLDEN", | 392 "SK_USE_FREETYPE_EMBOLDEN", |
391 # Turn on a few Google3-specific build fixes. | 393 # Turn on a few Google3-specific build fixes. |
392 "GOOGLE3", | 394 "GOOGLE3", |
393 ] | 395 ] |
394 | 396 |
395 DEFINES = select({ | 397 DEFINES = select({ |
396 CONDITION_ANDROID: DEFINES_ANDROID, | 398 CONDITION_ANDROID: DEFINES_ANDROID, |
397 CONDITION_IOS: DEFINES_IOS, | 399 CONDITION_IOS: DEFINES_IOS, |
(...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
452 "--images %s/resources" % BASE_DIR, | 454 "--images %s/resources" % BASE_DIR, |
453 ], | 455 ], |
454 copts = COPTS, | 456 copts = COPTS, |
455 data = glob(["resources/**/*"]), | 457 data = glob(["resources/**/*"]), |
456 defines = DEFINES, | 458 defines = DEFINES, |
457 includes = DM_INCLUDES, | 459 includes = DM_INCLUDES, |
458 deps = DM_EXTERNAL_DEPS + [ | 460 deps = DM_EXTERNAL_DEPS + [ |
459 ":skia", | 461 ":skia", |
460 ] + EXTERNAL_DEPS_ALL, | 462 ] + EXTERNAL_DEPS_ALL, |
461 ) | 463 ) |
OLD | NEW |