|
727 | 727 | 'type': 'static_library',
|
728 | 728 | 'dependencies': [
|
729 | 729 | # Code generators that only need to be build for the host.
|
| 730 | + 'cppgc_base', |
730 | 731 | 'torque_generated_definitions',
|
731 | 732 | 'v8_headers',
|
732 | 733 | 'v8_libbase',
|
|
736 | 737 | # BUILD.gn public_deps
|
737 | 738 | 'generate_bytecode_builtins_list',
|
738 | 739 | 'run_torque',
|
| 740 | + 'v8_cppgc_shared', |
739 | 741 | 'v8_maybe_icu',
|
740 | 742 | 'v8_zlib',
|
741 | 743 | ],
|
|
1460 | 1462 | },
|
1461 | 1463 | ],
|
1462 | 1464 | }, # run_gen-regexp-special-case
|
| 1465 | + { |
| 1466 | + 'target_name': 'cppgc_base', |
| 1467 | + 'type': 'none', |
| 1468 | + 'conditions': [ |
| 1469 | + ['want_separate_host_toolset', { |
| 1470 | + 'toolsets': ['host', 'target'], |
| 1471 | + }], |
| 1472 | + ], |
| 1473 | + 'direct_dependent_settings': { |
| 1474 | + 'sources': [ |
| 1475 | + '<!@pymod_do_main(GN-scraper "<(V8_ROOT)/BUILD.gn" "v8_source_set.\\"cppgc_base.*?sources = ")', |
| 1476 | + ], |
| 1477 | + }, |
| 1478 | + }, # cppgc_base |
| 1479 | + { |
| 1480 | + 'target_name': 'v8_cppgc_shared', |
| 1481 | + 'type': 'none', |
| 1482 | + 'conditions': [ |
| 1483 | + ['want_separate_host_toolset', { |
| 1484 | + 'toolsets': ['host', 'target'], |
| 1485 | + }], |
| 1486 | + ], |
| 1487 | + 'direct_dependent_settings': { |
| 1488 | + 'sources': [ |
| 1489 | + '<(V8_ROOT)/src/heap/base/stack.cc', |
| 1490 | + '<(V8_ROOT)/src/heap/base/stack.h', |
| 1491 | + ], |
| 1492 | + 'conditions': [ |
| 1493 | + ['clang or OS!="win"', { |
| 1494 | + 'conditions': [ |
| 1495 | + ['v8_target_arch=="x64"', { |
| 1496 | + 'sources': [ |
| 1497 | + '<(V8_ROOT)/src/heap/base/asm/x64/push_registers_asm.cc', |
| 1498 | + ], |
| 1499 | + }], |
| 1500 | + ['v8_target_arch=="x32"', { |
| 1501 | + 'sources': [ |
| 1502 | + '<(V8_ROOT)/src/heap/base/asm/ia32/push_registers_asm.cc', |
| 1503 | + ], |
| 1504 | + }], |
| 1505 | + ['v8_target_arch=="arm"', { |
| 1506 | + 'sources': [ |
| 1507 | + '<(V8_ROOT)/src/heap/base/asm/arm/push_registers_asm.cc', |
| 1508 | + ], |
| 1509 | + }], |
| 1510 | + ['v8_target_arch=="arm64"', { |
| 1511 | + 'sources': [ |
| 1512 | + '<(V8_ROOT)/src/heap/base/asm/arm64/push_registers_asm.cc', |
| 1513 | + ], |
| 1514 | + }], |
| 1515 | + ['v8_target_arch=="ppc64"', { |
| 1516 | + 'sources': [ |
| 1517 | + '<(V8_ROOT)/src/heap/base/asm/ppc/push_registers_asm.cc', |
| 1518 | + ], |
| 1519 | + }], |
| 1520 | + ['v8_target_arch=="s390x"', { |
| 1521 | + 'sources': [ |
| 1522 | + '<(V8_ROOT)/src/heap/base/asm/s390/push_registers_asm.cc', |
| 1523 | + ], |
| 1524 | + }], |
| 1525 | + ['v8_target_arch=="mips" or v8_target_arch=="mipsel"', { |
| 1526 | + 'sources': [ |
| 1527 | + '<(V8_ROOT)/src/heap/base/asm/mips/push_registers_asm.cc', |
| 1528 | + ], |
| 1529 | + }], |
| 1530 | + ['v8_target_arch=="mips64" or v8_target_arch=="mips64el"', { |
| 1531 | + 'sources': [ |
| 1532 | + '<(V8_ROOT)/src/heap/base/asm/mpis64/push_registers_asm.cc', |
| 1533 | + ], |
| 1534 | + }], |
| 1535 | + ] |
| 1536 | + }], |
| 1537 | + ['OS=="win"', { |
| 1538 | + 'conditions': [ |
| 1539 | + ['v8_target_arch=="x64"', { |
| 1540 | + 'sources': [ |
| 1541 | + '<(V8_ROOT)/src/heap/base/asm/x64/push_registers_masm.S', |
| 1542 | + ], |
| 1543 | + }], |
| 1544 | + ['v8_target_arch=="x86"', { |
| 1545 | + 'sources': [ |
| 1546 | + '<(V8_ROOT)/src/heap/base/asm/ia32/push_registers_masm.S', |
| 1547 | + ], |
| 1548 | + }], |
| 1549 | + ['v8_target_arch=="arm64"', { |
| 1550 | + 'sources': [ |
| 1551 | + '<(V8_ROOT)/src/heap/base/asm/arm64/push_registers_masm.S', |
| 1552 | + ], |
| 1553 | + }], |
| 1554 | + ], |
| 1555 | + }], |
| 1556 | + ], |
| 1557 | + }, |
| 1558 | + }, # v8_cppgc_shared |
1463 | 1559 |
|
1464 | 1560 | ###############################################################################
|
1465 | 1561 | # Public targets
|
|
0 commit comments