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 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
400 DEFINES_UNIX = [ | 400 DEFINES_UNIX = [ |
401 "SK_BUILD_FOR_UNIX", | 401 "SK_BUILD_FOR_UNIX", |
402 "SK_SAMPLES_FOR_X", | 402 "SK_SAMPLES_FOR_X", |
403 "SK_SFNTLY_SUBSETTER", | 403 "SK_SFNTLY_SUBSETTER", |
404 ] | 404 ] |
405 | 405 |
406 DEFINES_ALL = [ | 406 DEFINES_ALL = [ |
407 # Chrome DEFINES. | 407 # Chrome DEFINES. |
408 "SK_USE_FLOATBITS", | 408 "SK_USE_FLOATBITS", |
409 "SK_USE_FREETYPE_EMBOLDEN", | 409 "SK_USE_FREETYPE_EMBOLDEN", |
| 410 # TODO(benjaminwagner): Needed for internal cl/107719535, but will be fixed |
| 411 # up after that CL is submitted. |
| 412 "SK_SUPPORT_LEGACY_SAVEFLAGS", |
410 # Turn on a few Google3-specific build fixes. | 413 # Turn on a few Google3-specific build fixes. |
411 "GOOGLE3", | 414 "GOOGLE3", |
412 ] | 415 ] |
413 | 416 |
414 DEFINES = select({ | 417 DEFINES = select({ |
415 CONDITION_ANDROID: DEFINES_ANDROID, | 418 CONDITION_ANDROID: DEFINES_ANDROID, |
416 CONDITION_IOS: DEFINES_IOS, | 419 CONDITION_IOS: DEFINES_IOS, |
417 "//conditions:default": DEFINES_UNIX, | 420 "//conditions:default": DEFINES_UNIX, |
418 }) + DEFINES_ALL | 421 }) + DEFINES_ALL |
419 | 422 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
489 "--images %s/resources" % BASE_DIR, | 492 "--images %s/resources" % BASE_DIR, |
490 ], | 493 ], |
491 copts = COPTS, | 494 copts = COPTS, |
492 data = glob(["resources/**/*"]), | 495 data = glob(["resources/**/*"]), |
493 defines = DEFINES, | 496 defines = DEFINES, |
494 includes = DM_INCLUDES, | 497 includes = DM_INCLUDES, |
495 deps = DM_EXTERNAL_DEPS + [ | 498 deps = DM_EXTERNAL_DEPS + [ |
496 ":skia", | 499 ":skia", |
497 ] + EXTERNAL_DEPS_ALL, | 500 ] + EXTERNAL_DEPS_ALL, |
498 ) | 501 ) |
OLD | NEW |