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 532 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
543 DEFINES_ALL = [ | 543 DEFINES_ALL = [ |
544 # Chrome DEFINES. | 544 # Chrome DEFINES. |
545 "SK_USE_FLOATBITS", | 545 "SK_USE_FLOATBITS", |
546 "SK_USE_FREETYPE_EMBOLDEN", | 546 "SK_USE_FREETYPE_EMBOLDEN", |
547 # Turn on a few Google3-specific build fixes. | 547 # Turn on a few Google3-specific build fixes. |
548 "GOOGLE3", | 548 "GOOGLE3", |
549 # Staging flags for API changes | 549 # Staging flags for API changes |
550 "SK_SUPPORT_LEGACY_COLORFILTER_PTR", | 550 "SK_SUPPORT_LEGACY_COLORFILTER_PTR", |
551 "SK_SUPPORT_LEGACY_CREATESHADER_PTR", | 551 "SK_SUPPORT_LEGACY_CREATESHADER_PTR", |
552 "SK_SUPPORT_LEGACY_IMAGEFILTER_PTR", | 552 "SK_SUPPORT_LEGACY_IMAGEFILTER_PTR", |
| 553 "SK_SUPPORT_LEGACY_LAYERITER", |
553 "SK_SUPPORT_LEGACY_MINOR_EFFECT_PTR", | 554 "SK_SUPPORT_LEGACY_MINOR_EFFECT_PTR", |
554 "SK_SUPPORT_LEGACY_NEW_SURFACE_API", | 555 "SK_SUPPORT_LEGACY_NEW_SURFACE_API", |
555 "SK_SUPPORT_LEGACY_PATHEFFECT_PTR", | 556 "SK_SUPPORT_LEGACY_PATHEFFECT_PTR", |
556 "SK_SUPPORT_LEGACY_PICTURE_PTR", | 557 "SK_SUPPORT_LEGACY_PICTURE_PTR", |
557 "SK_SUPPORT_LEGACY_MASKFILTER_PTR", | 558 "SK_SUPPORT_LEGACY_MASKFILTER_PTR", |
558 "SK_SUPPORT_LEGACY_IMAGEFACTORY", | 559 "SK_SUPPORT_LEGACY_IMAGEFACTORY", |
559 "SK_SUPPORT_LEGACY_XFERMODE_PTR", | 560 "SK_SUPPORT_LEGACY_XFERMODE_PTR", |
560 ] | 561 ] |
561 | 562 |
562 ################################################################################ | 563 ################################################################################ |
563 ## LINKOPTS | 564 ## LINKOPTS |
564 ################################################################################ | 565 ################################################################################ |
565 | 566 |
566 LINKOPTS_UNIX = [] | 567 LINKOPTS_UNIX = [] |
567 | 568 |
568 LINKOPTS_ANDROID = [ | 569 LINKOPTS_ANDROID = [ |
569 "-lEGL", | 570 "-lEGL", |
570 ] | 571 ] |
571 | 572 |
572 LINKOPTS_IOS = [] | 573 LINKOPTS_IOS = [] |
573 | 574 |
574 LINKOPTS_ALL = [ | 575 LINKOPTS_ALL = [ |
575 "-ldl", | 576 "-ldl", |
576 ] | 577 ] |
OLD | NEW |