OLD | NEW |
1 ################################################################################ | 1 ################################################################################ |
2 # Skylark macros | 2 # Skylark macros |
3 ################################################################################ | 3 ################################################################################ |
4 | 4 |
5 is_bazel = not hasattr(native, "genmpm") | 5 is_bazel = not hasattr(native, "genmpm") |
6 | 6 |
7 def portable_select(select_dict, bazel_condition, default_condition): | 7 def portable_select(select_dict, bazel_condition, default_condition): |
8 """Replaces select() with a Bazel-friendly wrapper. | 8 """Replaces select() with a Bazel-friendly wrapper. |
9 | 9 |
10 Args: | 10 Args: |
(...skipping 508 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
519 "SK_USE_FREETYPE_EMBOLDEN", | 519 "SK_USE_FREETYPE_EMBOLDEN", |
520 "SK_SUPPORT_LEGACY_NEW_SURFACE_API", | 520 "SK_SUPPORT_LEGACY_NEW_SURFACE_API", |
521 "SK_SUPPORT_LEGACY_MINOR_EFFECT_PTR", | 521 "SK_SUPPORT_LEGACY_MINOR_EFFECT_PTR", |
522 "SK_SUPPORT_LEGACY_PATHEFFECT_PTR", | 522 "SK_SUPPORT_LEGACY_PATHEFFECT_PTR", |
523 # Turn on a few Google3-specific build fixes. | 523 # Turn on a few Google3-specific build fixes. |
524 "GOOGLE3", | 524 "GOOGLE3", |
525 # Staging flags for API changes | 525 # Staging flags for API changes |
526 "SK_SUPPORT_LEGACY_COLORFILTER_PTR", | 526 "SK_SUPPORT_LEGACY_COLORFILTER_PTR", |
527 "SK_SUPPORT_LEGACY_CREATESHADER_PTR", | 527 "SK_SUPPORT_LEGACY_CREATESHADER_PTR", |
528 "SK_SUPPORT_LEGACY_PICTURE_PTR", | 528 "SK_SUPPORT_LEGACY_PICTURE_PTR", |
| 529 "SK_SUPPORT_LEGACY_XFERMODE_PTR", |
529 ] | 530 ] |
530 | 531 |
531 ################################################################################ | 532 ################################################################################ |
532 ## LINKOPTS | 533 ## LINKOPTS |
533 ################################################################################ | 534 ################################################################################ |
534 | 535 |
535 LINKOPTS_UNIX = [] | 536 LINKOPTS_UNIX = [] |
536 | 537 |
537 LINKOPTS_ANDROID = [ | 538 LINKOPTS_ANDROID = [ |
538 "-lEGL", | 539 "-lEGL", |
539 ] | 540 ] |
540 | 541 |
541 LINKOPTS_IOS = [] | 542 LINKOPTS_IOS = [] |
542 | 543 |
543 LINKOPTS_ALL = [ | 544 LINKOPTS_ALL = [ |
544 "-ldl", | 545 "-ldl", |
545 ] | 546 ] |
OLD | NEW |