| 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 526 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 537 # Turn on a few Google3-specific build fixes. | 537 # Turn on a few Google3-specific build fixes. |
| 538 "GOOGLE3", | 538 "GOOGLE3", |
| 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_XFERMODE_PTR", | 548 "SK_SUPPORT_LEGACY_XFERMODE_PTR", |
| 548 ] | 549 ] |
| 549 | 550 |
| 550 ################################################################################ | 551 ################################################################################ |
| 551 ## LINKOPTS | 552 ## LINKOPTS |
| 552 ################################################################################ | 553 ################################################################################ |
| 553 | 554 |
| 554 LINKOPTS_UNIX = [] | 555 LINKOPTS_UNIX = [] |
| 555 | 556 |
| 556 LINKOPTS_ANDROID = [ | 557 LINKOPTS_ANDROID = [ |
| 557 "-lEGL", | 558 "-lEGL", |
| 558 ] | 559 ] |
| 559 | 560 |
| 560 LINKOPTS_IOS = [] | 561 LINKOPTS_IOS = [] |
| 561 | 562 |
| 562 LINKOPTS_ALL = [ | 563 LINKOPTS_ALL = [ |
| 563 "-ldl", | 564 "-ldl", |
| 564 ] | 565 ] |
| OLD | NEW |