|
288 | 288 | 'sources': [
|
289 | 289 | 'tools/msvs/genfiles/node_etw_provider.rc'
|
290 | 290 | ],
|
291 |
| - }] |
| 291 | + }], |
292 | 292 | ],
|
293 | 293 | }],
|
294 | 294 | ],
|
|
305 | 305 | 'product_name': '<(node_core_target_name)-win',
|
306 | 306 | }],
|
307 | 307 | ],
|
308 |
| - }, |
| 308 | + }, # node_core_target_name |
309 | 309 | {
|
310 | 310 | 'target_name': '<(node_lib_target_name)',
|
311 | 311 | 'type': '<(node_intermediate_lib_type)',
|
312 | 312 | 'product_name': '<(node_core_target_name)',
|
313 |
| - |
314 |
| - 'dependencies': [ |
315 |
| - 'node_js2c#host', |
316 |
| - ], |
317 |
| - |
318 | 313 | 'includes': [
|
319 | 314 | 'node.gypi'
|
320 | 315 | ],
|
|
460 | 455 | '<@(library_files)',
|
461 | 456 | # node.gyp is added to the project by default.
|
462 | 457 | 'common.gypi',
|
463 |
| - '<(SHARED_INTERMEDIATE_DIR)/node_javascript.cc', |
464 | 458 | ],
|
465 | 459 |
|
466 | 460 | 'variables': {
|
|
618 | 612 | 'src/tls_wrap.h'
|
619 | 613 | ],
|
620 | 614 | }],
|
621 |
| - ], |
622 |
| - }, |
623 |
| - { |
624 |
| - 'target_name': 'mkssldef', |
625 |
| - 'type': 'none', |
626 |
| - # TODO(bnoordhuis) Make all platforms export the same list of symbols. |
627 |
| - # Teach mkssldef.py to generate linker maps that UNIX linkers understand. |
628 |
| - 'conditions': [ |
629 | 615 | [ 'use_openssl_def==1', {
|
| 616 | + # TODO(bnoordhuis) Make all platforms export the same list of symbols. |
| 617 | + # Teach mkssldef.py to generate linker maps that UNIX linkers understand. |
630 | 618 | 'variables': {
|
631 | 619 | 'mkssldef_flags': [
|
632 | 620 | # Categories to export.
|
|
656 | 644 | 'deps/openssl/openssl/util/libssl.num',
|
657 | 645 | ],
|
658 | 646 | 'outputs': ['<(SHARED_INTERMEDIATE_DIR)/openssl.def'],
|
| 647 | + 'process_outputs_as_sources': 1, |
659 | 648 | 'action': [
|
660 | 649 | 'python',
|
661 | 650 | 'tools/mkssldef.py',
|
|
668 | 657 | ],
|
669 | 658 | }],
|
670 | 659 | ],
|
671 |
| - }, |
672 |
| - # generate ETW header and resource files |
673 |
| - { |
674 |
| - 'target_name': 'node_etw', |
675 |
| - 'type': 'none', |
676 |
| - 'conditions': [ |
677 |
| - [ 'node_use_etw=="true"', { |
678 |
| - 'actions': [ |
679 |
| - { |
680 |
| - 'action_name': 'node_etw', |
681 |
| - 'inputs': [ 'src/res/node_etw_provider.man' ], |
682 |
| - 'outputs': [ |
683 |
| - 'tools/msvs/genfiles/node_etw_provider.rc', |
684 |
| - 'tools/msvs/genfiles/node_etw_provider.h', |
685 |
| - 'tools/msvs/genfiles/node_etw_providerTEMP.BIN', |
686 |
| - ], |
687 |
| - 'action': [ 'mc <@(_inputs) -h tools/msvs/genfiles -r tools/msvs/genfiles' ] |
688 |
| - } |
689 |
| - ] |
690 |
| - } ] |
691 |
| - ] |
692 |
| - }, |
693 |
| - { |
694 |
| - 'target_name': 'node_js2c', |
695 |
| - 'type': 'none', |
696 |
| - 'toolsets': ['host'], |
697 | 660 | 'actions': [
|
698 | 661 | {
|
699 | 662 | 'action_name': 'node_js2c',
|
700 | 663 | 'process_outputs_as_sources': 1,
|
701 | 664 | 'inputs': [
|
702 | 665 | '<@(library_files)',
|
703 |
| - './config.gypi', |
704 | 666 | 'tools/check_macros.py'
|
705 | 667 | ],
|
706 | 668 | 'outputs': [
|
|
718 | 680 | }]
|
719 | 681 | ],
|
720 | 682 | 'action': [
|
721 |
| - 'python', |
722 |
| - 'tools/js2c.py', |
| 683 | + 'python', 'tools/js2c.py', |
723 | 684 | '<@(_outputs)',
|
724 |
| - '<@(_inputs)', |
| 685 | + '<@(_inputs)', 'config.gypi', |
725 | 686 | ],
|
726 | 687 | },
|
727 | 688 | ],
|
728 |
| - }, # end node_js2c |
| 689 | + }, # node_lib_target_name |
| 690 | + { |
| 691 | + # generate ETW header and resource files |
| 692 | + 'target_name': 'node_etw', |
| 693 | + 'type': 'none', |
| 694 | + 'conditions': [ |
| 695 | + [ 'node_use_etw=="true"', { |
| 696 | + 'actions': [ |
| 697 | + { |
| 698 | + 'action_name': 'node_etw', |
| 699 | + 'inputs': [ 'src/res/node_etw_provider.man' ], |
| 700 | + 'outputs': [ |
| 701 | + 'tools/msvs/genfiles/node_etw_provider.rc', |
| 702 | + 'tools/msvs/genfiles/node_etw_provider.h', |
| 703 | + 'tools/msvs/genfiles/node_etw_providerTEMP.BIN', |
| 704 | + ], |
| 705 | + 'action': [ 'mc <@(_inputs) -h tools/msvs/genfiles -r tools/msvs/genfiles' ] |
| 706 | + } |
| 707 | + ] |
| 708 | + } ] |
| 709 | + ] |
| 710 | + }, # node_etw |
729 | 711 | {
|
730 | 712 | 'target_name': 'node_dtrace_header',
|
731 | 713 | 'type': 'none',
|
|
753 | 735 | ]
|
754 | 736 | } ],
|
755 | 737 | ]
|
756 |
| - }, |
| 738 | + }, # node_dtrace_header |
757 | 739 | {
|
758 | 740 | 'target_name': 'node_dtrace_provider',
|
759 | 741 | 'type': 'none',
|
|
788 | 770 | ],
|
789 | 771 | }],
|
790 | 772 | ]
|
791 |
| - }, |
| 773 | + }, # node_dtrace_provider |
792 | 774 | {
|
793 | 775 | 'target_name': 'node_dtrace_ustack',
|
794 | 776 | 'type': 'none',
|
|
836 | 818 | ]
|
837 | 819 | } ],
|
838 | 820 | ]
|
839 |
| - }, |
| 821 | + }, # node_dtrace_ustack |
840 | 822 | {
|
841 | 823 | 'target_name': 'specialize_node_d',
|
842 | 824 | 'type': 'none',
|
|
862 | 844 | ],
|
863 | 845 | } ],
|
864 | 846 | ]
|
865 |
| - }, |
| 847 | + }, # specialize_node_d |
866 | 848 | {
|
867 | 849 | # When using shared lib to build executable in Windows, in order to avoid
|
868 | 850 | # filename collision, the executable name is node-win.exe. Need to rename
|
|
890 | 872 | ],
|
891 | 873 | } ],
|
892 | 874 | ]
|
893 |
| - }, |
| 875 | + }, # rename_node_bin_win |
894 | 876 | {
|
895 | 877 | 'target_name': 'cctest',
|
896 | 878 | 'type': 'executable',
|
|
899 | 881 | '<(node_lib_target_name)',
|
900 | 882 | 'rename_node_bin_win',
|
901 | 883 | 'deps/gtest/gtest.gyp:gtest',
|
902 |
| - 'node_js2c#host', |
903 | 884 | 'node_dtrace_header',
|
904 | 885 | 'node_dtrace_ustack',
|
905 | 886 | 'node_dtrace_provider',
|
|
957 | 938 | 'type': 'none',
|
958 | 939 | }],
|
959 | 940 | ],
|
960 |
| - } |
| 941 | + }, # cctest |
961 | 942 | ], # end targets
|
962 | 943 |
|
963 | 944 | 'conditions': [
|
|
0 commit comments