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 594 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
605 "SK_SUPPORT_LEGACY_IMAGEFILTER_PTR", | 605 "SK_SUPPORT_LEGACY_IMAGEFILTER_PTR", |
606 "SK_SUPPORT_LEGACY_MASKFILTER_PTR", | 606 "SK_SUPPORT_LEGACY_MASKFILTER_PTR", |
607 "SK_SUPPORT_LEGACY_MINOR_EFFECT_PTR", | 607 "SK_SUPPORT_LEGACY_MINOR_EFFECT_PTR", |
608 "SK_SUPPORT_LEGACY_NEW_SURFACE_API", | 608 "SK_SUPPORT_LEGACY_NEW_SURFACE_API", |
609 "SK_SUPPORT_LEGACY_PATHEFFECT_PTR", | 609 "SK_SUPPORT_LEGACY_PATHEFFECT_PTR", |
610 "SK_SUPPORT_LEGACY_PICTURE_PTR", | 610 "SK_SUPPORT_LEGACY_PICTURE_PTR", |
611 "SK_SUPPORT_LEGACY_TYPEFACE_PTR", | 611 "SK_SUPPORT_LEGACY_TYPEFACE_PTR", |
612 "SK_SUPPORT_LEGACY_XFERMODE_PTR", | 612 "SK_SUPPORT_LEGACY_XFERMODE_PTR", |
613 "SK_SUPPORT_LEGACY_PICTUREINSTALLPIXELREF", | 613 "SK_SUPPORT_LEGACY_PICTUREINSTALLPIXELREF", |
614 "SK_SUPPORT_LEGACY_STREAM_DATA", | 614 "SK_SUPPORT_LEGACY_STREAM_DATA", |
| 615 "SK_SUPPORT_LEGACY_TEXTBLOB_BUILDER", |
615 ] | 616 ] |
616 | 617 |
617 ################################################################################ | 618 ################################################################################ |
618 ## LINKOPTS | 619 ## LINKOPTS |
619 ################################################################################ | 620 ################################################################################ |
620 | 621 |
621 LINKOPTS_UNIX = [] | 622 LINKOPTS_UNIX = [] |
622 | 623 |
623 LINKOPTS_ANDROID = [ | 624 LINKOPTS_ANDROID = [ |
624 "-lEGL", | 625 "-lEGL", |
625 ] | 626 ] |
626 | 627 |
627 LINKOPTS_IOS = [] | 628 LINKOPTS_IOS = [] |
628 | 629 |
629 LINKOPTS_ALL = [ | 630 LINKOPTS_ALL = [ |
630 "-ldl", | 631 "-ldl", |
631 ] | 632 ] |
OLD | NEW |