blob: 5b82114c72723d78fa3ad5cb8b58c4eb973563ff [file] [log] [blame]
Ryan Dahl4f3c8b32011-08-04 00:01:301{
Ryan Dahlbea48272011-08-04 06:36:272 'variables': {
Ryan Dahlbca88b22012-01-07 00:20:453 'v8_use_snapshot%': 'true',
Ryan Dahld2ab3142011-10-07 08:08:534 # Turn off -Werror in V8
5 # See http://codereview.chromium.org/8159015
6 'werror': '',
Dave Pachecocc152992012-03-28 17:26:107 'node_use_dtrace%': 'false',
Igor Zinkovsky35a14212012-06-11 23:23:178 'node_use_etw%': 'false',
Scott Blomquistf657ce62012-11-20 23:27:229 'node_use_perfctr%': 'false',
Scott Blomquist841b7f52012-12-21 08:06:2110 'node_has_winsdk%': 'false',
Nathan Rajlicha84adad2012-02-23 22:32:2411 'node_shared_v8%': 'false',
T.C. Hollingsworthd03b8482012-02-26 23:02:2112 'node_shared_zlib%': 'false',
Stephen Gallagherbfd78b62012-10-23 13:01:2613 'node_shared_http_parser%': 'false',
Stephen Gallagher73ff6532012-10-23 14:27:1914 'node_shared_cares%': 'false',
Stephen Gallagher38809e32012-10-23 23:54:2215 'node_shared_libuv%': 'false',
Bert Belderae2ac4f2011-09-04 23:01:5316 'node_use_openssl%': 'true',
Jan Wynholds06810b22012-10-09 22:09:0717 'node_use_systemtap%': 'false',
Ryan Dahlfe464a22012-06-20 20:31:4918 'node_shared_openssl%': 'false',
Bert Belderae2ac4f2011-09-04 23:01:5319 'library_files': [
20 'src/node.js',
21 'lib/_debugger.js',
22 'lib/_linklist.js',
23 'lib/assert.js',
24 'lib/buffer.js',
25 'lib/buffer_ieee754.js',
Ryan Dahl96e423a2011-10-11 20:16:3326 'lib/child_process.js',
Bert Belderae2ac4f2011-09-04 23:01:5327 'lib/console.js',
28 'lib/constants.js',
29 'lib/crypto.js',
Ryan Dahl73b4b862011-10-12 21:51:2530 'lib/cluster.js',
Ryan Dahl71cce3f2011-10-11 20:26:4131 'lib/dgram.js',
Ryan Dahl58e892d2011-10-11 20:21:3032 'lib/dns.js',
isaacs963459d2012-04-06 23:26:1833 'lib/domain.js',
Bert Belderae2ac4f2011-09-04 23:01:5334 'lib/events.js',
35 'lib/freelist.js',
36 'lib/fs.js',
37 'lib/http.js',
Bert Belderae2ac4f2011-09-04 23:01:5338 'lib/https.js',
Bert Belderae2ac4f2011-09-04 23:01:5339 'lib/module.js',
Ryan Dahlbe0bb2d2011-10-11 20:07:1440 'lib/net.js',
Bert Belderae2ac4f2011-09-04 23:01:5341 'lib/os.js',
42 'lib/path.js',
43 'lib/punycode.js',
44 'lib/querystring.js',
45 'lib/readline.js',
46 'lib/repl.js',
47 'lib/stream.js',
isaacs420e07c2012-10-02 22:44:5048 'lib/_stream_readable.js',
49 'lib/_stream_writable.js',
50 'lib/_stream_duplex.js',
51 'lib/_stream_transform.js',
52 'lib/_stream_passthrough.js',
Bert Belderae2ac4f2011-09-04 23:01:5353 'lib/string_decoder.js',
54 'lib/sys.js',
Ryan Dahlbe0bb2d2011-10-11 20:07:1455 'lib/timers.js',
Bert Belderae2ac4f2011-09-04 23:01:5356 'lib/tls.js',
Ryan Dahlcdf5d912011-10-11 20:41:3357 'lib/tty.js',
Bert Belderae2ac4f2011-09-04 23:01:5358 'lib/url.js',
59 'lib/util.js',
60 'lib/vm.js',
isaacs5b8e1da2011-09-06 23:13:0561 'lib/zlib.js',
Bert Belderae2ac4f2011-09-04 23:01:5362 ],
Ryan Dahlbea48272011-08-04 06:36:2763 },
64
Ryan Dahl4f3c8b32011-08-04 00:01:3065 'targets': [
66 {
67 'target_name': 'node',
68 'type': 'executable',
Ryan Dahlbea48272011-08-04 06:36:2769
Ryan Dahl4f3c8b32011-08-04 00:01:3070 'dependencies': [
Ryan Dahla979ab92011-08-04 23:40:0771 'node_js2c#host',
Ryan Dahl4f3c8b32011-08-04 00:01:3072 ],
Ryan Dahla979ab92011-08-04 23:40:0773
74 'include_dirs': [
Ryan Dahldb1bf672011-08-08 19:11:4875 'src',
Scott Blomquist841b7f52012-12-21 08:06:2176 'src/gen',
Ryan Dahldb1bf672011-08-08 19:11:4877 'deps/uv/src/ares',
Ryan Dahla979ab92011-08-04 23:40:0778 '<(SHARED_INTERMEDIATE_DIR)' # for node_natives.h
79 ],
80
Ryan Dahl4f3c8b32011-08-04 00:01:3081 'sources': [
Igor Zinkovsky8fe57122011-09-22 23:18:0882 'src/fs_event_wrap.cc',
Ryan Dahldb1bf672011-08-08 19:11:4883 'src/cares_wrap.cc',
84 'src/handle_wrap.cc',
85 'src/node.cc',
86 'src/node_buffer.cc',
87 'src/node_constants.cc',
Ryan Dahldb1bf672011-08-08 19:11:4888 'src/node_extensions.cc',
89 'src/node_file.cc',
90 'src/node_http_parser.cc',
91 'src/node_javascript.cc',
92 'src/node_main.cc',
93 'src/node_os.cc',
94 'src/node_script.cc',
Ben Noordhuisf0ce9842012-06-16 20:41:3795 'src/node_stat_watcher.cc',
Ryan Dahldb1bf672011-08-08 19:11:4896 'src/node_string.cc',
isaacs5b8e1da2011-09-06 23:13:0597 'src/node_zlib.cc',
Ryan Dahldb1bf672011-08-08 19:11:4898 'src/pipe_wrap.cc',
Bert Belder600a6462012-08-20 21:59:2199 'src/signal_wrap.cc',
Ryan Dahldb1bf672011-08-08 19:11:48100 'src/stream_wrap.cc',
Ben Noordhuis08032ef2012-03-28 00:21:56101 'src/slab_allocator.cc',
Ryan Dahldb1bf672011-08-08 19:11:48102 'src/tcp_wrap.cc',
103 'src/timer_wrap.cc',
Ryan Dahlc1ae6ea2011-09-20 20:38:07104 'src/tty_wrap.cc',
Ryan Dahldb1bf672011-08-08 19:11:48105 'src/process_wrap.cc',
Ben Noordhuis97b00002011-08-12 16:57:04106 'src/v8_typed_array.cc',
Ryan Dahl06f750c2011-08-24 23:20:08107 'src/udp_wrap.cc',
Peter Bright64b41682011-08-15 16:35:48108 # headers to make for a more pleasant IDE experience
109 'src/handle_wrap.h',
110 'src/node.h',
111 'src/node_buffer.h',
Peter Bright64b41682011-08-15 16:35:48112 'src/node_constants.h',
113 'src/node_crypto.h',
Peter Bright64b41682011-08-15 16:35:48114 'src/node_extensions.h',
115 'src/node_file.h',
116 'src/node_http_parser.h',
117 'src/node_javascript.h',
Peter Bright64b41682011-08-15 16:35:48118 'src/node_os.h',
119 'src/node_root_certs.h',
120 'src/node_script.h',
Peter Bright64b41682011-08-15 16:35:48121 'src/node_string.h',
122 'src/node_version.h',
Ben Noordhuis5f040652012-04-28 16:45:10123 'src/ngx-queue.h',
Peter Bright64b41682011-08-15 16:35:48124 'src/pipe_wrap.h',
Fedor Indutnyaf98fc92012-05-16 16:04:24125 'src/tty_wrap.h',
126 'src/tcp_wrap.h',
127 'src/udp_wrap.h',
Peter Bright64b41682011-08-15 16:35:48128 'src/req_wrap.h',
Ben Noordhuis08032ef2012-03-28 00:21:56129 'src/slab_allocator.h',
Peter Bright64b41682011-08-15 16:35:48130 'src/stream_wrap.h',
Bert Belder9e55ba72012-08-06 19:22:11131 'src/tree.h',
Peter Bright64b41682011-08-15 16:35:48132 'src/v8_typed_array.h',
Peter Bright64b41682011-08-15 16:35:48133 'deps/http_parser/http_parser.h',
Peter Bright64b41682011-08-15 16:35:48134 '<(SHARED_INTERMEDIATE_DIR)/node_natives.h',
Bert Belderae2ac4f2011-09-04 23:01:53135 # javascript files to make for an even more pleasant IDE experience
136 '<@(library_files)',
Bert Belderc0c4bd42011-10-28 10:10:24137 # node.gyp is added to the project by default.
138 'common.gypi',
Ryan Dahla979ab92011-08-04 23:40:07139 ],
140
141 'defines': [
Ben Noordhuis09dc5772011-11-29 16:35:19142 'NODE_WANT_INTERNALS=1',
Ryan Dahla979ab92011-08-04 23:40:07143 'ARCH="<(target_arch)"',
144 'PLATFORM="<(OS)"',
Maciej Małeckif84bf5b2012-12-21 01:56:47145 'NODE_TAG="<(node_tag)"',
Ryan Dahl4f3c8b32011-08-04 00:01:30146 ],
147
148 'conditions': [
Ryan Dahla979ab92011-08-04 23:40:07149 [ 'node_use_openssl=="true"', {
Peter Bright71333b32011-08-06 19:20:15150 'defines': [ 'HAVE_OPENSSL=1' ],
Ryan Dahldb1bf672011-08-08 19:11:48151 'sources': [ 'src/node_crypto.cc' ],
Ben Noordhuis9f986982011-08-29 22:01:43152 'conditions': [
Ryan Dahlfe464a22012-06-20 20:31:49153 [ 'node_shared_openssl=="false"', {
Ben Noordhuis9f986982011-08-29 22:01:43154 'dependencies': [ './deps/openssl/openssl.gyp:openssl' ],
155 }]]
Ryan Dahla979ab92011-08-04 23:40:07156 }, {
157 'defines': [ 'HAVE_OPENSSL=0' ]
158 }],
Peter Bright64b41682011-08-15 16:35:48159 [ 'node_use_dtrace=="true"', {
Dave Pachecocc152992012-03-28 17:26:10160 'defines': [ 'HAVE_DTRACE=1' ],
161 'dependencies': [ 'node_dtrace_header' ],
162 'include_dirs': [ '<(SHARED_INTERMEDIATE_DIR)' ],
163 #
164 # node_dtrace_provider.cc and node_dtrace_ustack.cc do not actually
165 # exist. They're here to trick GYP into linking the corresponding
166 # object files into the final "node" executable. These files are
167 # generated by "dtrace -G" using custom actions below, and the
168 # GYP-generated Makefiles will properly build them when needed.
169 #
Peter Bright64b41682011-08-15 16:35:48170 'sources': [
Ryan Dahlb3ddb892011-10-26 18:31:12171 'src/node_dtrace.cc',
Dave Pachecocc152992012-03-28 17:26:10172 'src/node_dtrace_provider.cc'
Peter Bright64b41682011-08-15 16:35:48173 ],
Dave Pachecocc152992012-03-28 17:26:10174 'conditions': [ [
175 'target_arch=="ia32"', {
176 'sources': [ 'src/node_dtrace_ustack.cc' ]
177 }
178 ] ],
179 } ],
Jan Wynholds06810b22012-10-09 22:09:07180 [ 'node_use_systemtap=="true"', {
181 'defines': [ 'HAVE_SYSTEMTAP=1', 'STAP_SDT_V1=1' ],
182 'dependencies': [ 'node_systemtap_header' ],
183 'include_dirs': [ '<(SHARED_INTERMEDIATE_DIR)' ],
184 'sources': [
185 'src/node_dtrace.cc',
186 '<(SHARED_INTERMEDIATE_DIR)/node_systemtap.h',
187 ],
188 } ],
Igor Zinkovsky35a14212012-06-11 23:23:17189 [ 'node_use_etw=="true"', {
190 'defines': [ 'HAVE_ETW=1' ],
191 'dependencies': [ 'node_etw' ],
192 'sources': [
193 'src/node_win32_etw_provider.h',
194 'src/node_win32_etw_provider-inl.h',
195 'src/node_win32_etw_provider.cc',
196 'src/node_dtrace.cc',
Scott Blomquist841b7f52012-12-21 08:06:21197 'src/gen/node_etw_provider.h',
198 'src/gen/node_etw_provider.rc',
Igor Zinkovsky35a14212012-06-11 23:23:17199 ]
200 } ],
Scott Blomquistf657ce62012-11-20 23:27:22201 [ 'node_use_perfctr=="true"', {
202 'defines': [ 'HAVE_PERFCTR=1' ],
203 'dependencies': [ 'node_perfctr' ],
204 'sources': [
205 'src/node_win32_perfctr_provider.h',
206 'src/node_win32_perfctr_provider.cc',
207 'src/node_counters.cc',
208 'src/node_counters.h',
Scott Blomquist841b7f52012-12-21 08:06:21209 'src/gen/node_perfctr_provider.rc',
Scott Blomquistf657ce62012-11-20 23:27:22210 ]
211 } ],
Ben Noordhuisf00c8bc2012-06-26 22:33:50212 [ 'node_shared_v8=="false"', {
isaacs59ecf2c2012-02-23 22:52:18213 'sources': [
214 'deps/v8/include/v8.h',
215 'deps/v8/include/v8-debug.h',
216 ],
217 'dependencies': [ 'deps/v8/tools/gyp/v8.gyp:v8' ],
218 }],
219
T.C. Hollingsworthd03b8482012-02-26 23:02:21220 [ 'node_shared_zlib=="false"', {
221 'dependencies': [ 'deps/zlib/zlib.gyp:zlib' ],
222 }],
223
Stephen Gallagherbfd78b62012-10-23 13:01:26224 [ 'node_shared_http_parser=="false"', {
225 'dependencies': [ 'deps/http_parser/http_parser.gyp:http_parser' ],
226 }],
227
Stephen Gallagher73ff6532012-10-23 14:27:19228 [ 'node_shared_cares=="false"', {
229 'dependencies': [ 'deps/cares/cares.gyp:cares' ],
230 }],
231
Stephen Gallagher38809e32012-10-23 23:54:22232 [ 'node_shared_libuv=="false"', {
233 'dependencies': [ 'deps/uv/uv.gyp:libuv' ],
234 }],
235
Ryan Dahl4f3c8b32011-08-04 00:01:30236 [ 'OS=="win"', {
Ryan Dahl4f3c8b32011-08-04 00:01:30237 'sources': [
Bert Belder0187b652012-06-13 15:40:50238 'src/res/node.rc',
Peter Bright71333b32011-08-06 19:20:15239 ],
Peter Bright6ac8c552011-08-07 05:11:21240 'defines': [
Peter Bright6ac8c552011-08-07 05:11:21241 'FD_SETSIZE=1024',
Peter Bright79d9f622011-08-07 17:43:24242 # we need to use node's preferred "win32" rather than gyp's preferred "win"
243 'PLATFORM="win32"',
Bert Belderd52f5022012-02-16 19:20:07244 '_UNICODE=1',
Peter Bright6ac8c552011-08-07 05:11:21245 ],
Ryan Dahl19762882011-09-02 19:53:16246 'libraries': [ '-lpsapi.lib' ]
Ben Noordhuisacbfc402012-07-12 23:43:14247 }, { # POSIX
Ryan Dahla979ab92011-08-04 23:40:07248 'defines': [ '__POSIX__' ],
Ryan Dahl4f3c8b32011-08-04 00:01:30249 }],
250 [ 'OS=="mac"', {
Ryan Dahla979ab92011-08-04 23:40:07251 'libraries': [ '-framework Carbon' ],
Nathan Rajlichf2ba4ce2012-01-11 22:44:39252 'defines!': [
253 'PLATFORM="mac"',
254 ],
Nathan Rajlich9ff86a22012-01-11 22:36:27255 'defines': [
256 # we need to use node's preferred "darwin" rather than gyp's preferred "mac"
257 'PLATFORM="darwin"',
258 ],
Ryan Dahlb433c422011-08-16 00:54:47259 }],
Ben Noordhuisdecd8182011-08-17 05:44:53260 [ 'OS=="freebsd"', {
Ben Noordhuisdecd8182011-08-17 05:44:53261 'libraries': [
262 '-lutil',
263 '-lkvm',
264 ],
265 }],
Ben Noordhuis13871fa2011-10-26 05:11:20266 [ 'OS=="solaris"', {
Ben Noordhuis13871fa2011-10-26 05:11:20267 'libraries': [
268 '-lkstat',
Trent Mickf70b1382012-07-27 17:56:40269 '-lumem',
Ben Noordhuis13871fa2011-10-26 05:11:20270 ],
Nathan Rajlich606a9332012-08-29 21:57:25271 'defines!': [
272 'PLATFORM="solaris"',
273 ],
274 'defines': [
275 # we need to use node's preferred "sunos"
276 # rather than gyp's preferred "solaris"
277 'PLATFORM="sunos"',
278 ],
Ben Noordhuis13871fa2011-10-26 05:11:20279 }],
Peter Bright16788f42011-08-13 18:17:47280 ],
Bert Belder5691e8a2012-09-24 22:50:37281 'msvs_settings': {
Peter Bright16788f42011-08-13 18:17:47282 'VCLinkerTool': {
283 'SubSystem': 1, # /subsystem:console
284 },
285 },
Ryan Dahl4f3c8b32011-08-04 00:01:30286 },
Igor Zinkovsky35a14212012-06-11 23:23:17287 # generate ETW header and resource files
288 {
289 'target_name': 'node_etw',
290 'type': 'none',
291 'conditions': [
Scott Blomquist841b7f52012-12-21 08:06:21292 [ 'node_use_etw=="true" and node_has_winsdk=="true"', {
Igor Zinkovsky35a14212012-06-11 23:23:17293 'actions': [
294 {
295 'action_name': 'node_etw',
296 'inputs': [ 'src/res/node_etw_provider.man' ],
Scott Blomquist953b0492012-10-25 23:51:46297 'outputs': [
Scott Blomquist841b7f52012-12-21 08:06:21298 'src/gen/node_etw_provider.rc',
299 'src/gen/node_etw_provider.h',
300 'src/gen/node_etw_providerTEMP.BIN',
Scott Blomquist953b0492012-10-25 23:51:46301 ],
Scott Blomquist841b7f52012-12-21 08:06:21302 'action': [ 'mc <@(_inputs) -h src/gen -r src/gen' ]
Igor Zinkovsky35a14212012-06-11 23:23:17303 }
304 ]
305 } ]
306 ]
307 },
Scott Blomquistf657ce62012-11-20 23:27:22308 # generate perf counter header and resource files
309 {
310 'target_name': 'node_perfctr',
311 'type': 'none',
312 'conditions': [
Scott Blomquist841b7f52012-12-21 08:06:21313 [ 'node_use_perfctr=="true" and node_has_winsdk=="true"', {
Scott Blomquistf657ce62012-11-20 23:27:22314 'actions': [
315 {
316 'action_name': 'node_perfctr_man',
317 'inputs': [ 'src/res/node_perfctr_provider.man' ],
318 'outputs': [
Scott Blomquist841b7f52012-12-21 08:06:21319 'src/gen/node_perfctr_provider.h',
320 'src/gen/node_perfctr_provider.rc',
321 'src/gen/MSG00001.BIN',
Scott Blomquistf657ce62012-11-20 23:27:22322 ],
323 'action': [ 'ctrpp <@(_inputs) '
Scott Blomquist841b7f52012-12-21 08:06:21324 '-o src/gen/node_perfctr_provider.h '
325 '-rc src/gen/node_perfctr_provider.rc'
Scott Blomquistf657ce62012-11-20 23:27:22326 ]
327 },
328 ],
329 } ]
330 ]
331 },
Ryan Dahl4f3c8b32011-08-04 00:01:30332 {
333 'target_name': 'node_js2c',
334 'type': 'none',
335 'toolsets': ['host'],
Ryan Dahl4f3c8b32011-08-04 00:01:30336 'actions': [
337 {
338 'action_name': 'node_js2c',
339 'inputs': [
Ryan Dahl4f3c8b32011-08-04 00:01:30340 '<@(library_files)',
Nathan Rajlich95fd5172012-03-14 15:34:44341 './config.gypi',
Ryan Dahl4f3c8b32011-08-04 00:01:30342 ],
343 'outputs': [
344 '<(SHARED_INTERMEDIATE_DIR)/node_natives.h',
345 ],
Ryan Dahla979ab92011-08-04 23:40:07346 'conditions': [
Scott Blomquistf657ce62012-11-20 23:27:22347 [ 'node_use_dtrace=="false"'
348 ' and node_use_etw=="false"'
349 ' and node_use_systemtap=="false"',
Jan Wynholds06810b22012-10-09 22:09:07350 {
Scott Blomquistf657ce62012-11-20 23:27:22351 'inputs': ['src/macros.py']
352 }
Ryan Dahla979ab92011-08-04 23:40:07353 ],
Scott Blomquistf657ce62012-11-20 23:27:22354 [ 'node_use_perfctr=="false"', {
355 'inputs': [ 'src/perfctr_macros.py' ]
Ryan Dahla979ab92011-08-04 23:40:07356 }]
Peter Bright71333b32011-08-06 19:20:15357 ],
Scott Blomquistf657ce62012-11-20 23:27:22358 'action': [
359 '<(python)',
360 'tools/js2c.py',
361 '<@(_outputs)',
362 '<@(_inputs)',
363 ],
Ryan Dahl4f3c8b32011-08-04 00:01:30364 },
365 ],
366 }, # end node_js2c
Dave Pachecocc152992012-03-28 17:26:10367 {
368 'target_name': 'node_dtrace_header',
369 'type': 'none',
370 'conditions': [
371 [ 'node_use_dtrace=="true"', {
372 'actions': [
373 {
374 'action_name': 'node_dtrace_header',
375 'inputs': [ 'src/node_provider.d' ],
376 'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/node_provider.h' ],
377 'action': [ 'dtrace', '-h', '-xnolibs', '-s', '<@(_inputs)',
378 '-o', '<@(_outputs)' ]
379 }
380 ]
381 } ]
382 ]
383 },
384 {
Jan Wynholds06810b22012-10-09 22:09:07385 'target_name': 'node_systemtap_header',
386 'type': 'none',
387 'conditions': [
388 [ 'node_use_systemtap=="true"', {
389 'actions': [
390 {
391 'action_name': 'node_systemtap_header',
392 'inputs': [ 'src/node_systemtap.d' ],
393 'outputs': [ '<(SHARED_INTERMEDIATE_DIR)/node_systemtap.h' ],
394 'action': [ 'dtrace', '-h', '-C', '-s', '<@(_inputs)',
395 '-o', '<@(_outputs)' ]
396 }
397 ]
398 } ]
399 ]
400 },
401 {
Dave Pachecocc152992012-03-28 17:26:10402 'target_name': 'node_dtrace_provider',
403 'type': 'none',
404 'conditions': [
405 [ 'node_use_dtrace=="true"', {
406 'actions': [
407 {
408 'action_name': 'node_dtrace_provider_o',
409 'inputs': [
410 'src/node_provider.d',
411 '<(PRODUCT_DIR)/obj.target/node/src/node_dtrace.o'
412 ],
413 'outputs': [
414 '<(PRODUCT_DIR)/obj.target/node/src/node_dtrace_provider.o'
415 ],
416 'action': [ 'dtrace', '-G', '-xnolibs', '-s', '<@(_inputs)',
417 '-o', '<@(_outputs)' ]
418 }
419 ]
420 } ]
421 ]
422 },
423 {
424 'target_name': 'node_dtrace_ustack',
425 'type': 'none',
426 'conditions': [
Dave Pacheco8559a4a2012-04-17 20:50:09427 [ 'node_use_dtrace=="true" and target_arch=="ia32"', {
Dave Pachecocc152992012-03-28 17:26:10428 'actions': [
429 {
430 'action_name': 'node_dtrace_ustack_constants',
431 'inputs': [
432 '<(PRODUCT_DIR)/obj.target/deps/v8/tools/gyp/libv8_base.a'
433 ],
434 'outputs': [
435 '<(SHARED_INTERMEDIATE_DIR)/v8constants.h'
436 ],
437 'action': [
438 'tools/genv8constants.py',
439 '<@(_outputs)',
440 '<@(_inputs)'
441 ]
442 },
443 {
444 'action_name': 'node_dtrace_ustack',
445 'inputs': [
446 'src/v8ustack.d',
447 '<(SHARED_INTERMEDIATE_DIR)/v8constants.h'
448 ],
449 'outputs': [
450 '<(PRODUCT_DIR)/obj.target/node/src/node_dtrace_ustack.o'
451 ],
452 'action': [
453 'dtrace', '-32', '-I<(SHARED_INTERMEDIATE_DIR)', '-Isrc',
454 '-C', '-G', '-s', 'src/v8ustack.d', '-o', '<@(_outputs)',
455 ]
456 }
457 ]
458 } ],
459 ]
460 }
Ryan Dahl4f3c8b32011-08-04 00:01:30461 ] # end targets
462}