| 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 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 539 # Staging flags for API changes | 539 # Staging flags for API changes |
| 540 "SK_SUPPORT_LEGACY_COLORFILTER_PTR", | 540 "SK_SUPPORT_LEGACY_COLORFILTER_PTR", |
| 541 "SK_SUPPORT_LEGACY_CREATESHADER_PTR", | 541 "SK_SUPPORT_LEGACY_CREATESHADER_PTR", |
| 542 "SK_SUPPORT_LEGACY_IMAGEFILTER_PTR", | 542 "SK_SUPPORT_LEGACY_IMAGEFILTER_PTR", |
| 543 "SK_SUPPORT_LEGACY_MINOR_EFFECT_PTR", | 543 "SK_SUPPORT_LEGACY_MINOR_EFFECT_PTR", |
| 544 "SK_SUPPORT_LEGACY_NEW_SURFACE_API", | 544 "SK_SUPPORT_LEGACY_NEW_SURFACE_API", |
| 545 "SK_SUPPORT_LEGACY_PATHEFFECT_PTR", | 545 "SK_SUPPORT_LEGACY_PATHEFFECT_PTR", |
| 546 "SK_SUPPORT_LEGACY_PICTURE_PTR", | 546 "SK_SUPPORT_LEGACY_PICTURE_PTR", |
| 547 "SK_SUPPORT_LEGACY_MASKFILTER_PTR", | 547 "SK_SUPPORT_LEGACY_MASKFILTER_PTR", |
| 548 "SK_SUPPORT_LEGACY_XFERMODE_PTR", | 548 "SK_SUPPORT_LEGACY_XFERMODE_PTR", |
| 549 "SK_VERY_LEGACY_CREATE_TYPEFACE", |
| 549 ] | 550 ] |
| 550 | 551 |
| 551 ################################################################################ | 552 ################################################################################ |
| 552 ## LINKOPTS | 553 ## LINKOPTS |
| 553 ################################################################################ | 554 ################################################################################ |
| 554 | 555 |
| 555 LINKOPTS_UNIX = [] | 556 LINKOPTS_UNIX = [] |
| 556 | 557 |
| 557 LINKOPTS_ANDROID = [ | 558 LINKOPTS_ANDROID = [ |
| 558 "-lEGL", | 559 "-lEGL", |
| 559 ] | 560 ] |
| 560 | 561 |
| 561 LINKOPTS_IOS = [] | 562 LINKOPTS_IOS = [] |
| 562 | 563 |
| 563 LINKOPTS_ALL = [ | 564 LINKOPTS_ALL = [ |
| 564 "-ldl", | 565 "-ldl", |
| 565 ] | 566 ] |
| OLD | NEW |