|
580 | 580 | ], |
581 | 581 | 'direct_dependent_settings': { |
582 | 582 | 'sources': [ |
583 | | - '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_internal_headers.*?sources = ")', |
| 583 | + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?sources = ")', |
584 | 584 | ], |
585 | 585 | 'conditions': [ |
586 | 586 | ['v8_enable_webassembly==1', { |
587 | 587 | 'sources': [ |
588 | | - '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_internal_headers.*?v8_enable_webassembly.*?sources \\+= ")', |
| 588 | + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?v8_enable_webassembly.*?sources \\+= ")', |
589 | 589 | ], |
590 | 590 | }], |
591 | 591 | ['v8_enable_i18n_support==1', { |
592 | 592 | 'sources': [ |
593 | | - '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_internal_headers.*?v8_enable_i18n_support.*?sources \\+= ")', |
| 593 | + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?v8_enable_i18n_support.*?sources \\+= ")', |
594 | 594 | ], |
595 | 595 | }], |
596 | | - ['v8_control_flow_integrity==1', { |
| 596 | + ['v8_control_flow_integrity==0', { |
597 | 597 | 'sources': [ |
598 | | - '<(V8_ROOT)/src/execution/arm64/pointer-authentication-arm64.h', |
599 | | - ], |
600 | | - }, { |
601 | | - 'sources': [ |
602 | | - '<(V8_ROOT)/src/execution/pointer-authentication-dummy.h', |
| 598 | + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?!v8_control_flow_integrity.*?sources \\+= ")', |
603 | 599 | ], |
604 | 600 | }], |
605 | 601 | ['v8_target_arch=="ia32"', { |
606 | 602 | 'sources': [ |
607 | | - '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_internal_headers.*?v8_current_cpu == \\"x86.*?sources \\+= ")', |
| 603 | + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?v8_current_cpu == \\"x86\\".*?sources \\+= ")', |
608 | 604 | ], |
609 | 605 | }], |
610 | 606 | ['v8_target_arch=="x64"', { |
611 | 607 | 'sources': [ |
612 | | - '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_internal_headers.*?v8_current_cpu == \\"x64.*?sources \\+= ")', |
| 608 | + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?v8_current_cpu == \\"x64\\".*?sources \\+= ")', |
613 | 609 | ], |
614 | 610 | 'conditions': [ |
615 | | - ['OS=="linux" or OS=="mac" or OS=="ios" or OS=="freebsd"', { |
| 611 | + ['OS=="win"', { |
616 | 612 | 'sources': [ |
617 | | - '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_internal_headers.*?is_linux.*?sources \\+= ")', |
| 613 | + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?v8_current_cpu == \\"x64\\".*?is_win.*?sources \\+= ")', |
618 | 614 | ], |
619 | 615 | }], |
620 | | - ['OS=="win"', { |
621 | | - 'sources': [ |
622 | | - '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_internal_headers.*?is_win.*?sources \\+= ")', |
| 616 | + ['v8_enable_webassembly==1', { |
| 617 | + 'conditions': [ |
| 618 | + ['OS=="linux" or OS=="mac" or OS=="ios" or OS=="freebsd"', { |
| 619 | + 'sources': [ |
| 620 | + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?v8_current_cpu == \\"x64\\".*?v8_enable_webassembly.*?is_linux.*?sources \\+= ")', |
| 621 | + ], |
| 622 | + }], |
| 623 | + ['OS=="win"', { |
| 624 | + 'sources': [ |
| 625 | + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?v8_current_cpu == \\"x64\\".*?v8_enable_webassembly.*?is_win.*?sources \\+= ")', |
| 626 | + ], |
| 627 | + }], |
623 | 628 | ], |
624 | 629 | }], |
625 | 630 | ], |
626 | 631 | }], |
627 | 632 | ['v8_target_arch=="arm"', { |
628 | 633 | 'sources': [ |
629 | | - '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_internal_headers.*?v8_current_cpu == \\"arm.*?sources \\+= ")', |
| 634 | + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?v8_current_cpu == \\"arm\\".*?sources \\+= ")', |
630 | 635 | ], |
631 | 636 | }], |
632 | 637 | ['v8_target_arch=="arm64"', { |
633 | 638 | 'sources': [ |
634 | | - '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_internal_headers.*?v8_current_cpu == \\"arm64.*?sources \\+= ")', |
| 639 | + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?v8_current_cpu == \\"arm64\\".*?sources \\+= ")', |
635 | 640 | ], |
636 | 641 | 'conditions': [ |
637 | | - ['OS=="mac"', { |
| 642 | + ['v8_control_flow_integrity==1', { |
| 643 | + 'sources': [ |
| 644 | + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?v8_current_cpu == \\"arm64\\".*?v8_control_flow_integrity.*?sources \\+= ")', |
| 645 | + ], |
| 646 | + }], |
| 647 | + ['v8_enable_webassembly==1 and OS=="mac"', { |
638 | 648 | 'sources': [ |
639 | | - "<(V8_ROOT)/src/trap-handler/handler-inside-posix.h", |
| 649 | + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?v8_current_cpu == \\"arm64\\".*?v8_enable_webassembly.*?is_mac.*?sources \\+= ")', |
640 | 650 | ], |
641 | 651 | }], |
642 | 652 | ['OS=="win"', { |
643 | 653 | 'sources': [ |
644 | | - "<(V8_ROOT)/src/diagnostics/unwinding-info-win64.h" |
| 654 | + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?v8_current_cpu == \\"arm64\\".*?is_win.*?sources \\+= ")', |
645 | 655 | ], |
646 | 656 | }], |
647 | 657 | ], |
648 | 658 | }], |
649 | 659 | ['v8_target_arch=="mips" or v8_target_arch=="mipsel"', { |
650 | 660 | 'sources': [ |
651 | | - '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_internal_headers.*?v8_current_cpu == \\"mips\\".*?sources \\+= ")', |
| 661 | + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?v8_current_cpu == \\"mips\\".*?sources \\+= ")', |
652 | 662 | ], |
653 | 663 | }], |
654 | 664 | ['v8_target_arch=="mips64" or v8_target_arch=="mips64el"', { |
655 | 665 | 'sources': [ |
656 | | - '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_internal_headers.*?v8_current_cpu == \\"mips64\\".*?sources \\+= ")', |
| 666 | + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?v8_current_cpu == \\"mips64\\".*?sources \\+= ")', |
657 | 667 | ], |
658 | 668 | }], |
659 | 669 | ['v8_target_arch=="ppc"', { |
660 | 670 | 'sources': [ |
661 | | - '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_internal_headers.*?v8_current_cpu == \\"ppc\\".*?sources \\+= ")', |
| 671 | + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?v8_current_cpu == \\"ppc\\".*?sources \\+= ")', |
662 | 672 | ], |
663 | 673 | }], |
664 | 674 | ['v8_target_arch=="ppc64"', { |
665 | 675 | 'sources': [ |
666 | | - '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_internal_headers.*?v8_current_cpu == \\"ppc64\\".*?sources \\+= ")', |
| 676 | + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?v8_current_cpu == \\"ppc64\\".*?sources \\+= ")', |
667 | 677 | ], |
668 | 678 | }], |
669 | 679 | ['v8_target_arch=="s390x"', { |
670 | 680 | 'sources': [ |
671 | | - '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_internal_headers.*?v8_current_cpu == \\"s390\\".*?sources \\+= ")', |
| 681 | + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?v8_current_cpu == \\"s390\\".*?sources \\+= ")', |
672 | 682 | ], |
673 | 683 | }], |
674 | 684 | ['v8_target_arch=="riscv64"', { |
675 | 685 | 'sources': [ |
676 | | - '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_internal_headers.*?v8_current_cpu == \\"riscv64\\".*?sources \\+= ")', |
| 686 | + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?v8_current_cpu == \\"riscv64\\".*?sources \\+= ")', |
677 | 687 | ], |
678 | 688 | }], |
679 | 689 | ], |
|
818 | 828 | }], |
819 | 829 | ['v8_target_arch=="x64"', { |
820 | 830 | 'sources': [ |
821 | | - '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu == \\"x64.*?sources \\+= ")', |
| 831 | + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu == \\"x64\\".*?sources \\+= ")', |
822 | 832 | ], |
823 | 833 | 'conditions': [ |
824 | | - ['OS=="linux" or OS=="mac" or OS=="ios" or OS=="freebsd"', { |
| 834 | + ['OS=="win"', { |
825 | 835 | 'sources': [ |
826 | | - '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?is_linux.*?sources \\+= ")', |
| 836 | + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu == \\"x64\\".*?is_win.*?sources \\+= ")', |
827 | 837 | ], |
828 | 838 | }], |
829 | | - ['OS=="win"', { |
830 | | - 'sources': [ |
831 | | - '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?is_win.*?sources \\+= ")', |
| 839 | + ['v8_enable_webassembly==1', { |
| 840 | + 'conditions': [ |
| 841 | + ['OS=="linux" or OS=="mac" or OS=="ios" or OS=="freebsd"', { |
| 842 | + 'sources': [ |
| 843 | + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu == \\"x64\\".*?v8_enable_webassembly.*?is_linux.*?sources \\+= ")', |
| 844 | + ], |
| 845 | + }], |
| 846 | + ['OS=="win"', { |
| 847 | + 'sources': [ |
| 848 | + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_current_cpu == \\"x64\\".*?v8_enable_webassembly.*?is_win.*?sources \\+= ")', |
| 849 | + ], |
| 850 | + }], |
832 | 851 | ], |
833 | 852 | }], |
834 | 853 | ], |
|
1583 | 1602 | 'sources': [ |
1584 | 1603 | '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_source_set.\\"v8_bigint.*?sources = ")', |
1585 | 1604 | ], |
| 1605 | + 'conditions': [ |
| 1606 | + ['v8_advanced_bigint_algorithms==1', { |
| 1607 | + 'sources': [ |
| 1608 | + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_source_set.\\"v8_bigint.*?v8_advanced_bigint_algorithms.*?sources \\+= ")', |
| 1609 | + ], |
| 1610 | + 'defines': [ |
| 1611 | + 'V8_ADVANCED_BIGINT_ALGORITHMS', |
| 1612 | + ], |
| 1613 | + }], |
| 1614 | + ], |
1586 | 1615 | }, |
1587 | 1616 | }, # v8_bigint |
1588 | 1617 | { |
|
0 commit comments