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 549 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
560 COPTS_ALL = [] | 560 COPTS_ALL = [] |
561 | 561 |
562 ################################################################################ | 562 ################################################################################ |
563 ## DEFINES | 563 ## DEFINES |
564 ################################################################################ | 564 ################################################################################ |
565 | 565 |
566 DEFINES_UNIX = [ | 566 DEFINES_UNIX = [ |
567 "PNG_SKIP_SETJMP_CHECK", | 567 "PNG_SKIP_SETJMP_CHECK", |
568 "SK_BUILD_FOR_UNIX", | 568 "SK_BUILD_FOR_UNIX", |
569 "SK_SAMPLES_FOR_X", | 569 "SK_SAMPLES_FOR_X", |
570 "SK_SFNTLY_SUBSETTER", | 570 "SK_PDF_USE_SFNTLY", |
571 "SK_CODEC_DECODES_RAW", | 571 "SK_CODEC_DECODES_RAW", |
572 "SK_HAS_GIF_LIBRARY", | 572 "SK_HAS_GIF_LIBRARY", |
573 "SK_HAS_JPEG_LIBRARY", | 573 "SK_HAS_JPEG_LIBRARY", |
574 "SK_HAS_PNG_LIBRARY", | 574 "SK_HAS_PNG_LIBRARY", |
575 "SK_HAS_WEBP_LIBRARY", | 575 "SK_HAS_WEBP_LIBRARY", |
576 ] | 576 ] |
577 | 577 |
578 DEFINES_ANDROID = [ | 578 DEFINES_ANDROID = [ |
579 "SK_BUILD_FOR_ANDROID", | 579 "SK_BUILD_FOR_ANDROID", |
580 "SK_CODEC_DECODES_RAW", | 580 "SK_CODEC_DECODES_RAW", |
(...skipping 41 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
622 | 622 |
623 LINKOPTS_ANDROID = [ | 623 LINKOPTS_ANDROID = [ |
624 "-lEGL", | 624 "-lEGL", |
625 ] | 625 ] |
626 | 626 |
627 LINKOPTS_IOS = [] | 627 LINKOPTS_IOS = [] |
628 | 628 |
629 LINKOPTS_ALL = [ | 629 LINKOPTS_ALL = [ |
630 "-ldl", | 630 "-ldl", |
631 ] | 631 ] |
OLD | NEW |