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 599 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
610 "SK_SUPPORT_LEGACY_CREATESHADER_PTR", | 610 "SK_SUPPORT_LEGACY_CREATESHADER_PTR", |
611 "SK_SUPPORT_LEGACY_IMAGEFACTORY", | 611 "SK_SUPPORT_LEGACY_IMAGEFACTORY", |
612 "SK_SUPPORT_LEGACY_IMAGEFILTER_PTR", | 612 "SK_SUPPORT_LEGACY_IMAGEFILTER_PTR", |
613 "SK_SUPPORT_LEGACY_MASKFILTER_PTR", | 613 "SK_SUPPORT_LEGACY_MASKFILTER_PTR", |
614 "SK_SUPPORT_LEGACY_MINOR_EFFECT_PTR", | 614 "SK_SUPPORT_LEGACY_MINOR_EFFECT_PTR", |
615 "SK_SUPPORT_LEGACY_NEW_SURFACE_API", | 615 "SK_SUPPORT_LEGACY_NEW_SURFACE_API", |
616 "SK_SUPPORT_LEGACY_PATHEFFECT_PTR", | 616 "SK_SUPPORT_LEGACY_PATHEFFECT_PTR", |
617 "SK_SUPPORT_LEGACY_PICTURE_PTR", | 617 "SK_SUPPORT_LEGACY_PICTURE_PTR", |
618 "SK_SUPPORT_LEGACY_TYPEFACE_PTR", | 618 "SK_SUPPORT_LEGACY_TYPEFACE_PTR", |
619 "SK_SUPPORT_LEGACY_XFERMODE_PTR", | 619 "SK_SUPPORT_LEGACY_XFERMODE_PTR", |
| 620 "SK_SUPPORT_LEGACY_DATA_FACTORIES", |
620 ] | 621 ] |
621 | 622 |
622 ################################################################################ | 623 ################################################################################ |
623 ## LINKOPTS | 624 ## LINKOPTS |
624 ################################################################################ | 625 ################################################################################ |
625 | 626 |
626 LINKOPTS_UNIX = [] | 627 LINKOPTS_UNIX = [] |
627 | 628 |
628 LINKOPTS_ANDROID = [ | 629 LINKOPTS_ANDROID = [ |
629 "-lEGL", | 630 "-lEGL", |
630 ] | 631 ] |
631 | 632 |
632 LINKOPTS_IOS = [] | 633 LINKOPTS_IOS = [] |
633 | 634 |
634 LINKOPTS_ALL = [ | 635 LINKOPTS_ALL = [ |
635 "-ldl", | 636 "-ldl", |
636 ] | 637 ] |
OLD | NEW |