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