{ 'variables': { 'v8_use_siphash%': 0, 'v8_trace_maps%': 0, 'v8_enable_pointer_compression%': 0, 'v8_enable_31bit_smis_on_64bit_arch%': 0, 'node_use_dtrace%': 'false', 'node_use_etw%': 'false', 'node_no_browser_globals%': 'false', 'node_use_node_snapshot%': 'false', 'node_use_v8_platform%': 'true', 'node_use_bundled_v8%': 'true', 'node_shared%': 'false', 'force_dynamic_crt%': 0, 'ossfuzz' : 'false', 'node_module_version%': '', 'node_shared_brotli%': 'false', 'node_shared_zlib%': 'false', 'node_shared_http_parser%': 'false', 'node_shared_cares%': 'false', 'node_shared_libuv%': 'false', 'node_shared_nghttp2%': 'false', 'node_use_openssl%': 'true', 'node_shared_openssl%': 'false', 'node_v8_options%': '', 'node_core_target_name%': 'node', 'node_lib_target_name%': 'libnode', 'node_intermediate_lib_type%': 'static_library', 'node_builtin_modules_path%': '', # We list the deps/ files out instead of globbing them in js2c.py since we # only include a subset of all the files under these directories. # The lengths of their file names combined should not exceed the # Windows command length limit or there would be an error. # See https://docs.microsoft.com/en-us/troubleshoot/windows-client/shell-experience/command-line-string-limitation 'library_files': [ ' mkcodecache -> node_lib_base, # node_lib -> node_lib_base & generate_code_cache { 'target_name': 'mkcodecache', 'type': 'executable', 'dependencies': [ '<(node_lib_target_name)', 'deps/histogram/histogram.gyp:histogram', 'deps/uvwasi/uvwasi.gyp:uvwasi', ], 'includes': [ 'node.gypi' ], 'include_dirs': [ 'src', 'tools/msvs/genfiles', 'deps/v8/include', 'deps/cares/include', 'deps/uv/include', 'deps/uvwasi/include', ], 'defines': [ 'NODE_WANT_INTERNALS=1' ], 'sources': [ 'src/node_snapshot_stub.cc', 'src/node_code_cache_stub.cc', 'tools/code_cache/mkcodecache.cc', 'tools/code_cache/cache_builder.cc', 'tools/code_cache/cache_builder.h', ], 'conditions': [ [ 'node_use_openssl=="true"', { 'defines': [ 'HAVE_OPENSSL=1', ], }], ['v8_enable_inspector==1', { 'defines': [ 'HAVE_INSPECTOR=1', ], }], ['OS=="win"', { 'libraries': [ 'dbghelp.lib', 'PsApi.lib', 'winmm.lib', 'Ws2_32.lib', ], }], ], }, # mkcodecache { 'target_name': 'node_mksnapshot', 'type': 'executable', 'dependencies': [ '<(node_lib_target_name)', 'deps/histogram/histogram.gyp:histogram', 'deps/uvwasi/uvwasi.gyp:uvwasi', ], 'includes': [ 'node.gypi' ], 'include_dirs': [ 'src', 'tools/msvs/genfiles', 'deps/v8/include', 'deps/cares/include', 'deps/uv/include', 'deps/uvwasi/include', ], 'defines': [ 'NODE_WANT_INTERNALS=1' ], 'sources': [ 'src/node_snapshot_stub.cc', 'src/node_code_cache_stub.cc', 'tools/snapshot/node_mksnapshot.cc', ], 'conditions': [ [ 'node_use_openssl=="true"', { 'defines': [ 'HAVE_OPENSSL=1', ], }], ['v8_enable_inspector==1', { 'defines': [ 'HAVE_INSPECTOR=1', ], }], ['OS=="win"', { 'libraries': [ 'Dbghelp.lib', 'winmm.lib', 'Ws2_32.lib', ], }], ], }, # node_mksnapshot ], # end targets 'conditions': [ ['OS=="aix" and node_shared=="true"', { 'targets': [ { 'target_name': 'node_aix_shared', 'type': 'shared_library', 'product_name': '<(node_core_target_name)', 'ldflags': ['--shared'], 'product_extension': '<(shlib_suffix)', 'includes': [ 'node.gypi' ], 'dependencies': ['<(node_lib_target_name)'], 'include_dirs': [ 'src', 'deps/v8/include', ], 'sources': [ '<@(library_files)', '<@(deps_files)', 'common.gypi', ], 'direct_dependent_settings': { 'ldflags': [ '-Wl,-brtl' ], }, }, ] }], # end aix section ], # end conditions block }