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 583 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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_ARITHMETICMODE", |
602 "SK_SUPPORT_LEGACY_COLORFILTER_PTR", | 602 "SK_SUPPORT_LEGACY_COLORFILTER_PTR", |
603 "SK_SUPPORT_LEGACY_CREATESHADER_PTR", | 603 "SK_SUPPORT_LEGACY_CREATESHADER_PTR", |
604 "SK_SUPPORT_LEGACY_HAIRLINE_END_CAP", | |
605 "SK_SUPPORT_LEGACY_IMAGEFACTORY", | 604 "SK_SUPPORT_LEGACY_IMAGEFACTORY", |
606 "SK_SUPPORT_LEGACY_IMAGEFILTER_PTR", | 605 "SK_SUPPORT_LEGACY_IMAGEFILTER_PTR", |
607 "SK_SUPPORT_LEGACY_MASKFILTER_PTR", | 606 "SK_SUPPORT_LEGACY_MASKFILTER_PTR", |
608 "SK_SUPPORT_LEGACY_MINOR_EFFECT_PTR", | 607 "SK_SUPPORT_LEGACY_MINOR_EFFECT_PTR", |
609 "SK_SUPPORT_LEGACY_NEW_SURFACE_API", | 608 "SK_SUPPORT_LEGACY_NEW_SURFACE_API", |
610 "SK_SUPPORT_LEGACY_PATHEFFECT_PTR", | 609 "SK_SUPPORT_LEGACY_PATHEFFECT_PTR", |
611 "SK_SUPPORT_LEGACY_PICTURE_PTR", | 610 "SK_SUPPORT_LEGACY_PICTURE_PTR", |
612 "SK_SUPPORT_LEGACY_TYPEFACE_PTR", | 611 "SK_SUPPORT_LEGACY_TYPEFACE_PTR", |
613 "SK_SUPPORT_LEGACY_XFERMODE_PTR", | 612 "SK_SUPPORT_LEGACY_XFERMODE_PTR", |
614 "SK_SUPPORT_LEGACY_PICTUREINSTALLPIXELREF", | 613 "SK_SUPPORT_LEGACY_PICTUREINSTALLPIXELREF", |
(...skipping 11 matching lines...) Expand all Loading... |
626 | 625 |
627 LINKOPTS_ANDROID = [ | 626 LINKOPTS_ANDROID = [ |
628 "-lEGL", | 627 "-lEGL", |
629 ] | 628 ] |
630 | 629 |
631 LINKOPTS_IOS = [] | 630 LINKOPTS_IOS = [] |
632 | 631 |
633 LINKOPTS_ALL = [ | 632 LINKOPTS_ALL = [ |
634 "-ldl", | 633 "-ldl", |
635 ] | 634 ] |
OLD | NEW |