|
@ -1,7 +1,7 @@ |
|
|
diff -u -r ../node-v6.11.2/node.gyp ./node.gyp
|
|
|
diff -u -r ../node-v8.7.0/node.gyp ./node.gyp
|
|
|
--- ../node-v6.11.2/node.gyp 2017-08-01 05:39:14.000000000 +0000
|
|
|
--- ../node-v8.7.0/node.gyp 2017-10-11 14:36:02.000000000 +0200
|
|
|
+++ ./node.gyp 2017-08-08 08:52:59.805556714 +0000
|
|
|
+++ ./node.gyp 2017-10-14 19:41:03.915202106 +0200
|
|
|
@@ -531,123 +531,6 @@
|
|
|
@@ -586,152 +586,6 @@
|
|
|
], |
|
|
], |
|
|
} ], |
|
|
} ], |
|
|
] |
|
|
] |
|
@ -22,18 +22,33 @@ diff -u -r ../node-v6.11.2/node.gyp ./node.gyp |
|
|
- 'variables': {
|
|
|
- 'variables': {
|
|
|
- 'OBJ_PATH': '<(OBJ_DIR)/node/src',
|
|
|
- 'OBJ_PATH': '<(OBJ_DIR)/node/src',
|
|
|
- 'OBJ_GEN_PATH': '<(OBJ_DIR)/node/gen',
|
|
|
- 'OBJ_GEN_PATH': '<(OBJ_DIR)/node/gen',
|
|
|
|
|
|
- 'OBJ_TRACING_PATH': '<(OBJ_DIR)/node/src/tracing',
|
|
|
- 'OBJ_SUFFIX': 'o',
|
|
|
- 'OBJ_SUFFIX': 'o',
|
|
|
|
|
|
- 'OBJ_SEPARATOR': '/',
|
|
|
- 'conditions': [
|
|
|
- 'conditions': [
|
|
|
- ['OS=="win"', {
|
|
|
- ['OS=="win"', {
|
|
|
- 'OBJ_PATH': '<(OBJ_DIR)/node',
|
|
|
|
|
|
- 'OBJ_GEN_PATH': '<(OBJ_DIR)/node',
|
|
|
|
|
|
- 'OBJ_SUFFIX': 'obj',
|
|
|
- 'OBJ_SUFFIX': 'obj',
|
|
|
- }],
|
|
|
- }],
|
|
|
- ['OS=="aix"', {
|
|
|
- ['GENERATOR=="ninja"', {
|
|
|
- 'OBJ_PATH': '<(OBJ_DIR)/node_base/src',
|
|
|
- 'OBJ_PATH': '<(OBJ_DIR)/src',
|
|
|
- 'OBJ_GEN_PATH': '<(OBJ_DIR)/node_base/gen',
|
|
|
- 'OBJ_GEN_PATH': '<(OBJ_DIR)/gen',
|
|
|
- }],
|
|
|
- 'OBJ_TRACING_PATH': '<(OBJ_DIR)/src/tracing',
|
|
|
- ],
|
|
|
- 'OBJ_SEPARATOR': '/node.',
|
|
|
|
|
|
- }, {
|
|
|
|
|
|
- 'conditions': [
|
|
|
|
|
|
- ['OS=="win"', {
|
|
|
|
|
|
- 'OBJ_PATH': '<(OBJ_DIR)/node',
|
|
|
|
|
|
- 'OBJ_GEN_PATH': '<(OBJ_DIR)/node',
|
|
|
|
|
|
- 'OBJ_TRACING_PATH': '<(OBJ_DIR)/node',
|
|
|
|
|
|
- }],
|
|
|
|
|
|
- ['OS=="aix"', {
|
|
|
|
|
|
- 'OBJ_PATH': '<(OBJ_DIR)/node_base/src',
|
|
|
|
|
|
- 'OBJ_GEN_PATH': '<(OBJ_DIR)/node_base/gen',
|
|
|
|
|
|
- 'OBJ_TRACING_PATH': '<(OBJ_DIR)/node_base/src/tracing',
|
|
|
|
|
|
- }],
|
|
|
|
|
|
- ]}
|
|
|
|
|
|
- ]
|
|
|
|
|
|
- ],
|
|
|
- },
|
|
|
- },
|
|
|
-
|
|
|
-
|
|
|
- 'includes': [
|
|
|
- 'includes': [
|
|
@ -49,36 +64,17 @@ diff -u -r ../node-v6.11.2/node.gyp ./node.gyp |
|
|
- '<(SHARED_INTERMEDIATE_DIR)', # for node_natives.h
|
|
|
- '<(SHARED_INTERMEDIATE_DIR)', # for node_natives.h
|
|
|
- ],
|
|
|
- ],
|
|
|
-
|
|
|
-
|
|
|
- 'libraries': [
|
|
|
- 'defines': [ 'NODE_WANT_INTERNALS=1' ],
|
|
|
- '<(OBJ_GEN_PATH)/node_javascript.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- '<(OBJ_PATH)/async-wrap.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- '<(OBJ_PATH)/env.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- '<(OBJ_PATH)/node.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- '<(OBJ_PATH)/node_buffer.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- '<(OBJ_PATH)/node_i18n.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- '<(OBJ_PATH)/debug-agent.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- '<(OBJ_PATH)/util.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- '<(OBJ_PATH)/string_bytes.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- '<(OBJ_PATH)/string_search.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- '<(OBJ_PATH)/stream_base.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- '<(OBJ_PATH)/node_constants.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- '<(OBJ_PATH)/node_revert.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- ],
|
|
|
|
|
|
-
|
|
|
|
|
|
- 'defines': [
|
|
|
|
|
|
- # gtest's ASSERT macros conflict with our own.
|
|
|
|
|
|
- 'GTEST_DONT_DEFINE_ASSERT_EQ=1',
|
|
|
|
|
|
- 'GTEST_DONT_DEFINE_ASSERT_GE=1',
|
|
|
|
|
|
- 'GTEST_DONT_DEFINE_ASSERT_GT=1',
|
|
|
|
|
|
- 'GTEST_DONT_DEFINE_ASSERT_LE=1',
|
|
|
|
|
|
- 'GTEST_DONT_DEFINE_ASSERT_LT=1',
|
|
|
|
|
|
- 'GTEST_DONT_DEFINE_ASSERT_NE=1',
|
|
|
|
|
|
- 'NODE_WANT_INTERNALS=1',
|
|
|
|
|
|
- ],
|
|
|
|
|
|
-
|
|
|
-
|
|
|
- 'sources': [
|
|
|
- 'sources': [
|
|
|
|
|
|
- 'src/node_platform.cc',
|
|
|
|
|
|
- 'src/node_platform.h',
|
|
|
|
|
|
- 'test/cctest/node_test_fixture.cc',
|
|
|
|
|
|
- 'test/cctest/test_aliased_buffer.cc',
|
|
|
- 'test/cctest/test_base64.cc',
|
|
|
- 'test/cctest/test_base64.cc',
|
|
|
|
|
|
- 'test/cctest/test_environment.cc',
|
|
|
- 'test/cctest/test_util.cc',
|
|
|
- 'test/cctest/test_util.cc',
|
|
|
|
|
|
- 'test/cctest/test_url.cc'
|
|
|
- ],
|
|
|
- ],
|
|
|
-
|
|
|
-
|
|
|
- 'sources!': [
|
|
|
- 'sources!': [
|
|
@ -86,11 +82,39 @@ diff -u -r ../node-v6.11.2/node.gyp ./node.gyp |
|
|
- ],
|
|
|
- ],
|
|
|
-
|
|
|
-
|
|
|
- 'conditions': [
|
|
|
- 'conditions': [
|
|
|
- ['v8_inspector=="true"', {
|
|
|
- ['node_target_type!="static_library"', {
|
|
|
|
|
|
- 'libraries': [
|
|
|
|
|
|
- '<(OBJ_GEN_PATH)<(OBJ_SEPARATOR)node_javascript.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- '<(OBJ_PATH)<(OBJ_SEPARATOR)node_debug_options.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- '<(OBJ_PATH)<(OBJ_SEPARATOR)async-wrap.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- '<(OBJ_PATH)<(OBJ_SEPARATOR)env.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- '<(OBJ_PATH)<(OBJ_SEPARATOR)node.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- '<(OBJ_PATH)<(OBJ_SEPARATOR)node_buffer.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- '<(OBJ_PATH)<(OBJ_SEPARATOR)node_i18n.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- '<(OBJ_PATH)<(OBJ_SEPARATOR)node_perf.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- '<(OBJ_PATH)<(OBJ_SEPARATOR)node_url.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- '<(OBJ_PATH)<(OBJ_SEPARATOR)util.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- '<(OBJ_PATH)<(OBJ_SEPARATOR)string_bytes.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- '<(OBJ_PATH)<(OBJ_SEPARATOR)string_search.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- '<(OBJ_PATH)<(OBJ_SEPARATOR)stream_base.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- '<(OBJ_PATH)<(OBJ_SEPARATOR)node_constants.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- '<(OBJ_TRACING_PATH)<(OBJ_SEPARATOR)agent.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- '<(OBJ_TRACING_PATH)<(OBJ_SEPARATOR)node_trace_buffer.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- '<(OBJ_TRACING_PATH)<(OBJ_SEPARATOR)node_trace_writer.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- '<(OBJ_TRACING_PATH)<(OBJ_SEPARATOR)trace_event.<(OBJ_SUFFIX)',
|
|
|
|
|
|
- ],
|
|
|
|
|
|
- }],
|
|
|
|
|
|
- ['v8_enable_inspector==1', {
|
|
|
- 'sources': [
|
|
|
- 'sources': [
|
|
|
- 'test/cctest/test_inspector_socket.cc',
|
|
|
- 'test/cctest/test_inspector_socket.cc',
|
|
|
|
|
|
- 'test/cctest/test_inspector_socket_server.cc'
|
|
|
- ],
|
|
|
- ],
|
|
|
- 'conditions': [
|
|
|
- 'conditions': [
|
|
|
|
|
|
- [ 'node_shared_zlib=="false"', {
|
|
|
|
|
|
- 'dependencies': [
|
|
|
|
|
|
- 'deps/zlib/zlib.gyp:zlib',
|
|
|
|
|
|
- ]
|
|
|
|
|
|
- }],
|
|
|
- [ 'node_shared_openssl=="false" and node_shared=="false"', {
|
|
|
- [ 'node_shared_openssl=="false" and node_shared=="false"', {
|
|
|
- 'dependencies': [
|
|
|
- 'dependencies': [
|
|
|
- 'deps/openssl/openssl.gyp:openssl'
|
|
|
- 'deps/openssl/openssl.gyp:openssl'
|
|
@ -108,13 +132,18 @@ diff -u -r ../node-v6.11.2/node.gyp ./node.gyp |
|
|
- }]
|
|
|
- }]
|
|
|
- ]
|
|
|
- ]
|
|
|
- }],
|
|
|
- }],
|
|
|
|
|
|
- [ 'node_use_v8_platform=="true"', {
|
|
|
|
|
|
- 'dependencies': [
|
|
|
|
|
|
- 'deps/v8/src/v8.gyp:v8_libplatform',
|
|
|
|
|
|
- ],
|
|
|
|
|
|
- }],
|
|
|
- [ 'node_use_dtrace=="true" and OS!="mac" and OS!="linux"', {
|
|
|
- [ 'node_use_dtrace=="true" and OS!="mac" and OS!="linux"', {
|
|
|
- 'copies': [{
|
|
|
- 'copies': [{
|
|
|
- 'destination': '<(OBJ_DIR)/cctest/src',
|
|
|
- 'destination': '<(OBJ_DIR)/cctest/src',
|
|
|
- 'files': [
|
|
|
- 'files': [
|
|
|
- '<(OBJ_PATH)/node_dtrace_ustack.<(OBJ_SUFFIX)',
|
|
|
- '<(OBJ_PATH)<(OBJ_SEPARATOR)node_dtrace_ustack.<(OBJ_SUFFIX)',
|
|
|
- '<(OBJ_PATH)/node_dtrace_provider.<(OBJ_SUFFIX)',
|
|
|
- '<(OBJ_PATH)<(OBJ_SEPARATOR)node_dtrace_provider.<(OBJ_SUFFIX)',
|
|
|
- '<(OBJ_PATH)/node_dtrace.<(OBJ_SUFFIX)',
|
|
|
- '<(OBJ_PATH)<(OBJ_SEPARATOR)node_dtrace.<(OBJ_SUFFIX)',
|
|
|
- ]},
|
|
|
- ]},
|
|
|
- ],
|
|
|
- ],
|
|
|
- }],
|
|
|
- }],
|
|
|