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 538 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
549 DEFINES_UNIX = [ | 549 DEFINES_UNIX = [ |
550 "PNG_SKIP_SETJMP_CHECK", | 550 "PNG_SKIP_SETJMP_CHECK", |
551 "SK_BUILD_FOR_UNIX", | 551 "SK_BUILD_FOR_UNIX", |
552 "SK_SAMPLES_FOR_X", | 552 "SK_SAMPLES_FOR_X", |
553 "SK_SFNTLY_SUBSETTER", | 553 "SK_SFNTLY_SUBSETTER", |
554 "SK_CODEC_DECODES_RAW", | 554 "SK_CODEC_DECODES_RAW", |
555 "SK_HAS_GIF_LIBRARY", | 555 "SK_HAS_GIF_LIBRARY", |
556 "SK_HAS_JPEG_LIBRARY", | 556 "SK_HAS_JPEG_LIBRARY", |
557 "SK_HAS_PNG_LIBRARY", | 557 "SK_HAS_PNG_LIBRARY", |
558 "SK_HAS_WEBP_LIBRARY", | 558 "SK_HAS_WEBP_LIBRARY", |
| 559 "TURBO_HAS_CROP", |
| 560 "TURBO_HAS_SKIP", |
| 561 "TURBO_HAS_565", |
559 ] | 562 ] |
560 | 563 |
561 DEFINES_ANDROID = [ | 564 DEFINES_ANDROID = [ |
562 "SK_BUILD_FOR_ANDROID", | 565 "SK_BUILD_FOR_ANDROID", |
563 "SK_CODEC_DECODES_RAW", | 566 "SK_CODEC_DECODES_RAW", |
564 "SK_HAS_GIF_LIBRARY", | 567 "SK_HAS_GIF_LIBRARY", |
565 "SK_HAS_JPEG_LIBRARY", | 568 "SK_HAS_JPEG_LIBRARY", |
566 "SK_HAS_PNG_LIBRARY", | 569 "SK_HAS_PNG_LIBRARY", |
567 "SK_HAS_WEBP_LIBRARY", | 570 "SK_HAS_WEBP_LIBRARY", |
| 571 "TURBO_HAS_CROP", |
| 572 "TURBO_HAS_SKIP", |
| 573 "TURBO_HAS_565", |
568 ] | 574 ] |
569 | 575 |
570 DEFINES_IOS = [ | 576 DEFINES_IOS = [ |
571 "SK_BUILD_FOR_IOS", | 577 "SK_BUILD_FOR_IOS", |
572 "SK_BUILD_NO_OPTS", | 578 "SK_BUILD_NO_OPTS", |
573 "SK_IGNORE_ETC1_SUPPORT", | 579 "SK_IGNORE_ETC1_SUPPORT", |
574 "SKNX_NO_SIMD", | 580 "SKNX_NO_SIMD", |
575 ] | 581 ] |
576 | 582 |
577 DEFINES_ALL = [ | 583 DEFINES_ALL = [ |
(...skipping 24 matching lines...) Expand all Loading... |
602 | 608 |
603 LINKOPTS_ANDROID = [ | 609 LINKOPTS_ANDROID = [ |
604 "-lEGL", | 610 "-lEGL", |
605 ] | 611 ] |
606 | 612 |
607 LINKOPTS_IOS = [] | 613 LINKOPTS_IOS = [] |
608 | 614 |
609 LINKOPTS_ALL = [ | 615 LINKOPTS_ALL = [ |
610 "-ldl", | 616 "-ldl", |
611 ] | 617 ] |
OLD | NEW |