diff options
author | Bert Belder <bertbelder@gmail.com> | 2011-09-05 01:01:53 +0200 |
---|---|---|
committer | Bert Belder <bertbelder@gmail.com> | 2011-09-05 02:10:12 +0200 |
commit | ae2ac4fb1b5bde8ceb0106590eb98da478d92bb5 (patch) | |
tree | 18b8b4b578818b289645eba2887f75942f3b1128 /node.gyp | |
parent | d01b87d9c44bda6f90b921ff30ca32c37c56bb98 (diff) | |
download | nodejs-ae2ac4fb1b5bde8ceb0106590eb98da478d92bb5.tar.gz nodejs-ae2ac4fb1b5bde8ceb0106590eb98da478d92bb5.tar.bz2 nodejs-ae2ac4fb1b5bde8ceb0106590eb98da478d92bb5.zip |
gyp: add js files to node project
Diffstat (limited to 'node.gyp')
-rw-r--r-- | node.gyp | 94 |
1 files changed, 48 insertions, 46 deletions
@@ -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': [ @@ -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': [ @@ -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': [ |