'node_shared_openssl%': 'false',
'node_v8_options%': '',
'node_target_type%': 'executable',
+ 'node_core_target_name%': 'node',
'library_files': [
'src/node.js',
'lib/_debug_agent.js',
'lib/vm.js',
'lib/zlib.js',
'lib/internal/child_process.js',
+ 'lib/internal/cluster.js',
'lib/internal/freelist.js',
+ 'lib/internal/net.js',
+ 'lib/internal/module.js',
'lib/internal/socket_list.js',
'lib/internal/repl.js',
'lib/internal/util.js',
+ 'lib/internal/v8_prof_polyfill.js',
+ 'lib/internal/v8_prof_processor.js',
'lib/internal/streams/lazy_transform.js',
+ 'deps/v8/tools/splaytree.js',
+ 'deps/v8/tools/codemap.js',
+ 'deps/v8/tools/consarray.js',
+ 'deps/v8/tools/csvparser.js',
+ 'deps/v8/tools/profile.js',
+ 'deps/v8/tools/profile_view.js',
+ 'deps/v8/tools/logreader.js',
+ 'deps/v8/tools/tickprocessor.js',
+ 'deps/v8/tools/SourceMap.js',
+ 'deps/v8/tools/tickprocessor-driver.js',
],
},
'targets': [
{
- 'target_name': 'node',
+ 'target_name': '<(node_core_target_name)',
'type': '<(node_target_type)',
'dependencies': [
'src/node_javascript.cc',
'src/node_main.cc',
'src/node_os.cc',
+ 'src/node_revert.cc',
+ 'src/node_util.cc',
'src/node_v8.cc',
'src/node_stat_watcher.cc',
'src/node_watchdog.cc',
'src/node_version.h',
'src/node_watchdog.h',
'src/node_wrap.h',
+ 'src/node_revert.h',
'src/node_i18n.h',
'src/pipe_wrap.h',
'src/tty_wrap.h',
'src/util.h',
'src/util-inl.h',
'src/util.cc',
+ 'src/string_search.cc',
'deps/http_parser/http_parser.h',
'deps/v8/include/v8.h',
'deps/v8/include/v8-debug.h',
'src/tls_wrap.h'
],
'conditions': [
+ ['openssl_fips != ""', {
+ 'defines': [ 'NODE_FIPS_MODE' ],
+ }],
[ 'node_shared_openssl=="false"', {
'dependencies': [
'./deps/openssl/openssl.gyp:openssl',
}]
],
'action': [
- '<(python)',
+ 'python',
'tools/js2c.py',
'<@(_outputs)',
'<@(_inputs)',
'test/cctest/util.cc',
],
}
- ] # end targets
+ ], # end targets
+
+ 'conditions': [
+ ['OS=="aix"', {
+ 'targets': [
+ {
+ 'target_name': 'node',
+ 'type': 'executable',
+ 'dependencies': ['<(node_core_target_name)', 'node_exp'],
+
+ 'include_dirs': [
+ 'src',
+ 'deps/v8/include',
+ ],
+
+ 'sources': [
+ 'src/node_main.cc',
+ '<@(library_files)',
+ # node.gyp is added to the project by default.
+ 'common.gypi',
+ ],
+
+ 'ldflags': ['-Wl,-bbigtoc,-bE:<(PRODUCT_DIR)/node.exp'],
+ },
+ {
+ 'target_name': 'node_exp',
+ 'type': 'none',
+ 'dependencies': [
+ '<(node_core_target_name)',
+ ],
+ 'actions': [
+ {
+ 'action_name': 'expfile',
+ 'inputs': [
+ '<(OBJ_DIR)'
+ ],
+ 'outputs': [
+ '<(PRODUCT_DIR)/node.exp'
+ ],
+ 'action': [
+ 'sh', 'tools/create_expfile.sh',
+ '<@(_inputs)', '<@(_outputs)'
+ ],
+ }
+ ]
+ }
+ ], # end targets
+ }], # end aix section
+ ], # end conditions block
}