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 536 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
547 "GOOGLE3", | 547 "GOOGLE3", |
548 # Staging flags for API changes | 548 # Staging flags for API changes |
549 "SK_SUPPORT_LEGACY_COLORFILTER_PTR", | 549 "SK_SUPPORT_LEGACY_COLORFILTER_PTR", |
550 "SK_SUPPORT_LEGACY_CREATESHADER_PTR", | 550 "SK_SUPPORT_LEGACY_CREATESHADER_PTR", |
551 "SK_SUPPORT_LEGACY_IMAGEFILTER_PTR", | 551 "SK_SUPPORT_LEGACY_IMAGEFILTER_PTR", |
552 "SK_SUPPORT_LEGACY_MINOR_EFFECT_PTR", | 552 "SK_SUPPORT_LEGACY_MINOR_EFFECT_PTR", |
553 "SK_SUPPORT_LEGACY_NEW_SURFACE_API", | 553 "SK_SUPPORT_LEGACY_NEW_SURFACE_API", |
554 "SK_SUPPORT_LEGACY_PATHEFFECT_PTR", | 554 "SK_SUPPORT_LEGACY_PATHEFFECT_PTR", |
555 "SK_SUPPORT_LEGACY_PICTURE_PTR", | 555 "SK_SUPPORT_LEGACY_PICTURE_PTR", |
556 "SK_SUPPORT_LEGACY_MASKFILTER_PTR", | 556 "SK_SUPPORT_LEGACY_MASKFILTER_PTR", |
| 557 "SK_SUPPORT_LEGACY_IMAGEFACTORY", |
557 "SK_SUPPORT_LEGACY_XFERMODE_PTR", | 558 "SK_SUPPORT_LEGACY_XFERMODE_PTR", |
558 ] | 559 ] |
559 | 560 |
560 ################################################################################ | 561 ################################################################################ |
561 ## LINKOPTS | 562 ## LINKOPTS |
562 ################################################################################ | 563 ################################################################################ |
563 | 564 |
564 LINKOPTS_UNIX = [] | 565 LINKOPTS_UNIX = [] |
565 | 566 |
566 LINKOPTS_ANDROID = [ | 567 LINKOPTS_ANDROID = [ |
567 "-lEGL", | 568 "-lEGL", |
568 ] | 569 ] |
569 | 570 |
570 LINKOPTS_IOS = [] | 571 LINKOPTS_IOS = [] |
571 | 572 |
572 LINKOPTS_ALL = [ | 573 LINKOPTS_ALL = [ |
573 "-ldl", | 574 "-ldl", |
574 ] | 575 ] |
OLD | NEW |