blob: 11660d1a25fd0efc4062c79870eb550a615ddf8e [file] [log] [blame]
{
'TOOLS': ['newlib', 'glibc', 'pnacl'],
'SEARCH': [
'.',
'pepper',
'../third_party/newlib-extras',
'include',
],
'TARGETS': [
{
'NAME' : 'nacl_io',
'TYPE' : 'lib',
'SOURCES' : [
'dbgprint.c',
"event_emitter.cc",
"event_emitter_pipe.cc",
"event_emitter_stream.cc",
"event_emitter_tcp.cc",
"event_emitter_udp.cc",
"event_listener.cc",
"fifo_char.cc",
"fifo_packet.cc",
"getdents_helper.cc",
"h_errno.cc",
"host_resolver.cc",
"kernel_handle.cc",
"kernel_intercept.cc",
"kernel_object.cc",
"kernel_proxy.cc",
"kernel_wrap_glibc.cc",
"kernel_wrap_newlib.cc",
"kernel_wrap_win.cc",
"mount.cc",
"mount_dev.cc",
"mount_html5fs.cc",
"mount_http.cc",
"mount_mem.cc",
"mount_node.cc",
"mount_node_dir.cc",
"mount_node_html5fs.cc",
"mount_node_http.cc",
"mount_node_mem.cc",
"mount_node_pipe.cc",
"mount_node_socket.cc",
"mount_node_stream.cc",
"mount_node_tcp.cc",
"mount_node_tty.cc",
"mount_node_udp.cc",
"mount_passthrough.cc",
"mount_stream.cc",
"nacl_io.cc",
"packet.cc",
"path.cc",
"pepper_interface.cc",
"pepper_interface_delegate.cc",
"real_pepper_interface.cc",
"syscalls/accept.c",
"syscalls/access.c",
"syscalls/bind.c",
"syscalls/cfgetispeed.c",
"syscalls/cfgetospeed.c",
"syscalls/cfsetspeed.c",
"syscalls/cfsetispeed.c",
"syscalls/cfsetospeed.c",
"syscalls/chdir.c",
"syscalls/chmod.c",
"syscalls/chown.c",
"syscalls/connect.c",
"syscalls/fchdir.c",
"syscalls/fchmod.c",
"syscalls/fchown.c",
"syscalls/fcntl.c",
"syscalls/fdatasync.c",
"syscalls/fdopen.c",
"syscalls/fsync.c",
"syscalls/ftruncate.c",
"syscalls/getcwd.c",
"syscalls/gethostbyname.c",
"syscalls/getpeername.c",
"syscalls/getsockname.c",
"syscalls/getsockopt.c",
"syscalls/getwd.c",
"syscalls/herror.c",
"syscalls/hstrerror.cc",
"syscalls/htonl.c",
"syscalls/htons.c",
"syscalls/inet_ntoa.cc",
"syscalls/inet_ntop.cc",
"syscalls/ioctl.c",
"syscalls/isatty.c",
"syscalls/kill.c",
"syscalls/killpg.c",
"syscalls/lchown.c",
"syscalls/link.c",
"syscalls/listen.c",
"syscalls/lstat.c",
"syscalls/mkdir.c",
"syscalls/mount.c",
"syscalls/ntohl.c",
"syscalls/ntohs.c",
"syscalls/pipe.c",
"syscalls/poll.c",
"syscalls/readlink.c",
"syscalls/rmdir.c",
"syscalls/recv.c",
"syscalls/recvfrom.c",
"syscalls/recvmsg.c",
"syscalls/remove.c",
"syscalls/rename.c",
"syscalls/tcdrain.c",
"syscalls/tcflow.c",
"syscalls/tcflush.c",
"syscalls/tcgetattr.c",
"syscalls/tcsendbreak.c",
"syscalls/tcsetattr.c",
"syscalls/truncate.c",
"syscalls/select.c",
"syscalls/send.c",
"syscalls/sendmsg.c",
"syscalls/sendto.c",
"syscalls/setsockopt.c",
"syscalls/shutdown.c",
"syscalls/sigaction.c",
"syscalls/sigaddset.c",
"syscalls/sigdelset.c",
"syscalls/sigemptyset.c",
"syscalls/sigfillset.c",
"syscalls/sigismember.c",
"syscalls/signal.c",
"syscalls/sigpause.c",
"syscalls/sigpending.c",
"syscalls/sigset.c",
"syscalls/sigsuspend.c",
"syscalls/socket.c",
"syscalls/socketpair.c",
"syscalls/symlink.c",
"syscalls/unlink.c",
"syscalls/umount.c",
"syscalls/uname.c",
"syscalls/utime.c",
"syscalls/utimes.c",
],
}
],
'HEADERS': [
{
'FILES': [
"dbgprint.h",
"error.h",
"event_emitter.h",
"event_listener.h",
"event_emitter_pipe.h",
"event_emitter_stream.h",
"event_emitter_tcp.h",
"event_emitter_udp.h",
"fifo_char.h",
"fifo_interface.h",
"fifo_null.h",
"fifo_packet.h",
"getdents_helper.h",
"host_resolver.h",
"inode_pool.h",
"ioctl.h",
"kernel_handle.h",
"kernel_intercept.h",
"kernel_object.h",
"kernel_proxy.h",
"kernel_wrap.h",
"kernel_wrap_real.h",
"mount_dev.h",
"mount_factory.h",
"mount.h",
"mount_html5fs.h",
"mount_http.h",
"mount_mem.h",
"mount_node.h",
"mount_node_char.h",
"mount_node_dir.h",
"mount_node_html5fs.h",
"mount_node_http.h",
"mount_node_mem.h",
"mount_node_pipe.h",
"mount_node_socket.h",
"mount_node_stream.h",
"mount_node_tcp.h",
"mount_node_tty.h",
"mount_node_udp.h",
"mount_passthrough.h",
"mount_stream.h",
"nacl_io.h",
"osdirent.h",
"osinttypes.h",
"osmman.h",
"ossignal.h",
"ossocket.h",
"osstat.h",
"ostime.h",
"ostypes.h",
"osunistd.h",
"osutime.h",
"ostermios.h",
"packet.h",
"path.h",
"pepper_interface_delegate.h",
"pepper_interface_dummy.h",
"pepper_interface.h",
"real_pepper_interface.h",
"typed_mount_factory.h",
],
'DEST': 'include/nacl_io',
},
{
'FILES': [
"arpa/inet.h",
"netdb.h",
"netinet/in.h",
"netinet/tcp.h",
"netinet6/in6.h",
"poll.h",
"sys/ioctl.h",
"sys/mount.h",
"sys/select.h",
"sys/signal.h",
"sys/socket.h",
"sys/termios.h",
"sys/utsname.h",
],
'DEST': 'include/newlib',
},
{
'FILES': [
"arpa/inet.h",
"netdb.h",
"netinet/in.h",
"netinet/tcp.h",
"netinet6/in6.h",
"poll.h",
"sys/ioctl.h",
"sys/mount.h",
"sys/select.h",
"sys/signal.h",
"sys/socket.h",
"sys/termios.h",
"sys/utsname.h",
],
'DEST': 'include/pnacl',
},
{
'FILES': [
"poll.h",
],
'DEST': 'include/win',
},
{
'FILES': [
"all_interfaces.h",
"define_empty_macros.h",
"undef_macros.h",
],
'DEST': 'include/nacl_io/pepper',
}
],
'DEST': 'src',
'NAME': 'nacl_io',
}