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", | |
413 # Turn on a few Google3-specific build fixes. | 410 # Turn on a few Google3-specific build fixes. |
414 "GOOGLE3", | 411 "GOOGLE3", |
415 ] | 412 ] |
416 | 413 |
417 DEFINES = select({ | 414 DEFINES = select({ |
418 CONDITION_ANDROID: DEFINES_ANDROID, | 415 CONDITION_ANDROID: DEFINES_ANDROID, |
419 CONDITION_IOS: DEFINES_IOS, | 416 CONDITION_IOS: DEFINES_IOS, |
420 "//conditions:default": DEFINES_UNIX, | 417 "//conditions:default": DEFINES_UNIX, |
421 }) + DEFINES_ALL | 418 }) + DEFINES_ALL |
422 | 419 |
(...skipping 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
492 "--images %s/resources" % BASE_DIR, | 489 "--images %s/resources" % BASE_DIR, |
493 ], | 490 ], |
494 copts = COPTS, | 491 copts = COPTS, |
495 data = glob(["resources/**/*"]), | 492 data = glob(["resources/**/*"]), |
496 defines = DEFINES, | 493 defines = DEFINES, |
497 includes = DM_INCLUDES, | 494 includes = DM_INCLUDES, |
498 deps = DM_EXTERNAL_DEPS + [ | 495 deps = DM_EXTERNAL_DEPS + [ |
499 ":skia", | 496 ":skia", |
500 ] + EXTERNAL_DEPS_ALL, | 497 ] + EXTERNAL_DEPS_ALL, |
501 ) | 498 ) |
OLD | NEW |