107 lines
2.9 KiB
Diff
107 lines
2.9 KiB
Diff
diff -u -r ../node-v11.8.0/node.gyp ./node.gyp
|
|
--- ../node-v11.8.0/node.gyp 2019-01-24 23:19:08.000000000 +0000
|
|
+++ ./node.gyp 2019-01-27 08:15:48.080455307 +0000
|
|
@@ -945,101 +945,7 @@
|
|
],
|
|
} ],
|
|
]
|
|
- }, # rename_node_bin_win
|
|
- {
|
|
- 'target_name': 'cctest',
|
|
- 'type': 'executable',
|
|
-
|
|
- 'dependencies': [
|
|
- '<(node_lib_target_name)',
|
|
- 'rename_node_bin_win',
|
|
- 'deps/gtest/gtest.gyp:gtest',
|
|
- 'node_dtrace_header',
|
|
- 'node_dtrace_ustack',
|
|
- 'node_dtrace_provider',
|
|
- ],
|
|
-
|
|
- 'includes': [
|
|
- 'node.gypi'
|
|
- ],
|
|
-
|
|
- 'include_dirs': [
|
|
- 'src',
|
|
- 'tools/msvs/genfiles',
|
|
- 'deps/v8/include',
|
|
- 'deps/cares/include',
|
|
- 'deps/uv/include',
|
|
- '<(SHARED_INTERMEDIATE_DIR)', # for node_natives.h
|
|
- ],
|
|
-
|
|
- 'defines': [ 'NODE_WANT_INTERNALS=1' ],
|
|
-
|
|
- 'sources': [
|
|
- 'test/cctest/node_test_fixture.cc',
|
|
- 'test/cctest/test_aliased_buffer.cc',
|
|
- 'test/cctest/test_base64.cc',
|
|
- 'test/cctest/test_node_postmortem_metadata.cc',
|
|
- 'test/cctest/test_environment.cc',
|
|
- 'test/cctest/test_platform.cc',
|
|
- 'test/cctest/test_traced_value.cc',
|
|
- 'test/cctest/test_util.cc',
|
|
- 'test/cctest/test_url.cc'
|
|
- ],
|
|
-
|
|
- 'conditions': [
|
|
- [ 'node_use_openssl=="true"', {
|
|
- 'defines': [
|
|
- 'HAVE_OPENSSL=1',
|
|
- ],
|
|
- }],
|
|
- ['v8_enable_inspector==1', {
|
|
- 'sources': [
|
|
- 'test/cctest/test_inspector_socket.cc',
|
|
- 'test/cctest/test_inspector_socket_server.cc'
|
|
- ],
|
|
- 'defines': [
|
|
- 'HAVE_INSPECTOR=1',
|
|
- ],
|
|
- }, {
|
|
- 'defines': [ 'HAVE_INSPECTOR=0' ]
|
|
- }],
|
|
- ['OS=="solaris"', {
|
|
- 'ldflags': [ '-I<(SHARED_INTERMEDIATE_DIR)' ]
|
|
- }],
|
|
- # Skip cctest while building shared lib node for Windows
|
|
- [ 'OS=="win" and node_shared=="true"', {
|
|
- 'type': 'none',
|
|
- }],
|
|
- [ 'node_shared=="true"', {
|
|
- 'xcode_settings': {
|
|
- 'OTHER_LDFLAGS': [ '-Wl,-rpath,@loader_path', ],
|
|
- },
|
|
- }],
|
|
- [ 'node_report=="true"', {
|
|
- 'defines': [
|
|
- 'NODE_REPORT',
|
|
- 'NODE_ARCH="<(target_arch)"',
|
|
- 'NODE_PLATFORM="<(OS)"',
|
|
- ],
|
|
- 'conditions': [
|
|
- ['OS=="win"', {
|
|
- 'libraries': [
|
|
- 'dbghelp.lib',
|
|
- 'Netapi32.lib',
|
|
- 'PsApi.lib',
|
|
- 'Ws2_32.lib',
|
|
- ],
|
|
- 'dll_files': [
|
|
- 'dbghelp.dll',
|
|
- 'Netapi32.dll',
|
|
- 'PsApi.dll',
|
|
- 'Ws2_32.dll',
|
|
- ],
|
|
- }],
|
|
- ],
|
|
- }],
|
|
- ],
|
|
- }, # cctest
|
|
+ } # rename_node_bin_win
|
|
], # end targets
|
|
|
|
'conditions': [
|