| 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 512 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 523 "SK_USE_FLOATBITS", | 523 "SK_USE_FLOATBITS", |
| 524 "SK_USE_FREETYPE_EMBOLDEN", | 524 "SK_USE_FREETYPE_EMBOLDEN", |
| 525 "SK_SUPPORT_LEGACY_NEW_SURFACE_API", | 525 "SK_SUPPORT_LEGACY_NEW_SURFACE_API", |
| 526 "SK_SUPPORT_LEGACY_MINOR_EFFECT_PTR", | 526 "SK_SUPPORT_LEGACY_MINOR_EFFECT_PTR", |
| 527 "SK_SUPPORT_LEGACY_PATHEFFECT_PTR", | 527 "SK_SUPPORT_LEGACY_PATHEFFECT_PTR", |
| 528 # Turn on a few Google3-specific build fixes. | 528 # Turn on a few Google3-specific build fixes. |
| 529 "GOOGLE3", | 529 "GOOGLE3", |
| 530 # Staging flags for API changes | 530 # Staging flags for API changes |
| 531 "SK_SUPPORT_LEGACY_COLORFILTER_PTR", | 531 "SK_SUPPORT_LEGACY_COLORFILTER_PTR", |
| 532 "SK_SUPPORT_LEGACY_CREATESHADER_PTR", | 532 "SK_SUPPORT_LEGACY_CREATESHADER_PTR", |
| 533 "SK_SUPPORT_LEGACY_PICTURE_PTR", |
| 533 ] | 534 ] |
| 534 | 535 |
| 535 ################################################################################ | 536 ################################################################################ |
| 536 ## LINKOPTS | 537 ## LINKOPTS |
| 537 ################################################################################ | 538 ################################################################################ |
| 538 | 539 |
| 539 LINKOPTS_UNIX = [] | 540 LINKOPTS_UNIX = [] |
| 540 | 541 |
| 541 LINKOPTS_ANDROID = [ | 542 LINKOPTS_ANDROID = [ |
| 542 "-lEGL", | 543 "-lEGL", |
| 543 ] | 544 ] |
| 544 | 545 |
| 545 LINKOPTS_IOS = [] | 546 LINKOPTS_IOS = [] |
| 546 | 547 |
| 547 LINKOPTS_ALL = [ | 548 LINKOPTS_ALL = [ |
| 548 "-ldl", | 549 "-ldl", |
| 549 ] | 550 ] |
| OLD | NEW |