Skip to content
This repository has been archived by the owner on Apr 22, 2023. It is now read-only.

Commit

Permalink
gyp: add js files to node project
Browse files Browse the repository at this point in the history
  • Loading branch information
piscisaureus committed Sep 5, 2011
1 parent d01b87d commit ae2ac4f
Showing 1 changed file with 48 additions and 46 deletions.
94 changes: 48 additions & 46 deletions node.gyp
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,52 @@
'v8_use_snapshot': 'true',
'target_arch': 'ia32',
'node_use_dtrace': 'false',
'node_use_openssl%': 'true'
'node_use_openssl%': 'true',
'library_files': [
'src/node.js',
'lib/_debugger.js',
'lib/_linklist.js',
'lib/assert.js',
'lib/buffer.js',
'lib/buffer_ieee754.js',
'lib/child_process_legacy.js',
'lib/child_process_uv.js',
'lib/console.js',
'lib/constants.js',
'lib/crypto.js',
'lib/dgram_legacy.js',
'lib/dgram_uv.js',
'lib/dns_legacy.js',
'lib/dns_uv.js',
'lib/events.js',
'lib/freelist.js',
'lib/fs.js',
'lib/http.js',
'lib/http2.js',
'lib/https.js',
'lib/https2.js',
'lib/module.js',
'lib/net_legacy.js',
'lib/net_uv.js',
'lib/os.js',
'lib/path.js',
'lib/punycode.js',
'lib/querystring.js',
'lib/readline.js',
'lib/repl.js',
'lib/stream.js',
'lib/string_decoder.js',
'lib/sys.js',
'lib/timers_legacy.js',
'lib/timers_uv.js',
'lib/tls.js',
'lib/tty.js',
'lib/tty_posix.js',
'lib/tty_win32.js',
'lib/url.js',
'lib/util.js',
'lib/vm.js',
],
},

'targets': [
Expand Down Expand Up @@ -76,6 +121,8 @@
'deps/v8/include/v8.h',
'deps/v8/include/v8-debug.h',
'<(SHARED_INTERMEDIATE_DIR)/node_natives.h',
# javascript files to make for an even more pleasant IDE experience
'<@(library_files)',
],

'defines': [
Expand Down Expand Up @@ -150,51 +197,6 @@
'type': 'none',
'toolsets': ['host'],
'variables': {
'library_files': [
'src/node.js',
'lib/_debugger.js',
'lib/_linklist.js',
'lib/assert.js',
'lib/buffer.js',
'lib/buffer_ieee754.js',
'lib/child_process_legacy.js',
'lib/child_process_uv.js',
'lib/console.js',
'lib/constants.js',
'lib/crypto.js',
'lib/dgram_legacy.js',
'lib/dgram_uv.js',
'lib/dns_legacy.js',
'lib/dns_uv.js',
'lib/events.js',
'lib/freelist.js',
'lib/fs.js',
'lib/http.js',
'lib/http2.js',
'lib/https.js',
'lib/https2.js',
'lib/module.js',
'lib/net_legacy.js',
'lib/net_uv.js',
'lib/os.js',
'lib/path.js',
'lib/punycode.js',
'lib/querystring.js',
'lib/readline.js',
'lib/repl.js',
'lib/stream.js',
'lib/string_decoder.js',
'lib/sys.js',
'lib/timers_legacy.js',
'lib/timers_uv.js',
'lib/tls.js',
'lib/tty.js',
'lib/tty_posix.js',
'lib/tty_win32.js',
'lib/url.js',
'lib/util.js',
'lib/vm.js',
],
},

'actions': [
Expand Down

0 comments on commit ae2ac4f

Please sign in to comment.