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 580 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
591 ] | 591 ] |
592 | 592 |
593 DEFINES_ALL = [ | 593 DEFINES_ALL = [ |
594 # Chrome DEFINES. | 594 # Chrome DEFINES. |
595 "SK_USE_FLOATBITS", | 595 "SK_USE_FLOATBITS", |
596 "SK_USE_FREETYPE_EMBOLDEN", | 596 "SK_USE_FREETYPE_EMBOLDEN", |
597 # Turn on a few Google3-specific build fixes. | 597 # Turn on a few Google3-specific build fixes. |
598 "GOOGLE3", | 598 "GOOGLE3", |
599 # Staging flags for API changes | 599 # Staging flags for API changes |
600 "SK_SUPPORT_LEGACY_ACCESSBITMAP", | 600 "SK_SUPPORT_LEGACY_ACCESSBITMAP", |
| 601 "SK_SUPPORT_LEGACY_ARITHMETICMODE", |
601 "SK_SUPPORT_LEGACY_COLORFILTER_PTR", | 602 "SK_SUPPORT_LEGACY_COLORFILTER_PTR", |
602 "SK_SUPPORT_LEGACY_CREATESHADER_PTR", | 603 "SK_SUPPORT_LEGACY_CREATESHADER_PTR", |
603 "SK_SUPPORT_LEGACY_IMAGEFACTORY", | 604 "SK_SUPPORT_LEGACY_IMAGEFACTORY", |
604 "SK_SUPPORT_LEGACY_IMAGEFILTER_PTR", | 605 "SK_SUPPORT_LEGACY_IMAGEFILTER_PTR", |
605 "SK_SUPPORT_LEGACY_MASKFILTER_PTR", | 606 "SK_SUPPORT_LEGACY_MASKFILTER_PTR", |
606 "SK_SUPPORT_LEGACY_MINOR_EFFECT_PTR", | 607 "SK_SUPPORT_LEGACY_MINOR_EFFECT_PTR", |
607 "SK_SUPPORT_LEGACY_NEW_SURFACE_API", | 608 "SK_SUPPORT_LEGACY_NEW_SURFACE_API", |
608 "SK_SUPPORT_LEGACY_PATHEFFECT_PTR", | 609 "SK_SUPPORT_LEGACY_PATHEFFECT_PTR", |
609 "SK_SUPPORT_LEGACY_PICTURE_PTR", | 610 "SK_SUPPORT_LEGACY_PICTURE_PTR", |
610 "SK_SUPPORT_LEGACY_TYPEFACE_PTR", | 611 "SK_SUPPORT_LEGACY_TYPEFACE_PTR", |
(...skipping 12 matching lines...) Expand all Loading... |
623 | 624 |
624 LINKOPTS_ANDROID = [ | 625 LINKOPTS_ANDROID = [ |
625 "-lEGL", | 626 "-lEGL", |
626 ] | 627 ] |
627 | 628 |
628 LINKOPTS_IOS = [] | 629 LINKOPTS_IOS = [] |
629 | 630 |
630 LINKOPTS_ALL = [ | 631 LINKOPTS_ALL = [ |
631 "-ldl", | 632 "-ldl", |
632 ] | 633 ] |
OLD | NEW |