Permalink
Browse files

gyp: add js files to node project

  • Loading branch information...
piscisaureus committed Sep 4, 2011
1 parent d01b87d commit ae2ac4fb1b5bde8ceb0106590eb98da478d92bb5
Showing with 48 additions and 46 deletions.
  1. +48 −46 node.gyp
View
@@ -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': [

0 comments on commit ae2ac4f

Please sign in to comment.