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 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
609 "SK_SUPPORT_LEGACY_COLORFILTER_PTR", | 609 "SK_SUPPORT_LEGACY_COLORFILTER_PTR", |
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_PATHEFFECT_PTR", | 615 "SK_SUPPORT_LEGACY_PATHEFFECT_PTR", |
616 "SK_SUPPORT_LEGACY_PICTURE_PTR", | 616 "SK_SUPPORT_LEGACY_PICTURE_PTR", |
617 "SK_SUPPORT_LEGACY_TYPEFACE_PTR", | 617 "SK_SUPPORT_LEGACY_TYPEFACE_PTR", |
618 "SK_SUPPORT_LEGACY_XFERMODE_PTR", | 618 "SK_SUPPORT_LEGACY_XFERMODE_PTR", |
619 "SK_SUPPORT_LEGACY_DATA_FACTORIES", | |
620 ] | 619 ] |
621 | 620 |
622 ################################################################################ | 621 ################################################################################ |
623 ## LINKOPTS | 622 ## LINKOPTS |
624 ################################################################################ | 623 ################################################################################ |
625 | 624 |
626 LINKOPTS_UNIX = [] | 625 LINKOPTS_UNIX = [] |
627 | 626 |
628 LINKOPTS_ANDROID = [ | 627 LINKOPTS_ANDROID = [ |
629 "-lEGL", | 628 "-lEGL", |
630 ] | 629 ] |
631 | 630 |
632 LINKOPTS_IOS = [] | 631 LINKOPTS_IOS = [] |
633 | 632 |
634 LINKOPTS_ALL = [ | 633 LINKOPTS_ALL = [ |
635 "-ldl", | 634 "-ldl", |
636 ] | 635 ] |
OLD | NEW |