2011-08-10 23:23:26 +02:00
|
|
|
{
|
2011-10-12 17:32:47 +02:00
|
|
|
'target_defaults': {
|
|
|
|
'conditions': [
|
|
|
|
['OS != "win"', {
|
|
|
|
'defines': [
|
2011-12-16 00:56:42 +01:00
|
|
|
'_LARGEFILE_SOURCE',
|
|
|
|
'_FILE_OFFSET_BITS=64',
|
2011-10-12 17:32:47 +02:00
|
|
|
'_GNU_SOURCE',
|
|
|
|
],
|
2011-10-29 01:06:09 +02:00
|
|
|
'conditions': [
|
|
|
|
['OS=="solaris"', {
|
|
|
|
'cflags': ['-pthreads'],
|
|
|
|
'ldlags': ['-pthreads'],
|
|
|
|
}, {
|
|
|
|
'cflags': ['-pthread'],
|
|
|
|
'ldlags': ['-pthread'],
|
|
|
|
}],
|
|
|
|
],
|
2011-10-12 17:32:47 +02:00
|
|
|
}],
|
|
|
|
],
|
|
|
|
},
|
|
|
|
|
2011-08-10 23:23:26 +02:00
|
|
|
'targets': [
|
|
|
|
{
|
|
|
|
'target_name': 'uv',
|
2011-08-13 20:17:47 +02:00
|
|
|
'type': '<(library)',
|
2011-08-30 00:23:13 +02:00
|
|
|
'include_dirs': [
|
|
|
|
'include',
|
2011-08-31 10:53:01 +02:00
|
|
|
'include/uv-private',
|
2011-08-30 00:23:13 +02:00
|
|
|
'src/',
|
|
|
|
],
|
2011-08-10 23:23:26 +02:00
|
|
|
'direct_dependent_settings': {
|
|
|
|
'include_dirs': [ 'include' ],
|
2012-03-05 15:38:43 +01:00
|
|
|
'conditions': [
|
|
|
|
['OS=="linux"', {
|
|
|
|
'libraries': [ '-ldl' ],
|
|
|
|
}],
|
|
|
|
],
|
2011-08-10 23:23:26 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
'sources': [
|
2011-10-29 01:06:09 +02:00
|
|
|
'common.gypi',
|
2011-08-10 23:23:26 +02:00
|
|
|
'include/uv.h',
|
2012-05-17 07:13:29 +02:00
|
|
|
'include/uv-private/ngx-queue.h',
|
|
|
|
'include/uv-private/tree.h',
|
2012-06-18 22:57:29 +02:00
|
|
|
'src/fs-poll.c',
|
2012-08-07 01:25:06 +02:00
|
|
|
'src/inet.c',
|
2011-08-10 23:23:26 +02:00
|
|
|
'src/uv-common.c',
|
|
|
|
'src/uv-common.h',
|
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
[ 'OS=="win"', {
|
|
|
|
'defines': [
|
2012-02-12 16:12:04 +01:00
|
|
|
'_WIN32_WINNT=0x0600',
|
2011-08-10 23:23:26 +02:00
|
|
|
'_GNU_SOURCE',
|
|
|
|
],
|
|
|
|
'sources': [
|
2011-08-31 10:53:01 +02:00
|
|
|
'include/uv-private/uv-win.h',
|
2011-08-10 23:23:26 +02:00
|
|
|
'src/win/async.c',
|
2012-08-20 18:41:07 +02:00
|
|
|
'src/win/atomicops-inl.h',
|
2011-08-10 23:23:26 +02:00
|
|
|
'src/win/core.c',
|
2011-10-29 01:06:09 +02:00
|
|
|
'src/win/dl.c',
|
2011-08-10 23:23:26 +02:00
|
|
|
'src/win/error.c',
|
2011-08-30 00:23:13 +02:00
|
|
|
'src/win/fs.c',
|
2011-09-23 04:41:43 +02:00
|
|
|
'src/win/fs-event.c',
|
2011-08-10 23:23:26 +02:00
|
|
|
'src/win/getaddrinfo.c',
|
|
|
|
'src/win/handle.c',
|
2012-06-05 15:45:46 +02:00
|
|
|
'src/win/handle-inl.h',
|
2011-08-10 23:23:26 +02:00
|
|
|
'src/win/internal.h',
|
|
|
|
'src/win/loop-watcher.c',
|
|
|
|
'src/win/pipe.c',
|
2011-11-18 13:07:01 +01:00
|
|
|
'src/win/thread.c',
|
2012-05-17 07:13:29 +02:00
|
|
|
'src/win/poll.c',
|
2011-08-10 23:23:26 +02:00
|
|
|
'src/win/process.c',
|
2012-06-14 01:24:43 +02:00
|
|
|
'src/win/process-stdio.c',
|
2011-08-10 23:23:26 +02:00
|
|
|
'src/win/req.c',
|
2012-06-05 15:45:46 +02:00
|
|
|
'src/win/req-inl.h',
|
2012-08-20 18:41:07 +02:00
|
|
|
'src/win/signal.c',
|
2011-08-10 23:23:26 +02:00
|
|
|
'src/win/stream.c',
|
2012-06-05 15:45:46 +02:00
|
|
|
'src/win/stream-inl.h',
|
2011-08-10 23:23:26 +02:00
|
|
|
'src/win/tcp.c',
|
2011-09-12 23:53:27 +02:00
|
|
|
'src/win/tty.c',
|
2011-08-30 00:23:13 +02:00
|
|
|
'src/win/threadpool.c',
|
2011-08-10 23:23:26 +02:00
|
|
|
'src/win/timer.c',
|
2011-08-23 02:34:43 +02:00
|
|
|
'src/win/udp.c',
|
2011-08-10 23:23:26 +02:00
|
|
|
'src/win/util.c',
|
2011-08-12 10:14:04 +02:00
|
|
|
'src/win/winapi.c',
|
2011-08-22 23:51:29 +02:00
|
|
|
'src/win/winapi.h',
|
|
|
|
'src/win/winsock.c',
|
|
|
|
'src/win/winsock.h',
|
2011-08-13 20:17:47 +02:00
|
|
|
],
|
|
|
|
'link_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-lws2_32.lib',
|
2011-12-16 00:56:42 +01:00
|
|
|
'-lpsapi.lib',
|
|
|
|
'-liphlpapi.lib'
|
2011-08-13 20:17:47 +02:00
|
|
|
],
|
|
|
|
},
|
2011-08-10 23:23:26 +02:00
|
|
|
}, { # Not Windows i.e. POSIX
|
|
|
|
'cflags': [
|
|
|
|
'-g',
|
|
|
|
'--std=gnu89',
|
|
|
|
'-pedantic',
|
|
|
|
'-Wall',
|
|
|
|
'-Wextra',
|
|
|
|
'-Wno-unused-parameter'
|
|
|
|
],
|
|
|
|
'sources': [
|
2011-08-31 10:53:01 +02:00
|
|
|
'include/uv-private/ev.h',
|
|
|
|
'include/uv-private/uv-unix.h',
|
2012-08-20 18:41:07 +02:00
|
|
|
'include/uv-private/uv-linux.h',
|
|
|
|
'include/uv-private/uv-sunos.h',
|
|
|
|
'include/uv-private/uv-darwin.h',
|
|
|
|
'include/uv-private/uv-bsd.h',
|
2012-04-29 00:22:01 +02:00
|
|
|
'src/unix/async.c',
|
|
|
|
'src/unix/core.c',
|
2011-10-29 01:06:09 +02:00
|
|
|
'src/unix/dl.c',
|
2012-04-29 00:22:01 +02:00
|
|
|
'src/unix/error.c',
|
2011-08-31 10:53:01 +02:00
|
|
|
'src/unix/ev/ev.c',
|
|
|
|
'src/unix/ev/ev_vars.h',
|
|
|
|
'src/unix/ev/ev_wrap.h',
|
|
|
|
'src/unix/ev/event.h',
|
2012-04-29 00:22:01 +02:00
|
|
|
'src/unix/fs.c',
|
2012-10-06 23:04:30 +02:00
|
|
|
'src/unix/getaddrinfo.c',
|
2012-04-29 00:22:01 +02:00
|
|
|
'src/unix/internal.h',
|
|
|
|
'src/unix/loop.c',
|
2012-05-24 23:26:32 +02:00
|
|
|
'src/unix/loop-watcher.c',
|
2012-04-29 00:22:01 +02:00
|
|
|
'src/unix/pipe.c',
|
2012-05-17 07:13:29 +02:00
|
|
|
'src/unix/poll.c',
|
2012-04-29 00:22:01 +02:00
|
|
|
'src/unix/process.c',
|
2012-08-20 18:41:07 +02:00
|
|
|
'src/unix/signal.c',
|
2012-04-29 00:22:01 +02:00
|
|
|
'src/unix/stream.c',
|
|
|
|
'src/unix/tcp.c',
|
|
|
|
'src/unix/thread.c',
|
2012-10-06 23:04:30 +02:00
|
|
|
'src/unix/threadpool.c',
|
2012-04-29 00:22:01 +02:00
|
|
|
'src/unix/timer.c',
|
|
|
|
'src/unix/tty.c',
|
|
|
|
'src/unix/udp.c',
|
2011-08-10 23:23:26 +02:00
|
|
|
],
|
2011-08-31 10:53:01 +02:00
|
|
|
'include_dirs': [ 'src/unix/ev', ],
|
2011-08-10 23:23:26 +02:00
|
|
|
'libraries': [ '-lm' ]
|
|
|
|
}],
|
|
|
|
[ 'OS=="mac"', {
|
2012-09-13 16:18:54 +02:00
|
|
|
'sources': [ 'src/unix/darwin.c', 'src/unix/fsevents.c' ],
|
2011-08-10 23:23:26 +02:00
|
|
|
'direct_dependent_settings': {
|
2011-09-20 22:34:52 +02:00
|
|
|
'libraries': [
|
|
|
|
'$(SDKROOT)/System/Library/Frameworks/CoreServices.framework',
|
|
|
|
],
|
2011-08-10 23:23:26 +02:00
|
|
|
},
|
|
|
|
'defines': [
|
2012-04-29 00:22:01 +02:00
|
|
|
'_DARWIN_USE_64_BIT_INODE=1',
|
2011-08-10 23:23:26 +02:00
|
|
|
'EV_CONFIG_H="config_darwin.h"',
|
|
|
|
]
|
|
|
|
}],
|
|
|
|
[ 'OS=="linux"', {
|
2012-02-28 18:11:48 +01:00
|
|
|
'sources': [
|
2012-07-03 20:54:19 +02:00
|
|
|
'src/unix/linux/linux-core.c',
|
2012-02-28 18:11:48 +01:00
|
|
|
'src/unix/linux/inotify.c',
|
2012-04-29 00:22:01 +02:00
|
|
|
'src/unix/linux/syscalls.c',
|
|
|
|
'src/unix/linux/syscalls.h',
|
2012-02-28 18:11:48 +01:00
|
|
|
],
|
2011-08-10 23:23:26 +02:00
|
|
|
'defines': [
|
|
|
|
'EV_CONFIG_H="config_linux.h"',
|
|
|
|
],
|
|
|
|
'direct_dependent_settings': {
|
|
|
|
'libraries': [ '-lrt' ],
|
|
|
|
},
|
|
|
|
}],
|
2011-09-12 23:45:00 +02:00
|
|
|
[ 'OS=="solaris"', {
|
|
|
|
'sources': [ 'src/unix/sunos.c' ],
|
|
|
|
'defines': [
|
|
|
|
'__EXTENSIONS__',
|
|
|
|
'_XOPEN_SOURCE=500',
|
|
|
|
'EV_CONFIG_H="config_sunos.h"',
|
|
|
|
],
|
|
|
|
'direct_dependent_settings': {
|
2011-10-05 01:53:17 +02:00
|
|
|
'libraries': [
|
2011-10-11 02:05:18 +02:00
|
|
|
'-lkstat',
|
2011-10-05 01:53:17 +02:00
|
|
|
'-lnsl',
|
2012-10-06 23:04:30 +02:00
|
|
|
'-lsendfile',
|
|
|
|
'-lsocket',
|
2011-10-05 01:53:17 +02:00
|
|
|
],
|
2011-09-12 23:45:00 +02:00
|
|
|
},
|
|
|
|
}],
|
2012-09-14 02:56:41 +02:00
|
|
|
[ 'OS=="aix"', {
|
|
|
|
'include_dirs': [ 'src/ares/config_aix' ],
|
|
|
|
'sources': [ 'src/unix/aix.c' ],
|
|
|
|
'defines': [
|
|
|
|
'_ALL_SOURCE',
|
|
|
|
'_XOPEN_SOURCE=500',
|
|
|
|
'EV_CONFIG_H="config_aix.h"',
|
|
|
|
],
|
|
|
|
'direct_dependent_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-lperfstat',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}],
|
2011-08-17 06:45:21 +02:00
|
|
|
[ 'OS=="freebsd"', {
|
|
|
|
'sources': [ 'src/unix/freebsd.c' ],
|
|
|
|
'defines': [
|
|
|
|
'EV_CONFIG_H="config_freebsd.h"',
|
|
|
|
],
|
2012-01-27 22:25:04 +01:00
|
|
|
'direct_dependent_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-lkvm',
|
|
|
|
],
|
|
|
|
},
|
2011-08-17 06:45:21 +02:00
|
|
|
}],
|
2011-10-15 00:42:10 +02:00
|
|
|
[ 'OS=="openbsd"', {
|
|
|
|
'sources': [ 'src/unix/openbsd.c' ],
|
|
|
|
'defines': [
|
|
|
|
'EV_CONFIG_H="config_openbsd.h"',
|
|
|
|
],
|
|
|
|
}],
|
2012-09-13 16:18:54 +02:00
|
|
|
[ 'OS=="netbsd"', {
|
|
|
|
'sources': [ 'src/unix/netbsd.c' ],
|
|
|
|
'defines': [
|
|
|
|
'EV_CONFIG_H="config_netbsd.h"',
|
|
|
|
],
|
|
|
|
'direct_dependent_settings': {
|
|
|
|
'libraries': [
|
|
|
|
'-lkvm',
|
|
|
|
],
|
|
|
|
},
|
|
|
|
}],
|
2011-10-05 01:53:17 +02:00
|
|
|
[ 'OS=="mac" or OS=="freebsd" or OS=="openbsd" or OS=="netbsd"', {
|
|
|
|
'sources': [ 'src/unix/kqueue.c' ],
|
|
|
|
}],
|
2012-10-06 23:04:30 +02:00
|
|
|
['library=="shared_library"', {
|
|
|
|
'defines': [ 'BUILDING_UV_SHARED=1' ]
|
|
|
|
}]
|
2011-08-10 23:23:26 +02:00
|
|
|
]
|
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
'target_name': 'run-tests',
|
|
|
|
'type': 'executable',
|
|
|
|
'dependencies': [ 'uv' ],
|
|
|
|
'sources': [
|
2011-10-06 21:26:51 +02:00
|
|
|
'test/blackhole-server.c',
|
2011-08-10 23:23:26 +02:00
|
|
|
'test/echo-server.c',
|
|
|
|
'test/run-tests.c',
|
|
|
|
'test/runner.c',
|
|
|
|
'test/runner.h',
|
2011-10-05 01:53:17 +02:00
|
|
|
'test/test-get-loadavg.c',
|
2011-08-10 23:23:26 +02:00
|
|
|
'test/task.h',
|
2011-12-16 00:56:42 +01:00
|
|
|
'test/test-util.c',
|
2012-08-28 02:43:55 +02:00
|
|
|
'test/test-active.c',
|
2011-08-10 23:23:26 +02:00
|
|
|
'test/test-async.c',
|
|
|
|
'test/test-callback-stack.c',
|
2012-05-17 07:13:29 +02:00
|
|
|
'test/test-callback-order.c',
|
2011-08-10 23:23:26 +02:00
|
|
|
'test/test-connection-fail.c',
|
2011-12-01 22:50:09 +01:00
|
|
|
'test/test-cwd-and-chdir.c',
|
2011-08-10 23:23:26 +02:00
|
|
|
'test/test-delayed-accept.c',
|
2012-08-28 02:43:55 +02:00
|
|
|
'test/test-error.c',
|
2011-08-10 23:23:26 +02:00
|
|
|
'test/test-fail-always.c',
|
2011-08-30 00:23:13 +02:00
|
|
|
'test/test-fs.c',
|
2011-09-23 04:41:43 +02:00
|
|
|
'test/test-fs-event.c',
|
2011-08-10 23:23:26 +02:00
|
|
|
'test/test-get-currentexe.c',
|
2011-10-05 01:53:17 +02:00
|
|
|
'test/test-get-memory.c',
|
2011-08-10 23:23:26 +02:00
|
|
|
'test/test-getaddrinfo.c',
|
|
|
|
'test/test-getsockname.c',
|
|
|
|
'test/test-hrtime.c',
|
|
|
|
'test/test-idle.c',
|
2011-10-06 21:26:51 +02:00
|
|
|
'test/test-ipc.c',
|
2012-03-09 18:20:29 +01:00
|
|
|
'test/test-ipc-send-recv.c',
|
2011-08-10 23:23:26 +02:00
|
|
|
'test/test-list.h',
|
|
|
|
'test/test-loop-handles.c',
|
2012-06-01 18:07:22 +02:00
|
|
|
'test/test-walk-handles.c',
|
2011-10-29 01:06:09 +02:00
|
|
|
'test/test-multiple-listen.c',
|
2011-08-10 23:23:26 +02:00
|
|
|
'test/test-pass-always.c',
|
|
|
|
'test/test-ping-pong.c',
|
|
|
|
'test/test-pipe-bind-error.c',
|
2011-11-04 00:30:58 +01:00
|
|
|
'test/test-pipe-connect-error.c',
|
2011-12-16 00:56:42 +01:00
|
|
|
'test/test-platform-output.c',
|
2012-05-17 07:13:29 +02:00
|
|
|
'test/test-poll.c',
|
2012-06-05 15:45:46 +02:00
|
|
|
'test/test-poll-close.c',
|
2011-12-16 00:56:42 +01:00
|
|
|
'test/test-process-title.c',
|
2011-08-10 23:23:26 +02:00
|
|
|
'test/test-ref.c',
|
2012-05-24 23:26:32 +02:00
|
|
|
'test/test-run-once.c',
|
2012-06-05 15:45:46 +02:00
|
|
|
'test/test-semaphore.c',
|
2012-03-09 18:20:29 +01:00
|
|
|
'test/test-shutdown-close.c',
|
2011-08-10 23:23:26 +02:00
|
|
|
'test/test-shutdown-eof.c',
|
2012-08-20 18:41:07 +02:00
|
|
|
'test/test-signal.c',
|
2011-08-10 23:23:26 +02:00
|
|
|
'test/test-spawn.c',
|
2012-06-18 22:57:29 +02:00
|
|
|
'test/test-fs-poll.c',
|
2011-10-21 00:25:57 +02:00
|
|
|
'test/test-stdio-over-pipes.c',
|
2011-08-10 23:23:26 +02:00
|
|
|
'test/test-tcp-bind-error.c',
|
|
|
|
'test/test-tcp-bind6-error.c',
|
2011-09-14 17:43:27 +02:00
|
|
|
'test/test-tcp-close.c',
|
2012-06-12 19:19:26 +02:00
|
|
|
'test/test-tcp-close-while-connecting.c',
|
2012-06-05 15:45:46 +02:00
|
|
|
'test/test-tcp-connect-error-after-write.c',
|
|
|
|
'test/test-tcp-shutdown-after-write.c',
|
2011-10-22 02:08:12 +02:00
|
|
|
'test/test-tcp-flags.c',
|
2011-10-05 01:53:17 +02:00
|
|
|
'test/test-tcp-connect-error.c',
|
2012-05-17 07:13:29 +02:00
|
|
|
'test/test-tcp-connect-timeout.c',
|
2011-10-05 01:53:17 +02:00
|
|
|
'test/test-tcp-connect6-error.c',
|
2012-09-18 00:36:05 +02:00
|
|
|
'test/test-tcp-open.c',
|
2011-09-20 22:34:52 +02:00
|
|
|
'test/test-tcp-write-error.c',
|
2011-11-08 20:19:50 +01:00
|
|
|
'test/test-tcp-write-to-half-open-connection.c',
|
2011-08-10 23:23:26 +02:00
|
|
|
'test/test-tcp-writealot.c',
|
2012-08-07 01:25:06 +02:00
|
|
|
'test/test-tcp-unexpected-read.c',
|
2011-08-30 00:23:13 +02:00
|
|
|
'test/test-threadpool.c',
|
2011-11-18 13:07:01 +01:00
|
|
|
'test/test-mutexes.c',
|
2012-08-20 18:41:07 +02:00
|
|
|
'test/test-signal.c',
|
2011-12-16 00:56:42 +01:00
|
|
|
'test/test-thread.c',
|
2012-10-06 23:04:30 +02:00
|
|
|
'test/test-condvar.c',
|
2012-10-08 00:44:47 +02:00
|
|
|
'test/test-condvar-consumer-producer.c',
|
2011-08-10 23:23:26 +02:00
|
|
|
'test/test-timer-again.c',
|
|
|
|
'test/test-timer.c',
|
2011-08-17 06:45:21 +02:00
|
|
|
'test/test-tty.c',
|
2011-08-23 02:34:43 +02:00
|
|
|
'test/test-udp-dgram-too-big.c',
|
|
|
|
'test/test-udp-ipv6.c',
|
2012-09-18 00:36:05 +02:00
|
|
|
'test/test-udp-open.c',
|
2012-01-31 17:41:46 +01:00
|
|
|
'test/test-udp-options.c',
|
2011-08-23 02:34:43 +02:00
|
|
|
'test/test-udp-send-and-recv.c',
|
2011-10-12 17:32:47 +02:00
|
|
|
'test/test-udp-multicast-join.c',
|
2012-03-05 15:38:43 +01:00
|
|
|
'test/test-dlerror.c',
|
2012-02-12 16:12:04 +01:00
|
|
|
'test/test-udp-multicast-ttl.c',
|
2011-08-10 23:23:26 +02:00
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
[ 'OS=="win"', {
|
|
|
|
'sources': [
|
|
|
|
'test/runner-win.c',
|
|
|
|
'test/runner-win.h'
|
|
|
|
],
|
|
|
|
'libraries': [ 'ws2_32.lib' ]
|
|
|
|
}, { # POSIX
|
|
|
|
'defines': [ '_GNU_SOURCE' ],
|
|
|
|
'sources': [
|
|
|
|
'test/runner-unix.c',
|
|
|
|
'test/runner-unix.h',
|
2011-10-29 01:06:09 +02:00
|
|
|
],
|
2011-10-05 01:53:17 +02:00
|
|
|
}],
|
|
|
|
[ 'OS=="solaris"', { # make test-fs.c compile, needs _POSIX_C_SOURCE
|
|
|
|
'defines': [
|
|
|
|
'__EXTENSIONS__',
|
|
|
|
'_XOPEN_SOURCE=500',
|
|
|
|
],
|
|
|
|
}],
|
2012-09-14 02:56:41 +02:00
|
|
|
[ 'OS=="aix"', { # make test-fs.c compile, needs _POSIX_C_SOURCE
|
|
|
|
'defines': [
|
|
|
|
'_ALL_SOURCE',
|
|
|
|
'_XOPEN_SOURCE=500',
|
|
|
|
],
|
|
|
|
}],
|
2011-08-13 20:17:47 +02:00
|
|
|
],
|
|
|
|
'msvs-settings': {
|
|
|
|
'VCLinkerTool': {
|
|
|
|
'SubSystem': 1, # /subsystem:console
|
|
|
|
},
|
|
|
|
},
|
2011-08-10 23:23:26 +02:00
|
|
|
},
|
|
|
|
|
|
|
|
{
|
|
|
|
'target_name': 'run-benchmarks',
|
|
|
|
'type': 'executable',
|
|
|
|
'dependencies': [ 'uv' ],
|
|
|
|
'sources': [
|
2012-07-20 19:01:46 +02:00
|
|
|
'test/benchmark-async.c',
|
|
|
|
'test/benchmark-async-pummel.c',
|
2012-06-22 16:44:40 +02:00
|
|
|
'test/benchmark-fs-stat.c',
|
2011-08-10 23:23:26 +02:00
|
|
|
'test/benchmark-getaddrinfo.c',
|
|
|
|
'test/benchmark-list.h',
|
2012-05-24 23:26:32 +02:00
|
|
|
'test/benchmark-loop-count.c',
|
2012-06-12 19:19:26 +02:00
|
|
|
'test/benchmark-million-timers.c',
|
2012-09-18 00:36:05 +02:00
|
|
|
'test/benchmark-multi-accept.c',
|
2011-08-10 23:23:26 +02:00
|
|
|
'test/benchmark-ping-pongs.c',
|
|
|
|
'test/benchmark-pound.c',
|
|
|
|
'test/benchmark-pump.c',
|
|
|
|
'test/benchmark-sizes.c',
|
|
|
|
'test/benchmark-spawn.c',
|
2011-12-16 00:56:42 +01:00
|
|
|
'test/benchmark-thread.c',
|
2011-10-06 21:26:51 +02:00
|
|
|
'test/benchmark-tcp-write-batch.c',
|
2012-08-28 02:43:55 +02:00
|
|
|
'test/benchmark-udp-pummel.c',
|
2011-08-10 23:23:26 +02:00
|
|
|
'test/dns-server.c',
|
|
|
|
'test/echo-server.c',
|
2011-10-06 21:26:51 +02:00
|
|
|
'test/blackhole-server.c',
|
2011-08-10 23:23:26 +02:00
|
|
|
'test/run-benchmarks.c',
|
|
|
|
'test/runner.c',
|
|
|
|
'test/runner.h',
|
|
|
|
'test/task.h',
|
|
|
|
],
|
|
|
|
'conditions': [
|
|
|
|
[ 'OS=="win"', {
|
|
|
|
'sources': [
|
|
|
|
'test/runner-win.c',
|
|
|
|
'test/runner-win.h',
|
|
|
|
],
|
|
|
|
'libraries': [ 'ws2_32.lib' ]
|
|
|
|
}, { # POSIX
|
|
|
|
'defines': [ '_GNU_SOURCE' ],
|
|
|
|
'sources': [
|
|
|
|
'test/runner-unix.c',
|
|
|
|
'test/runner-unix.h',
|
|
|
|
]
|
|
|
|
}]
|
2011-08-13 20:17:47 +02:00
|
|
|
],
|
|
|
|
'msvs-settings': {
|
|
|
|
'VCLinkerTool': {
|
|
|
|
'SubSystem': 1, # /subsystem:console
|
|
|
|
},
|
|
|
|
},
|
2011-08-10 23:23:26 +02:00
|
|
|
}
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
2011-09-23 04:41:43 +02:00
|
|
|
|