Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100644 257 lines (243 sloc) 6.867 kb
4f3c8b39 » ry
2011-08-03 WIP
1 {
bea4827d » ry
2011-08-03 More progress with gyp
2 'variables': {
3 'v8_use_snapshot': 'true',
71333b3f » DrPizza
2011-08-06 Modify GYP scripts for VC build
4 'target_arch': 'ia32',
a979ab9d » ry
2011-08-04 Improve gyp build - now works kind of
5 'node_use_dtrace': 'false',
ae2ac4fb » piscisaureus
2011-09-05 gyp: add js files to node project
6 'node_use_openssl%': 'true',
cb6b9eb1 » ry
2011-09-12 Fix windows build
7 'node_use_system_openssl%': 'false',
ae2ac4fb » piscisaureus
2011-09-05 gyp: add js files to node project
8 'library_files': [
9 'src/node.js',
10 'lib/_debugger.js',
11 'lib/_linklist.js',
12 'lib/assert.js',
13 'lib/buffer.js',
14 'lib/buffer_ieee754.js',
15 'lib/child_process_legacy.js',
16 'lib/child_process_uv.js',
17 'lib/console.js',
18 'lib/constants.js',
19 'lib/crypto.js',
20 'lib/dgram_legacy.js',
21 'lib/dgram_uv.js',
22 'lib/dns_legacy.js',
23 'lib/dns_uv.js',
24 'lib/events.js',
25 'lib/freelist.js',
26 'lib/fs.js',
27 'lib/http.js',
28 'lib/http2.js',
29 'lib/https.js',
30 'lib/https2.js',
31 'lib/module.js',
32 'lib/net_legacy.js',
33 'lib/net_uv.js',
34 'lib/os.js',
35 'lib/path.js',
36 'lib/punycode.js',
37 'lib/querystring.js',
38 'lib/readline.js',
39 'lib/repl.js',
40 'lib/stream.js',
41 'lib/string_decoder.js',
42 'lib/sys.js',
43 'lib/timers_legacy.js',
44 'lib/timers_uv.js',
45 'lib/tls.js',
46 'lib/tty.js',
47 'lib/tty_posix.js',
48 'lib/tty_win32.js',
49 'lib/url.js',
50 'lib/util.js',
51 'lib/vm.js',
5b8e1dab » isaacs
2011-09-06 Initial pass at zlib bindings
52 'lib/zlib.js',
ae2ac4fb » piscisaureus
2011-09-05 gyp: add js files to node project
53 ],
bea4827d » ry
2011-08-03 More progress with gyp
54 },
55
4f3c8b39 » ry
2011-08-03 WIP
56 'targets': [
57 {
58 'target_name': 'node',
59 'type': 'executable',
bea4827d » ry
2011-08-03 More progress with gyp
60
4f3c8b39 » ry
2011-08-03 WIP
61 'dependencies': [
db1bf679 » ry
2011-08-08 Move GYP file to the project root
62 'deps/http_parser/http_parser.gyp:http_parser',
16788f46 » DrPizza
2011-08-13 Rename gyp files to produce useful solution names.
63 'deps/v8/tools/gyp/v8-node.gyp:v8',
64 'deps/uv/uv.gyp:uv',
5b8e1dab » isaacs
2011-09-06 Initial pass at zlib bindings
65 'deps/zlib/zlib.gyp:zlib',
a979ab9d » ry
2011-08-04 Improve gyp build - now works kind of
66 'node_js2c#host',
4f3c8b39 » ry
2011-08-03 WIP
67 ],
a979ab9d » ry
2011-08-04 Improve gyp build - now works kind of
68
69 'include_dirs': [
db1bf679 » ry
2011-08-08 Move GYP file to the project root
70 'src',
71 'deps/uv/src/ares',
a979ab9d » ry
2011-08-04 Improve gyp build - now works kind of
72 '<(SHARED_INTERMEDIATE_DIR)' # for node_natives.h
73 ],
74
4f3c8b39 » ry
2011-08-03 WIP
75 'sources': [
8fe57124 » Igor Zinkovsky
2011-09-22 fs watcher binding
76 'src/fs_event_wrap.cc',
db1bf679 » ry
2011-08-08 Move GYP file to the project root
77 'src/cares_wrap.cc',
78 'src/handle_wrap.cc',
79 'src/node.cc',
80 'src/node_buffer.cc',
81 'src/node_constants.cc',
82 'src/node_dtrace.cc',
83 'src/node_extensions.cc',
84 'src/node_file.cc',
85 'src/node_http_parser.cc',
86 'src/node_javascript.cc',
87 'src/node_main.cc',
88 'src/node_os.cc',
89 'src/node_script.cc',
90 'src/node_string.cc',
5b8e1dab » isaacs
2011-09-06 Initial pass at zlib bindings
91 'src/node_zlib.cc',
db1bf679 » ry
2011-08-08 Move GYP file to the project root
92 'src/pipe_wrap.cc',
93 'src/stdio_wrap.cc',
94 'src/stream_wrap.cc',
95 'src/tcp_wrap.cc',
96 'src/timer_wrap.cc',
c1ae6ea2 » ry
2011-09-20 Add TTYWrap
97 'src/tty_wrap.cc',
db1bf679 » ry
2011-08-08 Move GYP file to the project root
98 'src/process_wrap.cc',
97b0000c » bnoordhuis
2011-08-12 build: add src/v8_typed_array.cc to gyp sources list
99 'src/v8_typed_array.cc',
06f750c4 » ry
2011-08-24 fix windows build
100 'src/udp_wrap.cc',
64b41680 » DrPizza
2011-08-15 Add headers to improve the IDE experience.
101 # headers to make for a more pleasant IDE experience
102 'src/handle_wrap.h',
103 'src/node.h',
104 'src/node_buffer.h',
105 'src/node_cares.h',
106 'src/node_child_process.h',
107 'src/node_constants.h',
108 'src/node_crypto.h',
109 'src/node_dtrace.h',
110 'src/node_extensions.h',
111 'src/node_file.h',
112 'src/node_http_parser.h',
113 'src/node_javascript.h',
114 'src/node_net.h',
115 'src/node_os.h',
116 'src/node_root_certs.h',
117 'src/node_script.h',
118 'src/node_stdio.h',
119 'src/node_string.h',
120 'src/node_version.h',
121 'src/pipe_wrap.h',
122 'src/platform.h',
123 'src/req_wrap.h',
124 'src/stream_wrap.h',
125 'src/v8_typed_array.h',
126 'deps/http_parser/http_parser.h',
127 'deps/v8/include/v8.h',
128 'deps/v8/include/v8-debug.h',
129 '<(SHARED_INTERMEDIATE_DIR)/node_natives.h',
ae2ac4fb » piscisaureus
2011-09-05 gyp: add js files to node project
130 # javascript files to make for an even more pleasant IDE experience
131 '<@(library_files)',
a979ab9d » ry
2011-08-04 Improve gyp build - now works kind of
132 ],
133
134 'defines': [
135 'ARCH="<(target_arch)"',
136 'PLATFORM="<(OS)"',
137 '_LARGEFILE_SOURCE',
138 '_FILE_OFFSET_BITS=64',
4f3c8b39 » ry
2011-08-03 WIP
139 ],
140
141 'conditions': [
a979ab9d » ry
2011-08-04 Improve gyp build - now works kind of
142 [ 'node_use_openssl=="true"', {
71333b3f » DrPizza
2011-08-06 Modify GYP scripts for VC build
143 'defines': [ 'HAVE_OPENSSL=1' ],
db1bf679 » ry
2011-08-08 Move GYP file to the project root
144 'sources': [ 'src/node_crypto.cc' ],
9f986981 » bnoordhuis
2011-08-30 build: configure node, v8, cares and openssl
145 'conditions': [
146 [ 'node_use_system_openssl=="false"', {
147 'dependencies': [ './deps/openssl/openssl.gyp:openssl' ],
148 }]]
a979ab9d » ry
2011-08-04 Improve gyp build - now works kind of
149 }, {
150 'defines': [ 'HAVE_OPENSSL=0' ]
151 }],
152
64b41680 » DrPizza
2011-08-15 Add headers to improve the IDE experience.
153 [ 'node_use_dtrace=="true"', {
154 'sources': [
155 'src/node_provider.h', # why does this get generated into src and not SHARED_INTERMEDIATE_DIR?
156 ],
157 }],
158
4f3c8b39 » ry
2011-08-03 WIP
159 [ 'OS=="win"', {
6ac8c559 » DrPizza
2011-08-07 Make MSVS build.
160 'sources': [
db1bf679 » ry
2011-08-08 Move GYP file to the project root
161 'src/platform_win32.cc',
162 'src/node_stdio_win32.cc',
64b41680 » DrPizza
2011-08-15 Add headers to improve the IDE experience.
163 # headers to make for a more pleasant IDE experience
164 'src/platform_win32.h',
6ac8c559 » DrPizza
2011-08-07 Make MSVS build.
165 ],
4f3c8b39 » ry
2011-08-03 WIP
166 'defines': [
6ac8c559 » DrPizza
2011-08-07 Make MSVS build.
167 'FD_SETSIZE=1024',
79d9f629 » DrPizza
2011-08-07 Fix bad platform name.
168 # we need to use node's preferred "win32" rather than gyp's preferred "win"
169 'PLATFORM="win32"',
4f3c8b39 » ry
2011-08-03 WIP
170 ],
19762884 » ry
2011-09-02 win: link to psapi.lib
171 'libraries': [ '-lpsapi.lib' ]
4f3c8b39 » ry
2011-08-03 WIP
172 },{ # POSIX
a979ab9d » ry
2011-08-04 Improve gyp build - now works kind of
173 'defines': [ '__POSIX__' ],
4f3c8b39 » ry
2011-08-03 WIP
174 'sources': [
db1bf679 » ry
2011-08-08 Move GYP file to the project root
175 'src/node_cares.cc',
176 'src/node_net.cc',
177 'src/node_signal_watcher.cc',
178 'src/node_stat_watcher.cc',
179 'src/node_io_watcher.cc',
180 'src/node_stdio.cc',
181 'src/node_child_process.cc',
182 'src/node_timer.cc'
4f3c8b39 » ry
2011-08-03 WIP
183 ]
184 }],
185 [ 'OS=="mac"', {
db1bf679 » ry
2011-08-08 Move GYP file to the project root
186 'sources': [ 'src/platform_darwin.cc' ],
a979ab9d » ry
2011-08-04 Improve gyp build - now works kind of
187 'libraries': [ '-framework Carbon' ],
b433c42a » ry
2011-08-15 gyp: Support Linux
188 }],
189 [ 'OS=="linux"', {
190 'sources': [ 'src/platform_linux.cc' ],
191 'libraries': [
c2ae39b8 » ry
2011-08-22 gyp: -ldl on linux
192 '-ldl',
b433c42a » ry
2011-08-15 gyp: Support Linux
193 '-lutil' # needed for openpty
194 ],
decd8183 » bnoordhuis
2011-08-17 build: fix freebsd gyp build
195 }],
196 [ 'OS=="freebsd"', {
197 'sources': [ 'src/platform_freebsd.cc' ],
198 'libraries': [
199 '-lutil',
200 '-lkvm',
201 ],
202 }],
16788f46 » DrPizza
2011-08-13 Rename gyp files to produce useful solution names.
203 ],
204 'msvs-settings': {
205 'VCLinkerTool': {
206 'SubSystem': 1, # /subsystem:console
207 },
208 },
4f3c8b39 » ry
2011-08-03 WIP
209 },
210
211 {
212 'target_name': 'node_js2c',
213 'type': 'none',
214 'toolsets': ['host'],
215 'variables': {
216 },
a979ab9d » ry
2011-08-04 Improve gyp build - now works kind of
217
4f3c8b39 » ry
2011-08-03 WIP
218 'actions': [
219 {
220 'action_name': 'node_js2c',
a979ab9d » ry
2011-08-04 Improve gyp build - now works kind of
221
4f3c8b39 » ry
2011-08-03 WIP
222 'inputs': [
db1bf679 » ry
2011-08-08 Move GYP file to the project root
223 './tools/js2c.py',
4f3c8b39 » ry
2011-08-03 WIP
224 '<@(library_files)',
225 ],
a979ab9d » ry
2011-08-04 Improve gyp build - now works kind of
226
4f3c8b39 » ry
2011-08-03 WIP
227 'outputs': [
228 '<(SHARED_INTERMEDIATE_DIR)/node_natives.h',
229 ],
a979ab9d » ry
2011-08-04 Improve gyp build - now works kind of
230
231 # FIXME can the following conditions be shorted by just setting
232 # macros.py into some variable which then gets included in the
233 # action?
234
235 'conditions': [
236 [ 'node_use_dtrace=="true"', {
237 'action': [
238 'python',
db1bf679 » ry
2011-08-08 Move GYP file to the project root
239 'tools/js2c.py',
a979ab9d » ry
2011-08-04 Improve gyp build - now works kind of
240 '<@(_outputs)',
241 '<@(library_files)'
242 ],
243 }, { # No Dtrace
244 'action': [
245 'python',
db1bf679 » ry
2011-08-08 Move GYP file to the project root
246 'tools/js2c.py',
a979ab9d » ry
2011-08-04 Improve gyp build - now works kind of
247 '<@(_outputs)',
248 '<@(library_files)',
db1bf679 » ry
2011-08-08 Move GYP file to the project root
249 'src/macros.py'
a979ab9d » ry
2011-08-04 Improve gyp build - now works kind of
250 ],
251 }]
71333b3f » DrPizza
2011-08-06 Modify GYP scripts for VC build
252 ],
4f3c8b39 » ry
2011-08-03 WIP
253 },
254 ],
255 }, # end node_js2c
256 ] # end targets
257 }
258
Something went wrong with that request. Please try again.