| 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", | |
| 390 # Chrome DEFINES. | 388 # Chrome DEFINES. |
| 391 "SK_USE_FLOATBITS", | 389 "SK_USE_FLOATBITS", |
| 392 "SK_USE_FREETYPE_EMBOLDEN", | 390 "SK_USE_FREETYPE_EMBOLDEN", |
| 393 # Turn on a few Google3-specific build fixes. | 391 # Turn on a few Google3-specific build fixes. |
| 394 "GOOGLE3", | 392 "GOOGLE3", |
| 395 ] | 393 ] |
| 396 | 394 |
| 397 DEFINES = select({ | 395 DEFINES = select({ |
| 398 CONDITION_ANDROID: DEFINES_ANDROID, | 396 CONDITION_ANDROID: DEFINES_ANDROID, |
| 399 CONDITION_IOS: DEFINES_IOS, | 397 CONDITION_IOS: DEFINES_IOS, |
| (...skipping 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 454 "--images %s/resources" % BASE_DIR, | 452 "--images %s/resources" % BASE_DIR, |
| 455 ], | 453 ], |
| 456 copts = COPTS, | 454 copts = COPTS, |
| 457 data = glob(["resources/**/*"]), | 455 data = glob(["resources/**/*"]), |
| 458 defines = DEFINES, | 456 defines = DEFINES, |
| 459 includes = DM_INCLUDES, | 457 includes = DM_INCLUDES, |
| 460 deps = DM_EXTERNAL_DEPS + [ | 458 deps = DM_EXTERNAL_DEPS + [ |
| 461 ":skia", | 459 ":skia", |
| 462 ] + EXTERNAL_DEPS_ALL, | 460 ] + EXTERNAL_DEPS_ALL, |
| 463 ) | 461 ) |
| OLD | NEW |