|
468 | 468 | 'direct_dependent_settings': {
|
469 | 469 | 'sources': [
|
470 | 470 | '<(V8_ROOT)/include/v8-platform.h',
|
| 471 | + '<(V8_ROOT)/include/v8-source-location.h', |
471 | 472 | '<(V8_ROOT)/include/v8config.h',
|
472 | 473 | ],
|
473 | 474 | },
|
|
541 | 542 | '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?sources = ")',
|
542 | 543 | ],
|
543 | 544 | 'conditions': [
|
| 545 | + ['v8_enable_snapshot_compression==1', { |
| 546 | + 'sources': [ |
| 547 | + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?v8_enable_snapshot_compression.*?sources \\+= ")', |
| 548 | + ], |
| 549 | + }], |
544 | 550 | ['v8_enable_maglev==1', {
|
545 | 551 | 'sources': [
|
546 | 552 | '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?v8_enable_maglev.*?sources \\+= ")',
|
|
568 | 574 | '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?v8_enable_i18n_support.*?sources \\+= ")',
|
569 | 575 | ],
|
570 | 576 | }],
|
571 |
| - ['v8_enable_snapshot_compression==1', { |
572 |
| - 'sources': [ |
573 |
| - '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?v8_enable_snapshot_compression.*?sources \\+= ")', |
574 |
| - ], |
575 |
| - }], |
576 | 577 | ['v8_control_flow_integrity==0', {
|
577 | 578 | 'sources': [
|
578 | 579 | '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?!v8_control_flow_integrity.*?sources \\+= ")',
|
|
602 | 603 | 'conditions': [
|
603 | 604 | ['OS=="linux" or OS=="mac" or OS=="ios" or OS=="freebsd"', {
|
604 | 605 | 'sources': [
|
605 |
| - '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?v8_enable_i18n_support.*?v8_current_cpu == \\"x64\\".*?v8_enable_webassembly.*?is_linux.*?sources \\+= ")', |
| 606 | + '<(V8_ROOT)/src/trap-handler/handler-inside-posix.h', |
606 | 607 | ],
|
607 | 608 | }],
|
608 | 609 | ['OS=="win"', {
|
609 | 610 | 'sources': [
|
610 |
| - '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_header_set.\\"v8_internal_headers\\".*?v8_enable_i18n_support.*?v8_current_cpu == \\"x64\\".*?v8_enable_webassembly.*?is_win.*?sources \\+= ")', |
| 611 | + '<(V8_ROOT)/src/trap-handler/handler-inside-win.h', |
611 | 612 | ],
|
612 | 613 | }],
|
613 | 614 | ],
|
|
631 | 632 | }],
|
632 | 633 | ['v8_enable_webassembly==1', {
|
633 | 634 | 'conditions': [
|
634 |
| - ['OS=="mac" or (_toolset=="host" and host_arch=="x64" and OS=="linux")', { |
| 635 | + ['((_toolset=="host" and host_arch=="arm64" or _toolset=="target" and target_arch=="arm64") and (OS=="linux" or OS=="mac")) or ((_toolset=="host" and host_arch=="x64" or _toolset=="target" and target_arch=="x64") and (OS=="linux" or OS=="mac"))', { |
635 | 636 | 'sources': [
|
636 | 637 | '<(V8_ROOT)/src/trap-handler/handler-inside-posix.h',
|
637 | 638 | ],
|
638 | 639 | }],
|
639 |
| - ['_toolset=="host" and host_arch=="x64" and (OS=="linux" or OS=="mac" or OS=="win")', { |
| 640 | + ['(_toolset=="host" and host_arch=="x64" or _toolset=="target" and target_arch=="x64") and (OS=="linux" or OS=="mac" or OS=="win")', { |
640 | 641 | 'sources': [
|
641 | 642 | '<(V8_ROOT)/src/trap-handler/trap-handler-simulator.h',
|
642 | 643 | ],
|
|
874 | 875 | '<@(inspector_all_sources)',
|
875 | 876 | ],
|
876 | 877 | 'conditions': [
|
877 |
| - ['v8_enable_third_party_heap==1', { |
878 |
| - # TODO(targos): add values from v8_third_party_heap_files to sources |
879 |
| - }, { |
880 |
| - 'sources': [ |
881 |
| - '<(V8_ROOT)/src/heap/third-party/heap-api-stub.cc', |
882 |
| - ], |
883 |
| - }], |
884 | 878 | ['v8_enable_snapshot_compression==1', {
|
885 | 879 | 'sources': [
|
886 | 880 | '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_enable_snapshot_compression.*?sources \\+= ")',
|
|
908 | 902 | '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_enable_webassembly.*?sources \\+= ")',
|
909 | 903 | ],
|
910 | 904 | }],
|
| 905 | + ['v8_enable_third_party_heap==1', { |
| 906 | + # TODO(targos): add values from v8_third_party_heap_files to sources |
| 907 | + }, { |
| 908 | + 'sources': [ |
| 909 | + '<(V8_ROOT)/src/heap/third-party/heap-api-stub.cc', |
| 910 | + ], |
| 911 | + }], |
911 | 912 | ['v8_enable_heap_snapshot_verify==1', {
|
912 | 913 | 'sources': [
|
913 | 914 | '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_enable_heap_snapshot_verify.*?sources \\+= ")',
|
|
932 | 933 | 'conditions': [
|
933 | 934 | ['OS=="linux" or OS=="mac" or OS=="ios" or OS=="freebsd"', {
|
934 | 935 | 'sources': [
|
935 |
| - '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_enable_wasm_gdb_remote_debugging.*?v8_current_cpu == \\"x64\\".*?v8_enable_webassembly.*?is_linux.*?sources \\+= ")', |
| 936 | + '<(V8_ROOT)/src/trap-handler/handler-inside-posix.cc', |
| 937 | + '<(V8_ROOT)/src/trap-handler/handler-outside-posix.cc', |
936 | 938 | ],
|
937 | 939 | }],
|
938 | 940 | ['OS=="win"', {
|
939 | 941 | 'sources': [
|
940 |
| - '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "\\"v8_base_without_compiler.*?v8_enable_wasm_gdb_remote_debugging.*?v8_current_cpu == \\"x64\\".*?v8_enable_webassembly.*?is_win.*?sources \\+= ")', |
| 942 | + '<(V8_ROOT)/src/trap-handler/handler-inside-win.cc', |
| 943 | + '<(V8_ROOT)/src/trap-handler/handler-outside-win.cc', |
941 | 944 | ],
|
942 | 945 | }],
|
943 | 946 | ],
|
|
956 | 959 | 'conditions': [
|
957 | 960 | ['v8_enable_webassembly==1', {
|
958 | 961 | 'conditions': [
|
959 |
| - ['OS=="mac" or OS=="ios" or ' |
960 |
| - '(_toolset=="host" and host_arch=="x64" and (host_os=="linux" or host_os=="mac"))', { |
| 962 | + ['((_toolset=="host" and host_arch=="arm64" or _toolset=="target" and target_arch=="arm64") and (OS=="linux" or OS=="mac" or OS=="ios")) or ((_toolset=="host" and host_arch=="x64" or _toolset=="target" and target_arch=="x64") and (OS=="linux" or OS=="mac"))', { |
961 | 963 | 'sources': [
|
962 | 964 | '<(V8_ROOT)/src/trap-handler/handler-inside-posix.cc',
|
963 | 965 | '<(V8_ROOT)/src/trap-handler/handler-outside-posix.cc',
|
964 | 966 | ],
|
965 | 967 | }],
|
966 |
| - ['_toolset=="host" and host_arch=="x64" and OS=="win"', { |
| 968 | + ['(_toolset=="host" and host_arch=="x64" or _toolset=="target" and target_arch=="x64") and OS=="win"', { |
967 | 969 | 'sources': [
|
968 | 970 | '<(V8_ROOT)/src/trap-handler/handler-inside-win.cc',
|
969 | 971 | '<(V8_ROOT)/src/trap-handler/handler-outside-win.cc',
|
970 | 972 | ],
|
971 | 973 | }],
|
972 |
| - ['_toolset=="host" and host_arch=="x64" and ' |
973 |
| - '(host_os=="linux" or host_os=="mac" or OS=="win")', { |
| 974 | + ['(_toolset=="host" and host_arch=="x64" or _toolset=="target" and target_arch=="x64") and (OS=="linux" or OS=="mac" or OS=="win")', { |
974 | 975 | 'sources': [
|
975 | 976 | '<(V8_ROOT)/src/trap-handler/handler-outside-simulator.cc',
|
976 | 977 | ],
|
|
1452 | 1453 | '<(V8_ROOT)/src/libplatform/tracing/trace-writer.h',
|
1453 | 1454 | ],
|
1454 | 1455 | 'sources': [
|
1455 |
| - '<(V8_ROOT)/src/libplatform/tracing/trace-event-listener.cc', |
1456 | 1456 | '<(V8_ROOT)/src/libplatform/tracing/trace-event-listener.h',
|
1457 | 1457 | ],
|
1458 | 1458 | 'dependencies': [
|
|
1863 | 1863 | '<(V8_ROOT)/src/objects/allocation-site-inl.h',
|
1864 | 1864 | '<(V8_ROOT)/src/objects/cell.h',
|
1865 | 1865 | '<(V8_ROOT)/src/objects/cell-inl.h',
|
| 1866 | + '<(V8_ROOT)/src/objects/dependent-code.h', |
| 1867 | + '<(V8_ROOT)/src/objects/dependent-code-inl.h', |
| 1868 | + '<(V8_ROOT)/src/objects/bytecode-array.h', |
| 1869 | + '<(V8_ROOT)/src/objects/bytecode-array-inl.h', |
| 1870 | + '<(V8_ROOT)/src/objects/abstract-code.h', |
| 1871 | + '<(V8_ROOT)/src/objects/abstract-code-inl.h', |
| 1872 | + '<(V8_ROOT)/src/objects/instruction-stream.h', |
| 1873 | + '<(V8_ROOT)/src/objects/instruction-stream-inl.h', |
1866 | 1874 | '<(V8_ROOT)/src/objects/code.h',
|
1867 | 1875 | '<(V8_ROOT)/src/objects/code-inl.h',
|
1868 | 1876 | '<(V8_ROOT)/src/objects/data-handler.h',
|
1869 | 1877 | '<(V8_ROOT)/src/objects/data-handler-inl.h',
|
| 1878 | + '<(V8_ROOT)/src/objects/deoptimization-data.h', |
| 1879 | + '<(V8_ROOT)/src/objects/deoptimization-data-inl.h', |
1870 | 1880 | '<(V8_ROOT)/src/objects/descriptor-array.h',
|
1871 | 1881 | '<(V8_ROOT)/src/objects/descriptor-array-inl.h',
|
1872 | 1882 | '<(V8_ROOT)/src/objects/feedback-cell.h',
|
|
1890 | 1900 | '<(V8_ROOT)/src/objects/js-objects-inl.h',
|
1891 | 1901 | '<(V8_ROOT)/src/objects/js-promise.h',
|
1892 | 1902 | '<(V8_ROOT)/src/objects/js-promise-inl.h',
|
| 1903 | + '<(V8_ROOT)/src/objects/js-raw-json.cc', |
| 1904 | + '<(V8_ROOT)/src/objects/js-raw-json.h', |
| 1905 | + '<(V8_ROOT)/src/objects/js-raw-json-inl.h', |
1893 | 1906 | '<(V8_ROOT)/src/objects/js-regexp.cc',
|
1894 | 1907 | '<(V8_ROOT)/src/objects/js-regexp.h',
|
1895 | 1908 | '<(V8_ROOT)/src/objects/js-regexp-inl.h',
|
|
1898 | 1911 | '<(V8_ROOT)/src/objects/map.cc',
|
1899 | 1912 | '<(V8_ROOT)/src/objects/map.h',
|
1900 | 1913 | '<(V8_ROOT)/src/objects/map-inl.h',
|
| 1914 | + '<(V8_ROOT)/src/objects/megadom-handler.h', |
| 1915 | + '<(V8_ROOT)/src/objects/megadom-handler-inl.h', |
1901 | 1916 | '<(V8_ROOT)/src/objects/name.h',
|
1902 | 1917 | '<(V8_ROOT)/src/objects/name-inl.h',
|
1903 | 1918 | '<(V8_ROOT)/src/objects/objects.h',
|
|
0 commit comments