gyp: put filenames in variables
PR-URL: https://github.com/nodejs/node/pull/46965 Reviewed-By: Jiawen Geng <technicalcute@gmail.com> Reviewed-By: Michaël Zasso <targos@protonmail.com>
This commit is contained in:
parent
aa6e9c80cf
commit
0d575fe61a
3
deps/ada/ada.gyp
vendored
3
deps/ada/ada.gyp
vendored
@ -1,6 +1,7 @@
|
||||
{
|
||||
'variables': {
|
||||
'v8_enable_i18n_support%': 1,
|
||||
'ada_sources': [ 'ada.cpp' ],
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
@ -10,7 +11,7 @@
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': ['.'],
|
||||
},
|
||||
'sources': ['ada.cpp'],
|
||||
'sources': [ '<@(ada_sources)' ],
|
||||
'conditions': [
|
||||
['v8_enable_i18n_support==0', {
|
||||
'defines': ['ADA_HAS_ICU=0'],
|
||||
|
15
deps/base64/base64.gyp
vendored
15
deps/base64/base64.gyp
vendored
@ -2,6 +2,14 @@
|
||||
'variables': {
|
||||
'arm_fpu%': '',
|
||||
'target_arch%': '',
|
||||
'base64_sources_common': [
|
||||
'base64/include/libbase64.h',
|
||||
'base64/lib/arch/generic/codec.c',
|
||||
'base64/lib/tables/tables.c',
|
||||
'base64/lib/codec_choose.c',
|
||||
'base64/lib/codecs.h',
|
||||
'base64/lib/lib.c',
|
||||
],
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
@ -14,12 +22,7 @@
|
||||
},
|
||||
'defines': [ 'BASE64_STATIC_DEFINE' ],
|
||||
'sources': [
|
||||
'base64/include/libbase64.h',
|
||||
'base64/lib/arch/generic/codec.c',
|
||||
'base64/lib/tables/tables.c',
|
||||
'base64/lib/codec_choose.c',
|
||||
'base64/lib/codecs.h',
|
||||
'base64/lib/lib.c',
|
||||
'<@(base64_sources_common)',
|
||||
],
|
||||
|
||||
'conditions': [
|
||||
|
65
deps/brotli/brotli.gyp
vendored
65
deps/brotli/brotli.gyp
vendored
@ -1,33 +1,6 @@
|
||||
{
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'brotli',
|
||||
'type': 'static_library',
|
||||
'include_dirs': ['c/include'],
|
||||
'conditions': [
|
||||
['OS=="linux"', {
|
||||
'defines': [
|
||||
'OS_LINUX'
|
||||
]
|
||||
}],
|
||||
['OS=="freebsd"', {
|
||||
'defines': [
|
||||
'OS_FREEBSD'
|
||||
]
|
||||
}],
|
||||
['OS=="mac"', {
|
||||
'defines': [
|
||||
'OS_MACOSX'
|
||||
]
|
||||
}],
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [ 'c/include' ]
|
||||
},
|
||||
'libraries': [
|
||||
'-lm',
|
||||
],
|
||||
'sources': [
|
||||
'variables': {
|
||||
'brotli_sources': [
|
||||
# Common
|
||||
'c/common/constants.c',
|
||||
'c/common/context.c',
|
||||
@ -61,7 +34,39 @@
|
||||
'c/enc/memory.c',
|
||||
'c/enc/metablock.c',
|
||||
'c/enc/static_dict.c',
|
||||
'c/enc/utf8_util.c'
|
||||
'c/enc/utf8_util.c',
|
||||
]
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'brotli',
|
||||
'type': 'static_library',
|
||||
'include_dirs': ['c/include'],
|
||||
'conditions': [
|
||||
['OS=="linux"', {
|
||||
'defines': [
|
||||
'OS_LINUX'
|
||||
]
|
||||
}],
|
||||
['OS=="freebsd"', {
|
||||
'defines': [
|
||||
'OS_FREEBSD'
|
||||
]
|
||||
}],
|
||||
['OS=="mac"', {
|
||||
'defines': [
|
||||
'OS_MACOSX'
|
||||
]
|
||||
}],
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [ 'c/include' ]
|
||||
},
|
||||
'libraries': [
|
||||
'-lm',
|
||||
],
|
||||
'sources': [
|
||||
'<@(brotli_sources)',
|
||||
]
|
||||
}
|
||||
]
|
||||
|
91
deps/cares/cares.gyp
vendored
91
deps/cares/cares.gyp
vendored
@ -1,40 +1,6 @@
|
||||
{
|
||||
'target_defaults': {
|
||||
'conditions': [
|
||||
['OS!="win"', {
|
||||
'defines': [
|
||||
'_DARWIN_USE_64_BIT_INODE=1',
|
||||
'_LARGEFILE_SOURCE',
|
||||
'_FILE_OFFSET_BITS=64',
|
||||
'_GNU_SOURCE'
|
||||
]
|
||||
}],
|
||||
[ 'OS in "aix os400"', {
|
||||
'include_dirs': [ 'config/aix' ],
|
||||
'sources': [ 'config/aix/ares_config.h' ],
|
||||
'defines': [
|
||||
# Support for malloc(0)
|
||||
'_LINUX_SOURCE_COMPAT=1',
|
||||
'_ALL_SOURCE=1'],
|
||||
}],
|
||||
['OS=="solaris"', {
|
||||
'defines': [
|
||||
'__EXTENSIONS__',
|
||||
'_XOPEN_SOURCE=500'
|
||||
]
|
||||
}]
|
||||
]
|
||||
},
|
||||
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'cares',
|
||||
'type': '<(library)',
|
||||
'include_dirs': [ 'include' ],
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [ 'include' ]
|
||||
},
|
||||
'sources': [
|
||||
'variables': {
|
||||
'cares_sources_common': [
|
||||
'include/ares.h',
|
||||
'include/ares_dns.h',
|
||||
'include/ares_nameser.h',
|
||||
@ -114,6 +80,53 @@
|
||||
'src/tools/ares_getopt.c',
|
||||
'src/tools/ares_getopt.h',
|
||||
],
|
||||
'cares_sources_win': [
|
||||
'src/lib/config-win32.h',
|
||||
'src/lib/windows_port.c',
|
||||
'src/lib/ares_getenv.c',
|
||||
'src/lib/ares_iphlpapi.h',
|
||||
'src/lib/ares_platform.c',
|
||||
],
|
||||
},
|
||||
|
||||
'target_defaults': {
|
||||
'conditions': [
|
||||
['OS!="win"', {
|
||||
'defines': [
|
||||
'_DARWIN_USE_64_BIT_INODE=1',
|
||||
'_LARGEFILE_SOURCE',
|
||||
'_FILE_OFFSET_BITS=64',
|
||||
'_GNU_SOURCE'
|
||||
]
|
||||
}],
|
||||
[ 'OS in "aix os400"', {
|
||||
'include_dirs': [ 'config/aix' ],
|
||||
'sources': [ 'config/aix/ares_config.h' ],
|
||||
'defines': [
|
||||
# Support for malloc(0)
|
||||
'_LINUX_SOURCE_COMPAT=1',
|
||||
'_ALL_SOURCE=1'],
|
||||
}],
|
||||
['OS=="solaris"', {
|
||||
'defines': [
|
||||
'__EXTENSIONS__',
|
||||
'_XOPEN_SOURCE=500'
|
||||
]
|
||||
}]
|
||||
]
|
||||
},
|
||||
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'cares',
|
||||
'type': '<(library)',
|
||||
'include_dirs': [ 'include' ],
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [ 'include' ]
|
||||
},
|
||||
'sources': [
|
||||
'<@(cares_sources_common)',
|
||||
],
|
||||
'conditions': [
|
||||
[ 'library=="static_library"', {
|
||||
'defines': [ 'CARES_STATICLIB' ]
|
||||
@ -127,11 +140,7 @@
|
||||
],
|
||||
'include_dirs': [ 'config/win32' ],
|
||||
'sources': [
|
||||
'src/lib/config-win32.h',
|
||||
'src/lib/windows_port.c',
|
||||
'src/lib/ares_getenv.c',
|
||||
'src/lib/ares_iphlpapi.h',
|
||||
'src/lib/ares_platform.c'
|
||||
'<@(cares_sources_win)',
|
||||
],
|
||||
'libraries': [
|
||||
'-lws2_32.lib',
|
||||
|
19
deps/googletest/googletest.gyp
vendored
19
deps/googletest/googletest.gyp
vendored
@ -1,9 +1,6 @@
|
||||
{
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'gtest',
|
||||
'type': 'static_library',
|
||||
'sources': [
|
||||
'variables': {
|
||||
'googletest_sources': [
|
||||
'include/gtest/gtest-assertion-result.h',
|
||||
'include/gtest/gtest-death-test.h',
|
||||
'include/gtest/gtest-matchers.h',
|
||||
@ -26,7 +23,6 @@
|
||||
'include/gtest/internal/gtest-port.h',
|
||||
'include/gtest/internal/gtest-string.h',
|
||||
'include/gtest/internal/gtest-type-util.h',
|
||||
'src/gtest-all.cc',
|
||||
'src/gtest-assertion-result.cc',
|
||||
'src/gtest-death-test.cc',
|
||||
'src/gtest-filepath.cc',
|
||||
@ -37,9 +33,14 @@
|
||||
'src/gtest-test-part.cc',
|
||||
'src/gtest-typed-test.cc',
|
||||
'src/gtest.cc',
|
||||
],
|
||||
'sources!': [
|
||||
'src/gtest-all.cc', # Not needed by our build.
|
||||
]
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'gtest',
|
||||
'type': 'static_library',
|
||||
'sources': [
|
||||
'<@(googletest_sources)',
|
||||
],
|
||||
'include_dirs': [
|
||||
'.', # src
|
||||
|
7
deps/histogram/histogram.gyp
vendored
7
deps/histogram/histogram.gyp
vendored
@ -1,4 +1,9 @@
|
||||
{
|
||||
'variables': {
|
||||
'histogram_sources': [
|
||||
'src/hdr_histogram.c',
|
||||
]
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'histogram',
|
||||
@ -12,7 +17,7 @@
|
||||
'include_dirs': [ 'src' ]
|
||||
},
|
||||
'sources': [
|
||||
'src/hdr_histogram.c',
|
||||
'<@(histogram_sources)',
|
||||
]
|
||||
}
|
||||
]
|
||||
|
11
deps/llhttp/llhttp.gyp
vendored
11
deps/llhttp/llhttp.gyp
vendored
@ -1,4 +1,11 @@
|
||||
{
|
||||
'variables': {
|
||||
'llhttp_sources': [
|
||||
'src/llhttp.c',
|
||||
'src/api.c',
|
||||
'src/http.c',
|
||||
]
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'llhttp',
|
||||
@ -7,7 +14,9 @@
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': [ 'include' ],
|
||||
},
|
||||
'sources': [ 'src/llhttp.c', 'src/api.c', 'src/http.c' ],
|
||||
'sources': [
|
||||
'<@(llhttp_sources)',
|
||||
],
|
||||
},
|
||||
]
|
||||
}
|
||||
|
51
deps/nghttp2/nghttp2.gyp
vendored
51
deps/nghttp2/nghttp2.gyp
vendored
@ -1,4 +1,31 @@
|
||||
{
|
||||
'variables': {
|
||||
'nghttp2_sources': [
|
||||
'lib/nghttp2_buf.c',
|
||||
'lib/nghttp2_callbacks.c',
|
||||
'lib/nghttp2_debug.c',
|
||||
'lib/nghttp2_extpri.c',
|
||||
'lib/nghttp2_frame.c',
|
||||
'lib/nghttp2_hd.c',
|
||||
'lib/nghttp2_hd_huffman.c',
|
||||
'lib/nghttp2_hd_huffman_data.c',
|
||||
'lib/nghttp2_helper.c',
|
||||
'lib/nghttp2_http.c',
|
||||
'lib/nghttp2_map.c',
|
||||
'lib/nghttp2_mem.c',
|
||||
'lib/nghttp2_npn.c',
|
||||
'lib/nghttp2_option.c',
|
||||
'lib/nghttp2_outbound_item.c',
|
||||
'lib/nghttp2_pq.c',
|
||||
'lib/nghttp2_priority_spec.c',
|
||||
'lib/nghttp2_queue.c',
|
||||
'lib/nghttp2_rcbuf.c',
|
||||
'lib/nghttp2_session.c',
|
||||
'lib/nghttp2_stream.c',
|
||||
'lib/nghttp2_submit.c',
|
||||
'lib/nghttp2_version.c',
|
||||
]
|
||||
},
|
||||
'target_defaults': {
|
||||
'defines': [
|
||||
'_U_='
|
||||
@ -35,29 +62,7 @@
|
||||
'include_dirs': [ 'lib/includes' ]
|
||||
},
|
||||
'sources': [
|
||||
'lib/nghttp2_buf.c',
|
||||
'lib/nghttp2_callbacks.c',
|
||||
'lib/nghttp2_debug.c',
|
||||
'lib/nghttp2_extpri.c',
|
||||
'lib/nghttp2_frame.c',
|
||||
'lib/nghttp2_hd.c',
|
||||
'lib/nghttp2_hd_huffman.c',
|
||||
'lib/nghttp2_hd_huffman_data.c',
|
||||
'lib/nghttp2_helper.c',
|
||||
'lib/nghttp2_http.c',
|
||||
'lib/nghttp2_map.c',
|
||||
'lib/nghttp2_mem.c',
|
||||
'lib/nghttp2_npn.c',
|
||||
'lib/nghttp2_option.c',
|
||||
'lib/nghttp2_outbound_item.c',
|
||||
'lib/nghttp2_pq.c',
|
||||
'lib/nghttp2_priority_spec.c',
|
||||
'lib/nghttp2_queue.c',
|
||||
'lib/nghttp2_rcbuf.c',
|
||||
'lib/nghttp2_session.c',
|
||||
'lib/nghttp2_stream.c',
|
||||
'lib/nghttp2_submit.c',
|
||||
'lib/nghttp2_version.c'
|
||||
'<@(nghttp2_sources)',
|
||||
]
|
||||
}
|
||||
]
|
||||
|
9
deps/simdutf/simdutf.gyp
vendored
9
deps/simdutf/simdutf.gyp
vendored
@ -1,4 +1,9 @@
|
||||
{
|
||||
'variables': {
|
||||
'simdutf_sources': [
|
||||
'simdutf.cpp',
|
||||
]
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'simdutf',
|
||||
@ -7,7 +12,9 @@
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': ['.'],
|
||||
},
|
||||
'sources': ['simdutf.cpp'],
|
||||
'sources': [
|
||||
'<@(simdutf_sources)',
|
||||
],
|
||||
},
|
||||
]
|
||||
}
|
||||
|
196
deps/uv/uv.gyp
vendored
196
deps/uv/uv.gyp
vendored
@ -34,36 +34,7 @@
|
||||
'shared_zos_defines': [ ],
|
||||
}],
|
||||
],
|
||||
},
|
||||
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'libuv',
|
||||
'type': '<(uv_library)',
|
||||
'include_dirs': [
|
||||
'include',
|
||||
'src/',
|
||||
],
|
||||
'defines': [
|
||||
'<@(shared_mac_defines)',
|
||||
'<@(shared_unix_defines)',
|
||||
'<@(shared_zos_defines)',
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
'defines': [
|
||||
'<@(shared_mac_defines)',
|
||||
'<@(shared_unix_defines)',
|
||||
'<@(shared_zos_defines)',
|
||||
],
|
||||
'include_dirs': [ 'include' ],
|
||||
'conditions': [
|
||||
['OS == "linux"', {
|
||||
'defines': [ '_POSIX_C_SOURCE=200112' ],
|
||||
}],
|
||||
],
|
||||
},
|
||||
'sources': [
|
||||
'common.gypi',
|
||||
'uv_sources_common': [
|
||||
'include/uv.h',
|
||||
'include/uv/tree.h',
|
||||
'include/uv/errno.h',
|
||||
@ -85,25 +56,9 @@
|
||||
'src/uv-data-getter-setters.c',
|
||||
'src/uv-common.c',
|
||||
'src/uv-common.h',
|
||||
'src/version.c'
|
||||
'src/version.c',
|
||||
],
|
||||
'xcode_settings': {
|
||||
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
|
||||
'WARNING_CFLAGS': [
|
||||
'-Wall',
|
||||
'-Wextra',
|
||||
'-Wno-unused-parameter',
|
||||
'-Wstrict-prototypes',
|
||||
],
|
||||
'OTHER_CFLAGS': [ '-g', '--std=gnu89' ],
|
||||
},
|
||||
'conditions': [
|
||||
[ 'OS=="win"', {
|
||||
'defines': [
|
||||
'_WIN32_WINNT=0x0600',
|
||||
'_GNU_SOURCE',
|
||||
],
|
||||
'sources': [
|
||||
'uv_sources_win': [
|
||||
'include/uv/win.h',
|
||||
'src/win/async.c',
|
||||
'src/win/atomicops-inl.h',
|
||||
@ -138,19 +93,7 @@
|
||||
'src/win/winsock.c',
|
||||
'src/win/winsock.h',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'-ladvapi32',
|
||||
'-liphlpapi',
|
||||
'-lpsapi',
|
||||
'-lshell32',
|
||||
'-luser32',
|
||||
'-luserenv',
|
||||
'-lws2_32'
|
||||
],
|
||||
},
|
||||
}, { # Not Windows i.e. POSIX
|
||||
'sources': [
|
||||
'uv_sources_posix': [
|
||||
'include/uv/unix.h',
|
||||
'include/uv/linux.h',
|
||||
'include/uv/sunos.h',
|
||||
@ -179,6 +122,107 @@
|
||||
'src/unix/tty.c',
|
||||
'src/unix/udp.c',
|
||||
],
|
||||
'uv_sources_apple': [
|
||||
'src/unix/darwin.c',
|
||||
'src/unix/fsevents.c',
|
||||
'src/unix/darwin-proctitle.c',
|
||||
'src/unix/random-getentropy.c',
|
||||
],
|
||||
'uv_sources_linux': [
|
||||
'src/unix/epoll.c',
|
||||
'src/unix/linux-core.c',
|
||||
'src/unix/linux-inotify.c',
|
||||
'src/unix/linux-syscalls.c',
|
||||
'src/unix/linux-syscalls.h',
|
||||
'src/unix/procfs-exepath.c',
|
||||
'src/unix/random-getrandom.c',
|
||||
'src/unix/random-sysctl-linux.c',
|
||||
],
|
||||
'uv_sources_android': [
|
||||
'src/unix/linux-core.c',
|
||||
'src/unix/linux-inotify.c',
|
||||
'src/unix/linux-syscalls.c',
|
||||
'src/unix/procfs-exepath.c',
|
||||
'src/unix/pthread-fixes.c',
|
||||
'src/unix/random-getentropy.c',
|
||||
'src/unix/random-getrandom.c',
|
||||
'src/unix/random-sysctl-linux.c',
|
||||
'src/unix/epoll.c',
|
||||
],
|
||||
'uv_sources_solaris': [
|
||||
'src/unix/no-proctitle.c',
|
||||
'src/unix/sunos.c',
|
||||
],
|
||||
'uv_sources_bsd_common': [
|
||||
'src/unix/bsd-ifaddrs.c',
|
||||
'src/unix/kqueue.c',
|
||||
],
|
||||
},
|
||||
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'libuv',
|
||||
'type': '<(uv_library)',
|
||||
'include_dirs': [
|
||||
'include',
|
||||
'src/',
|
||||
],
|
||||
'defines': [
|
||||
'<@(shared_mac_defines)',
|
||||
'<@(shared_unix_defines)',
|
||||
'<@(shared_zos_defines)',
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
'defines': [
|
||||
'<@(shared_mac_defines)',
|
||||
'<@(shared_unix_defines)',
|
||||
'<@(shared_zos_defines)',
|
||||
],
|
||||
'include_dirs': [ 'include' ],
|
||||
'conditions': [
|
||||
['OS == "linux"', {
|
||||
'defines': [ '_POSIX_C_SOURCE=200112' ],
|
||||
}],
|
||||
],
|
||||
},
|
||||
'sources': [
|
||||
'common.gypi',
|
||||
'<@(uv_sources_common)',
|
||||
],
|
||||
'xcode_settings': {
|
||||
'GCC_SYMBOLS_PRIVATE_EXTERN': 'YES', # -fvisibility=hidden
|
||||
'WARNING_CFLAGS': [
|
||||
'-Wall',
|
||||
'-Wextra',
|
||||
'-Wno-unused-parameter',
|
||||
'-Wstrict-prototypes',
|
||||
],
|
||||
'OTHER_CFLAGS': [ '-g', '--std=gnu89' ],
|
||||
},
|
||||
'conditions': [
|
||||
[ 'OS=="win"', {
|
||||
'defines': [
|
||||
'_WIN32_WINNT=0x0600',
|
||||
'_GNU_SOURCE',
|
||||
],
|
||||
'sources': [
|
||||
'<@(uv_sources_win)',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [
|
||||
'-ladvapi32',
|
||||
'-liphlpapi',
|
||||
'-lpsapi',
|
||||
'-lshell32',
|
||||
'-luser32',
|
||||
'-luserenv',
|
||||
'-lws2_32'
|
||||
],
|
||||
},
|
||||
}, { # Not Windows i.e. POSIX
|
||||
'sources': [
|
||||
'<@(uv_sources_posix)',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [ '-lm' ],
|
||||
'conditions': [
|
||||
@ -228,10 +272,7 @@
|
||||
}],
|
||||
[ 'OS in "mac ios"', {
|
||||
'sources': [
|
||||
'src/unix/darwin.c',
|
||||
'src/unix/fsevents.c',
|
||||
'src/unix/darwin-proctitle.c',
|
||||
'src/unix/random-getentropy.c',
|
||||
'<@(uv_sources_apple)',
|
||||
],
|
||||
'defines': [
|
||||
'_DARWIN_USE_64_BIT_INODE=1',
|
||||
@ -241,14 +282,7 @@
|
||||
[ 'OS=="linux"', {
|
||||
'defines': [ '_GNU_SOURCE' ],
|
||||
'sources': [
|
||||
'src/unix/epoll.c',
|
||||
'src/unix/linux-core.c',
|
||||
'src/unix/linux-inotify.c',
|
||||
'src/unix/linux-syscalls.c',
|
||||
'src/unix/linux-syscalls.h',
|
||||
'src/unix/procfs-exepath.c',
|
||||
'src/unix/random-getrandom.c',
|
||||
'src/unix/random-sysctl-linux.c',
|
||||
'<@(uv_sources_linux)',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [ '-ldl', '-lrt' ],
|
||||
@ -259,15 +293,7 @@
|
||||
'_GNU_SOURCE',
|
||||
],
|
||||
'sources': [
|
||||
'src/unix/linux-core.c',
|
||||
'src/unix/linux-inotify.c',
|
||||
'src/unix/linux-syscalls.c',
|
||||
'src/unix/procfs-exepath.c',
|
||||
'src/unix/pthread-fixes.c',
|
||||
'src/unix/random-getentropy.c',
|
||||
'src/unix/random-getrandom.c',
|
||||
'src/unix/random-sysctl-linux.c',
|
||||
'src/unix/epoll.c',
|
||||
'<@(uv_sources_android)',
|
||||
],
|
||||
'link_settings': {
|
||||
'libraries': [ '-ldl' ],
|
||||
@ -275,8 +301,7 @@
|
||||
}],
|
||||
[ 'OS=="solaris"', {
|
||||
'sources': [
|
||||
'src/unix/no-proctitle.c',
|
||||
'src/unix/sunos.c',
|
||||
'<@(uv_sources_solaris)',
|
||||
],
|
||||
'defines': [
|
||||
'__EXTENSIONS__',
|
||||
@ -369,8 +394,7 @@
|
||||
}],
|
||||
[ 'OS in "ios mac freebsd dragonflybsd openbsd netbsd".split()', {
|
||||
'sources': [
|
||||
'src/unix/bsd-ifaddrs.c',
|
||||
'src/unix/kqueue.c',
|
||||
'<@(uv_sources_bsd_common)',
|
||||
],
|
||||
}],
|
||||
['uv_library=="shared_library"', {
|
||||
|
21
deps/uvwasi/uvwasi.gyp
vendored
21
deps/uvwasi/uvwasi.gyp
vendored
@ -1,4 +1,16 @@
|
||||
{
|
||||
'variables': {
|
||||
'uvwasi_sources': [
|
||||
'src/clocks.c',
|
||||
'src/fd_table.c',
|
||||
'src/path_resolver.c',
|
||||
'src/poll_oneoff.c',
|
||||
'src/uv_mapping.c',
|
||||
'src/uvwasi.c',
|
||||
'src/wasi_rights.c',
|
||||
'src/wasi_serdes.c',
|
||||
]
|
||||
},
|
||||
'targets': [
|
||||
{
|
||||
'target_name': 'uvwasi',
|
||||
@ -9,14 +21,7 @@
|
||||
},
|
||||
'include_dirs': ['include'],
|
||||
'sources': [
|
||||
'src/clocks.c',
|
||||
'src/fd_table.c',
|
||||
'src/path_resolver.c',
|
||||
'src/poll_oneoff.c',
|
||||
'src/uv_mapping.c',
|
||||
'src/uvwasi.c',
|
||||
'src/wasi_rights.c',
|
||||
'src/wasi_serdes.c',
|
||||
'<@(uvwasi_sources)',
|
||||
],
|
||||
'direct_dependent_settings': {
|
||||
'include_dirs': ['include']
|
||||
|
567
node.gyp
567
node.gyp
@ -51,6 +51,290 @@
|
||||
'deps/acorn/acorn-walk/dist/walk.js',
|
||||
'<@(node_builtin_shareable_builtins)',
|
||||
],
|
||||
'node_sources': [
|
||||
'src/api/async_resource.cc',
|
||||
'src/api/callback.cc',
|
||||
'src/api/embed_helpers.cc',
|
||||
'src/api/encoding.cc',
|
||||
'src/api/environment.cc',
|
||||
'src/api/exceptions.cc',
|
||||
'src/api/hooks.cc',
|
||||
'src/api/utils.cc',
|
||||
'src/async_wrap.cc',
|
||||
'src/base_object.cc',
|
||||
'src/cares_wrap.cc',
|
||||
'src/cleanup_queue.cc',
|
||||
'src/connect_wrap.cc',
|
||||
'src/connection_wrap.cc',
|
||||
'src/dataqueue/queue.cc',
|
||||
'src/debug_utils.cc',
|
||||
'src/encoding_binding.cc',
|
||||
'src/env.cc',
|
||||
'src/fs_event_wrap.cc',
|
||||
'src/handle_wrap.cc',
|
||||
'src/heap_utils.cc',
|
||||
'src/histogram.cc',
|
||||
'src/js_native_api.h',
|
||||
'src/js_native_api_types.h',
|
||||
'src/js_native_api_v8.cc',
|
||||
'src/js_native_api_v8.h',
|
||||
'src/js_native_api_v8_internals.h',
|
||||
'src/js_stream.cc',
|
||||
'src/json_utils.cc',
|
||||
'src/js_udp_wrap.cc',
|
||||
'src/module_wrap.cc',
|
||||
'src/node.cc',
|
||||
'src/node_api.cc',
|
||||
'src/node_binding.cc',
|
||||
'src/node_blob.cc',
|
||||
'src/node_buffer.cc',
|
||||
'src/node_builtins.cc',
|
||||
'src/node_config.cc',
|
||||
'src/node_constants.cc',
|
||||
'src/node_contextify.cc',
|
||||
'src/node_credentials.cc',
|
||||
'src/node_dir.cc',
|
||||
'src/node_env_var.cc',
|
||||
'src/node_errors.cc',
|
||||
'src/node_external_reference.cc',
|
||||
'src/node_file.cc',
|
||||
'src/node_http_parser.cc',
|
||||
'src/node_http2.cc',
|
||||
'src/node_i18n.cc',
|
||||
'src/node_main_instance.cc',
|
||||
'src/node_messaging.cc',
|
||||
'src/node_metadata.cc',
|
||||
'src/node_options.cc',
|
||||
'src/node_os.cc',
|
||||
'src/node_perf.cc',
|
||||
'src/node_platform.cc',
|
||||
'src/node_postmortem_metadata.cc',
|
||||
'src/node_process_events.cc',
|
||||
'src/node_process_methods.cc',
|
||||
'src/node_process_object.cc',
|
||||
'src/node_realm.cc',
|
||||
'src/node_report.cc',
|
||||
'src/node_report_module.cc',
|
||||
'src/node_report_utils.cc',
|
||||
'src/node_sea.cc',
|
||||
'src/node_serdes.cc',
|
||||
'src/node_shadow_realm.cc',
|
||||
'src/node_snapshotable.cc',
|
||||
'src/node_sockaddr.cc',
|
||||
'src/node_stat_watcher.cc',
|
||||
'src/node_symbols.cc',
|
||||
'src/node_task_queue.cc',
|
||||
'src/node_trace_events.cc',
|
||||
'src/node_types.cc',
|
||||
'src/node_url.cc',
|
||||
'src/node_util.cc',
|
||||
'src/node_v8.cc',
|
||||
'src/node_wasi.cc',
|
||||
'src/node_wasm_web_api.cc',
|
||||
'src/node_watchdog.cc',
|
||||
'src/node_worker.cc',
|
||||
'src/node_zlib.cc',
|
||||
'src/permission/child_process_permission.cc',
|
||||
'src/permission/fs_permission.cc',
|
||||
'src/permission/permission.cc',
|
||||
'src/permission/worker_permission.cc',
|
||||
'src/pipe_wrap.cc',
|
||||
'src/process_wrap.cc',
|
||||
'src/signal_wrap.cc',
|
||||
'src/spawn_sync.cc',
|
||||
'src/stream_base.cc',
|
||||
'src/stream_pipe.cc',
|
||||
'src/stream_wrap.cc',
|
||||
'src/string_bytes.cc',
|
||||
'src/string_decoder.cc',
|
||||
'src/tcp_wrap.cc',
|
||||
'src/timers.cc',
|
||||
'src/timer_wrap.cc',
|
||||
'src/tracing/agent.cc',
|
||||
'src/tracing/node_trace_buffer.cc',
|
||||
'src/tracing/node_trace_writer.cc',
|
||||
'src/tracing/trace_event.cc',
|
||||
'src/tracing/traced_value.cc',
|
||||
'src/tty_wrap.cc',
|
||||
'src/udp_wrap.cc',
|
||||
'src/util.cc',
|
||||
'src/uv.cc',
|
||||
# headers to make for a more pleasant IDE experience
|
||||
'src/aliased_buffer.h',
|
||||
'src/aliased_buffer-inl.h',
|
||||
'src/aliased_struct.h',
|
||||
'src/aliased_struct-inl.h',
|
||||
'src/async_wrap.h',
|
||||
'src/async_wrap-inl.h',
|
||||
'src/base_object.h',
|
||||
'src/base_object-inl.h',
|
||||
'src/base_object_types.h',
|
||||
'src/base64.h',
|
||||
'src/base64-inl.h',
|
||||
'src/callback_queue.h',
|
||||
'src/callback_queue-inl.h',
|
||||
'src/cleanup_queue.h',
|
||||
'src/cleanup_queue-inl.h',
|
||||
'src/connect_wrap.h',
|
||||
'src/connection_wrap.h',
|
||||
'src/dataqueue/queue.h',
|
||||
'src/debug_utils.h',
|
||||
'src/debug_utils-inl.h',
|
||||
'src/encoding_binding.h',
|
||||
'src/env_properties.h',
|
||||
'src/env.h',
|
||||
'src/env-inl.h',
|
||||
'src/handle_wrap.h',
|
||||
'src/histogram.h',
|
||||
'src/histogram-inl.h',
|
||||
'src/js_stream.h',
|
||||
'src/json_utils.h',
|
||||
'src/large_pages/node_large_page.cc',
|
||||
'src/large_pages/node_large_page.h',
|
||||
'src/memory_tracker.h',
|
||||
'src/memory_tracker-inl.h',
|
||||
'src/module_wrap.h',
|
||||
'src/node.h',
|
||||
'src/node_api.h',
|
||||
'src/node_api_types.h',
|
||||
'src/node_binding.h',
|
||||
'src/node_blob.h',
|
||||
'src/node_buffer.h',
|
||||
'src/node_builtins.h',
|
||||
'src/node_constants.h',
|
||||
'src/node_context_data.h',
|
||||
'src/node_contextify.h',
|
||||
'src/node_dir.h',
|
||||
'src/node_errors.h',
|
||||
'src/node_exit_code.h',
|
||||
'src/node_external_reference.h',
|
||||
'src/node_file.h',
|
||||
'src/node_file-inl.h',
|
||||
'src/node_http_common.h',
|
||||
'src/node_http_common-inl.h',
|
||||
'src/node_http2.h',
|
||||
'src/node_http2_state.h',
|
||||
'src/node_i18n.h',
|
||||
'src/node_internals.h',
|
||||
'src/node_main_instance.h',
|
||||
'src/node_mem.h',
|
||||
'src/node_mem-inl.h',
|
||||
'src/node_messaging.h',
|
||||
'src/node_metadata.h',
|
||||
'src/node_mutex.h',
|
||||
'src/node_object_wrap.h',
|
||||
'src/node_options.h',
|
||||
'src/node_options-inl.h',
|
||||
'src/node_perf.h',
|
||||
'src/node_perf_common.h',
|
||||
'src/node_platform.h',
|
||||
'src/node_process.h',
|
||||
'src/node_process-inl.h',
|
||||
'src/node_realm.h',
|
||||
'src/node_realm-inl.h',
|
||||
'src/node_report.h',
|
||||
'src/node_revert.h',
|
||||
'src/node_root_certs.h',
|
||||
'src/node_sea.h',
|
||||
'src/node_shadow_realm.h',
|
||||
'src/node_snapshotable.h',
|
||||
'src/node_snapshot_builder.h',
|
||||
'src/node_sockaddr.h',
|
||||
'src/node_sockaddr-inl.h',
|
||||
'src/node_stat_watcher.h',
|
||||
'src/node_union_bytes.h',
|
||||
'src/node_url.h',
|
||||
'src/node_util.h',
|
||||
'src/node_version.h',
|
||||
'src/node_v8.h',
|
||||
'src/node_v8_platform-inl.h',
|
||||
'src/node_wasi.h',
|
||||
'src/node_watchdog.h',
|
||||
'src/node_worker.h',
|
||||
'src/permission/child_process_permission.h',
|
||||
'src/permission/fs_permission.h',
|
||||
'src/permission/permission.h',
|
||||
'src/permission/permission_node.h',
|
||||
'src/permission/worker_permission.h',
|
||||
'src/pipe_wrap.h',
|
||||
'src/req_wrap.h',
|
||||
'src/req_wrap-inl.h',
|
||||
'src/spawn_sync.h',
|
||||
'src/stream_base.h',
|
||||
'src/stream_base-inl.h',
|
||||
'src/stream_pipe.h',
|
||||
'src/stream_wrap.h',
|
||||
'src/string_bytes.h',
|
||||
'src/string_decoder.h',
|
||||
'src/string_decoder-inl.h',
|
||||
'src/string_search.h',
|
||||
'src/tcp_wrap.h',
|
||||
'src/timers.h',
|
||||
'src/tracing/agent.h',
|
||||
'src/tracing/node_trace_buffer.h',
|
||||
'src/tracing/node_trace_writer.h',
|
||||
'src/tracing/trace_event.h',
|
||||
'src/tracing/trace_event_common.h',
|
||||
'src/tracing/traced_value.h',
|
||||
'src/timer_wrap.h',
|
||||
'src/timer_wrap-inl.h',
|
||||
'src/tty_wrap.h',
|
||||
'src/udp_wrap.h',
|
||||
'src/util.h',
|
||||
'src/util-inl.h',
|
||||
],
|
||||
'node_crypto_sources': [
|
||||
'src/crypto/crypto_aes.cc',
|
||||
'src/crypto/crypto_bio.cc',
|
||||
'src/crypto/crypto_common.cc',
|
||||
'src/crypto/crypto_dsa.cc',
|
||||
'src/crypto/crypto_hkdf.cc',
|
||||
'src/crypto/crypto_pbkdf2.cc',
|
||||
'src/crypto/crypto_sig.cc',
|
||||
'src/crypto/crypto_timing.cc',
|
||||
'src/crypto/crypto_cipher.cc',
|
||||
'src/crypto/crypto_context.cc',
|
||||
'src/crypto/crypto_ec.cc',
|
||||
'src/crypto/crypto_hmac.cc',
|
||||
'src/crypto/crypto_random.cc',
|
||||
'src/crypto/crypto_rsa.cc',
|
||||
'src/crypto/crypto_spkac.cc',
|
||||
'src/crypto/crypto_util.cc',
|
||||
'src/crypto/crypto_clienthello.cc',
|
||||
'src/crypto/crypto_dh.cc',
|
||||
'src/crypto/crypto_hash.cc',
|
||||
'src/crypto/crypto_keys.cc',
|
||||
'src/crypto/crypto_keygen.cc',
|
||||
'src/crypto/crypto_scrypt.cc',
|
||||
'src/crypto/crypto_tls.cc',
|
||||
'src/crypto/crypto_x509.cc',
|
||||
'src/crypto/crypto_bio.h',
|
||||
'src/crypto/crypto_clienthello-inl.h',
|
||||
'src/crypto/crypto_dh.h',
|
||||
'src/crypto/crypto_hmac.h',
|
||||
'src/crypto/crypto_rsa.h',
|
||||
'src/crypto/crypto_spkac.h',
|
||||
'src/crypto/crypto_util.h',
|
||||
'src/crypto/crypto_cipher.h',
|
||||
'src/crypto/crypto_common.h',
|
||||
'src/crypto/crypto_dsa.h',
|
||||
'src/crypto/crypto_hash.h',
|
||||
'src/crypto/crypto_keys.h',
|
||||
'src/crypto/crypto_keygen.h',
|
||||
'src/crypto/crypto_scrypt.h',
|
||||
'src/crypto/crypto_tls.h',
|
||||
'src/crypto/crypto_clienthello.h',
|
||||
'src/crypto/crypto_context.h',
|
||||
'src/crypto/crypto_ec.h',
|
||||
'src/crypto/crypto_hkdf.h',
|
||||
'src/crypto/crypto_pbkdf2.h',
|
||||
'src/crypto/crypto_sig.h',
|
||||
'src/crypto/crypto_random.h',
|
||||
'src/crypto/crypto_timing.h',
|
||||
'src/crypto/crypto_x509.h',
|
||||
'src/node_crypto.cc',
|
||||
'src/node_crypto.h',
|
||||
],
|
||||
'node_mksnapshot_exec': '<(PRODUCT_DIR)/<(EXECUTABLE_PREFIX)node_mksnapshot<(EXECUTABLE_SUFFIX)',
|
||||
'conditions': [
|
||||
['GENERATOR == "ninja"', {
|
||||
@ -463,236 +747,7 @@
|
||||
],
|
||||
|
||||
'sources': [
|
||||
'src/api/async_resource.cc',
|
||||
'src/api/callback.cc',
|
||||
'src/api/embed_helpers.cc',
|
||||
'src/api/encoding.cc',
|
||||
'src/api/environment.cc',
|
||||
'src/api/exceptions.cc',
|
||||
'src/api/hooks.cc',
|
||||
'src/api/utils.cc',
|
||||
'src/async_wrap.cc',
|
||||
'src/base_object.cc',
|
||||
'src/cares_wrap.cc',
|
||||
'src/cleanup_queue.cc',
|
||||
'src/connect_wrap.cc',
|
||||
'src/connection_wrap.cc',
|
||||
'src/dataqueue/queue.cc',
|
||||
'src/debug_utils.cc',
|
||||
'src/encoding_binding.cc',
|
||||
'src/env.cc',
|
||||
'src/fs_event_wrap.cc',
|
||||
'src/handle_wrap.cc',
|
||||
'src/heap_utils.cc',
|
||||
'src/histogram.cc',
|
||||
'src/js_native_api.h',
|
||||
'src/js_native_api_types.h',
|
||||
'src/js_native_api_v8.cc',
|
||||
'src/js_native_api_v8.h',
|
||||
'src/js_native_api_v8_internals.h',
|
||||
'src/js_stream.cc',
|
||||
'src/json_utils.cc',
|
||||
'src/js_udp_wrap.cc',
|
||||
'src/module_wrap.cc',
|
||||
'src/node.cc',
|
||||
'src/node_api.cc',
|
||||
'src/node_binding.cc',
|
||||
'src/node_blob.cc',
|
||||
'src/node_buffer.cc',
|
||||
'src/node_builtins.cc',
|
||||
'src/node_config.cc',
|
||||
'src/node_constants.cc',
|
||||
'src/node_contextify.cc',
|
||||
'src/node_credentials.cc',
|
||||
'src/node_dir.cc',
|
||||
'src/node_env_var.cc',
|
||||
'src/node_errors.cc',
|
||||
'src/node_external_reference.cc',
|
||||
'src/node_file.cc',
|
||||
'src/node_http_parser.cc',
|
||||
'src/node_http2.cc',
|
||||
'src/node_i18n.cc',
|
||||
'src/node_main_instance.cc',
|
||||
'src/node_messaging.cc',
|
||||
'src/node_metadata.cc',
|
||||
'src/node_options.cc',
|
||||
'src/node_os.cc',
|
||||
'src/node_perf.cc',
|
||||
'src/node_platform.cc',
|
||||
'src/node_postmortem_metadata.cc',
|
||||
'src/node_process_events.cc',
|
||||
'src/node_process_methods.cc',
|
||||
'src/node_process_object.cc',
|
||||
'src/node_realm.cc',
|
||||
'src/node_report.cc',
|
||||
'src/node_report_module.cc',
|
||||
'src/node_report_utils.cc',
|
||||
'src/node_sea.cc',
|
||||
'src/node_serdes.cc',
|
||||
'src/node_shadow_realm.cc',
|
||||
'src/node_snapshotable.cc',
|
||||
'src/node_sockaddr.cc',
|
||||
'src/node_stat_watcher.cc',
|
||||
'src/node_symbols.cc',
|
||||
'src/node_task_queue.cc',
|
||||
'src/node_trace_events.cc',
|
||||
'src/node_types.cc',
|
||||
'src/node_url.cc',
|
||||
'src/node_util.cc',
|
||||
'src/node_v8.cc',
|
||||
'src/node_wasi.cc',
|
||||
'src/node_wasm_web_api.cc',
|
||||
'src/node_watchdog.cc',
|
||||
'src/node_worker.cc',
|
||||
'src/node_zlib.cc',
|
||||
'src/permission/child_process_permission.cc',
|
||||
'src/permission/fs_permission.cc',
|
||||
'src/permission/permission.cc',
|
||||
'src/permission/worker_permission.cc',
|
||||
'src/pipe_wrap.cc',
|
||||
'src/process_wrap.cc',
|
||||
'src/signal_wrap.cc',
|
||||
'src/spawn_sync.cc',
|
||||
'src/stream_base.cc',
|
||||
'src/stream_pipe.cc',
|
||||
'src/stream_wrap.cc',
|
||||
'src/string_bytes.cc',
|
||||
'src/string_decoder.cc',
|
||||
'src/tcp_wrap.cc',
|
||||
'src/timers.cc',
|
||||
'src/timer_wrap.cc',
|
||||
'src/tracing/agent.cc',
|
||||
'src/tracing/node_trace_buffer.cc',
|
||||
'src/tracing/node_trace_writer.cc',
|
||||
'src/tracing/trace_event.cc',
|
||||
'src/tracing/traced_value.cc',
|
||||
'src/tty_wrap.cc',
|
||||
'src/udp_wrap.cc',
|
||||
'src/util.cc',
|
||||
'src/uv.cc',
|
||||
# headers to make for a more pleasant IDE experience
|
||||
'src/aliased_buffer.h',
|
||||
'src/aliased_buffer-inl.h',
|
||||
'src/aliased_struct.h',
|
||||
'src/aliased_struct-inl.h',
|
||||
'src/async_wrap.h',
|
||||
'src/async_wrap-inl.h',
|
||||
'src/base_object.h',
|
||||
'src/base_object-inl.h',
|
||||
'src/base_object_types.h',
|
||||
'src/base64.h',
|
||||
'src/base64-inl.h',
|
||||
'src/callback_queue.h',
|
||||
'src/callback_queue-inl.h',
|
||||
'src/cleanup_queue.h',
|
||||
'src/cleanup_queue-inl.h',
|
||||
'src/connect_wrap.h',
|
||||
'src/connection_wrap.h',
|
||||
'src/dataqueue/queue.h',
|
||||
'src/debug_utils.h',
|
||||
'src/debug_utils-inl.h',
|
||||
'src/encoding_binding.h',
|
||||
'src/env_properties.h',
|
||||
'src/env.h',
|
||||
'src/env-inl.h',
|
||||
'src/handle_wrap.h',
|
||||
'src/histogram.h',
|
||||
'src/histogram-inl.h',
|
||||
'src/js_stream.h',
|
||||
'src/json_utils.h',
|
||||
'src/large_pages/node_large_page.cc',
|
||||
'src/large_pages/node_large_page.h',
|
||||
'src/memory_tracker.h',
|
||||
'src/memory_tracker-inl.h',
|
||||
'src/module_wrap.h',
|
||||
'src/node.h',
|
||||
'src/node_api.h',
|
||||
'src/node_api_types.h',
|
||||
'src/node_binding.h',
|
||||
'src/node_blob.h',
|
||||
'src/node_buffer.h',
|
||||
'src/node_builtins.h',
|
||||
'src/node_constants.h',
|
||||
'src/node_context_data.h',
|
||||
'src/node_contextify.h',
|
||||
'src/node_dir.h',
|
||||
'src/node_errors.h',
|
||||
'src/node_exit_code.h',
|
||||
'src/node_external_reference.h',
|
||||
'src/node_file.h',
|
||||
'src/node_file-inl.h',
|
||||
'src/node_http_common.h',
|
||||
'src/node_http_common-inl.h',
|
||||
'src/node_http2.h',
|
||||
'src/node_http2_state.h',
|
||||
'src/node_i18n.h',
|
||||
'src/node_internals.h',
|
||||
'src/node_main_instance.h',
|
||||
'src/node_mem.h',
|
||||
'src/node_mem-inl.h',
|
||||
'src/node_messaging.h',
|
||||
'src/node_metadata.h',
|
||||
'src/node_mutex.h',
|
||||
'src/node_object_wrap.h',
|
||||
'src/node_options.h',
|
||||
'src/node_options-inl.h',
|
||||
'src/node_perf.h',
|
||||
'src/node_perf_common.h',
|
||||
'src/node_platform.h',
|
||||
'src/node_process.h',
|
||||
'src/node_process-inl.h',
|
||||
'src/node_realm.h',
|
||||
'src/node_realm-inl.h',
|
||||
'src/node_report.h',
|
||||
'src/node_revert.h',
|
||||
'src/node_root_certs.h',
|
||||
'src/node_sea.h',
|
||||
'src/node_shadow_realm.h',
|
||||
'src/node_snapshotable.h',
|
||||
'src/node_snapshot_builder.h',
|
||||
'src/node_sockaddr.h',
|
||||
'src/node_sockaddr-inl.h',
|
||||
'src/node_stat_watcher.h',
|
||||
'src/node_union_bytes.h',
|
||||
'src/node_url.h',
|
||||
'src/node_util.h',
|
||||
'src/node_version.h',
|
||||
'src/node_v8.h',
|
||||
'src/node_v8_platform-inl.h',
|
||||
'src/node_wasi.h',
|
||||
'src/node_watchdog.h',
|
||||
'src/node_worker.h',
|
||||
'src/permission/child_process_permission.h',
|
||||
'src/permission/fs_permission.h',
|
||||
'src/permission/permission.h',
|
||||
'src/permission/permission_node.h',
|
||||
'src/permission/worker_permission.h',
|
||||
'src/pipe_wrap.h',
|
||||
'src/req_wrap.h',
|
||||
'src/req_wrap-inl.h',
|
||||
'src/spawn_sync.h',
|
||||
'src/stream_base.h',
|
||||
'src/stream_base-inl.h',
|
||||
'src/stream_pipe.h',
|
||||
'src/stream_wrap.h',
|
||||
'src/string_bytes.h',
|
||||
'src/string_decoder.h',
|
||||
'src/string_decoder-inl.h',
|
||||
'src/string_search.h',
|
||||
'src/tcp_wrap.h',
|
||||
'src/timers.h',
|
||||
'src/tracing/agent.h',
|
||||
'src/tracing/node_trace_buffer.h',
|
||||
'src/tracing/node_trace_writer.h',
|
||||
'src/tracing/trace_event.h',
|
||||
'src/tracing/trace_event_common.h',
|
||||
'src/tracing/traced_value.h',
|
||||
'src/timer_wrap.h',
|
||||
'src/timer_wrap-inl.h',
|
||||
'src/tty_wrap.h',
|
||||
'src/udp_wrap.h',
|
||||
'src/util.h',
|
||||
'src/util-inl.h',
|
||||
'<@(node_sources)',
|
||||
# Dependency headers
|
||||
'deps/v8/include/v8.h',
|
||||
'deps/postject/postject-api.h',
|
||||
@ -780,57 +835,7 @@
|
||||
}],
|
||||
[ 'node_use_openssl=="true"', {
|
||||
'sources': [
|
||||
'src/crypto/crypto_aes.cc',
|
||||
'src/crypto/crypto_bio.cc',
|
||||
'src/crypto/crypto_common.cc',
|
||||
'src/crypto/crypto_dsa.cc',
|
||||
'src/crypto/crypto_hkdf.cc',
|
||||
'src/crypto/crypto_pbkdf2.cc',
|
||||
'src/crypto/crypto_sig.cc',
|
||||
'src/crypto/crypto_timing.cc',
|
||||
'src/crypto/crypto_cipher.cc',
|
||||
'src/crypto/crypto_context.cc',
|
||||
'src/crypto/crypto_ec.cc',
|
||||
'src/crypto/crypto_hmac.cc',
|
||||
'src/crypto/crypto_random.cc',
|
||||
'src/crypto/crypto_rsa.cc',
|
||||
'src/crypto/crypto_spkac.cc',
|
||||
'src/crypto/crypto_util.cc',
|
||||
'src/crypto/crypto_clienthello.cc',
|
||||
'src/crypto/crypto_dh.cc',
|
||||
'src/crypto/crypto_hash.cc',
|
||||
'src/crypto/crypto_keys.cc',
|
||||
'src/crypto/crypto_keygen.cc',
|
||||
'src/crypto/crypto_scrypt.cc',
|
||||
'src/crypto/crypto_tls.cc',
|
||||
'src/crypto/crypto_aes.cc',
|
||||
'src/crypto/crypto_x509.cc',
|
||||
'src/crypto/crypto_bio.h',
|
||||
'src/crypto/crypto_clienthello-inl.h',
|
||||
'src/crypto/crypto_dh.h',
|
||||
'src/crypto/crypto_hmac.h',
|
||||
'src/crypto/crypto_rsa.h',
|
||||
'src/crypto/crypto_spkac.h',
|
||||
'src/crypto/crypto_util.h',
|
||||
'src/crypto/crypto_cipher.h',
|
||||
'src/crypto/crypto_common.h',
|
||||
'src/crypto/crypto_dsa.h',
|
||||
'src/crypto/crypto_hash.h',
|
||||
'src/crypto/crypto_keys.h',
|
||||
'src/crypto/crypto_keygen.h',
|
||||
'src/crypto/crypto_scrypt.h',
|
||||
'src/crypto/crypto_tls.h',
|
||||
'src/crypto/crypto_clienthello.h',
|
||||
'src/crypto/crypto_context.h',
|
||||
'src/crypto/crypto_ec.h',
|
||||
'src/crypto/crypto_hkdf.h',
|
||||
'src/crypto/crypto_pbkdf2.h',
|
||||
'src/crypto/crypto_sig.h',
|
||||
'src/crypto/crypto_random.h',
|
||||
'src/crypto/crypto_timing.h',
|
||||
'src/crypto/crypto_x509.h',
|
||||
'src/node_crypto.cc',
|
||||
'src/node_crypto.h'
|
||||
'<@(node_crypto_sources)',
|
||||
],
|
||||
}],
|
||||
[ 'OS in "linux freebsd mac solaris" and '
|
||||
|
@ -1,6 +1,31 @@
|
||||
{
|
||||
'variables': {
|
||||
'protocol_tool_path': '../../tools/inspector_protocol',
|
||||
'node_inspector_sources': [
|
||||
'src/inspector_agent.cc',
|
||||
'src/inspector_io.cc',
|
||||
'src/inspector_agent.h',
|
||||
'src/inspector_io.h',
|
||||
'src/inspector_profiler.h',
|
||||
'src/inspector_profiler.cc',
|
||||
'src/inspector_js_api.cc',
|
||||
'src/inspector_socket.cc',
|
||||
'src/inspector_socket.h',
|
||||
'src/inspector_socket_server.cc',
|
||||
'src/inspector_socket_server.h',
|
||||
'src/inspector/main_thread_interface.cc',
|
||||
'src/inspector/main_thread_interface.h',
|
||||
'src/inspector/node_string.cc',
|
||||
'src/inspector/node_string.h',
|
||||
'src/inspector/runtime_agent.cc',
|
||||
'src/inspector/runtime_agent.h',
|
||||
'src/inspector/tracing_agent.cc',
|
||||
'src/inspector/tracing_agent.h',
|
||||
'src/inspector/worker_agent.cc',
|
||||
'src/inspector/worker_agent.h',
|
||||
'src/inspector/worker_inspector.cc',
|
||||
'src/inspector/worker_inspector.h',
|
||||
],
|
||||
'node_inspector_generated_sources': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/src/node/inspector/protocol/Forward.h',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/src/node/inspector/protocol/Protocol.cpp',
|
||||
@ -38,36 +63,13 @@
|
||||
'<(protocol_tool_path)/templates/Imported_h.template',
|
||||
'<(protocol_tool_path)/templates/TypeBuilder_cpp.template',
|
||||
'<(protocol_tool_path)/templates/TypeBuilder_h.template',
|
||||
'<(protocol_tool_path)/code_generator.py',
|
||||
]
|
||||
},
|
||||
'defines': [
|
||||
'HAVE_INSPECTOR=1',
|
||||
],
|
||||
'sources': [
|
||||
'../../src/inspector_agent.cc',
|
||||
'../../src/inspector_io.cc',
|
||||
'../../src/inspector_agent.h',
|
||||
'../../src/inspector_io.h',
|
||||
'../../src/inspector_profiler.h',
|
||||
'../../src/inspector_profiler.cc',
|
||||
'../../src/inspector_js_api.cc',
|
||||
'../../src/inspector_socket.cc',
|
||||
'../../src/inspector_socket.h',
|
||||
'../../src/inspector_socket_server.cc',
|
||||
'../../src/inspector_socket_server.h',
|
||||
'../../src/inspector/main_thread_interface.cc',
|
||||
'../../src/inspector/main_thread_interface.h',
|
||||
'../../src/inspector/node_string.cc',
|
||||
'../../src/inspector/node_string.h',
|
||||
'../../src/inspector/runtime_agent.cc',
|
||||
'../../src/inspector/runtime_agent.h',
|
||||
'../../src/inspector/tracing_agent.cc',
|
||||
'../../src/inspector/tracing_agent.h',
|
||||
'../../src/inspector/worker_agent.cc',
|
||||
'../../src/inspector/worker_agent.h',
|
||||
'../../src/inspector/worker_inspector.cc',
|
||||
'../../src/inspector/worker_inspector.h',
|
||||
'<@(node_inspector_sources)',
|
||||
],
|
||||
'include_dirs': [
|
||||
'<(SHARED_INTERMEDIATE_DIR)/include', # for inspector
|
||||
@ -96,6 +98,7 @@
|
||||
'node_protocol_config.json',
|
||||
'<(SHARED_INTERMEDIATE_DIR)/src/node_protocol.json',
|
||||
'<@(node_protocol_files)',
|
||||
'<(protocol_tool_path)/code_generator.py',
|
||||
],
|
||||
'outputs': [
|
||||
'<@(node_inspector_generated_sources)',
|
||||
|
Loading…
x
Reference in New Issue
Block a user