Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / native_client_sdk / src / libraries / nacl_io / library.dsc
blob733d804c48fa387880a3e6aaeb1dd431230a8710
2   'TOOLS': ['newlib', 'glibc', 'bionic', 'pnacl', 'linux', 'mac', 'clang-newlib'],
3   'SEARCH': [
4     '.',
5     'pepper',
6     '../third_party/newlib-extras',
7     'include',
8   ],
9   'TARGETS': [
10     {
11       'DEFINES': ['NACL_IO_LOGGING=0'],
12       'NAME' : 'nacl_io',
13       'TYPE' : 'lib',
14       'SOURCES' : [
15         "devfs/dev_fs.cc",
16         "devfs/jspipe_event_emitter.cc",
17         "devfs/jspipe_node.cc",
18         "devfs/tty_node.cc",
19         "dir_node.cc",
20         "event_emitter.cc",
21         "event_listener.cc",
22         "fifo_char.cc",
23         "filesystem.cc",
24         "fusefs/fuse_fs.cc",
25         "fusefs/fuse_fs_factory.cc",
26         "getdents_helper.cc",
27         "h_errno.c",
28         "host_resolver.cc",
29         "html5fs/html5_fs.cc",
30         "html5fs/html5_fs_node.cc",
31         "httpfs/http_fs.cc",
32         "httpfs/http_fs_node.cc",
33         "in6_addr.c",
34         "jsfs/js_fs.cc",
35         "jsfs/js_fs_node.cc",
36         "kernel_handle.cc",
37         "kernel_intercept.cc",
38         "kernel_object.cc",
39         "kernel_proxy.cc",
40         "kernel_wrap_bionic.cc",
41         "kernel_wrap_dummy.cc",
42         "kernel_wrap_glibc.cc",
43         "kernel_wrap_irt_ext.c",
44         "kernel_wrap_newlib.cc",
45         "kernel_wrap_win.cc",
46         "log.c",
47         "memfs/mem_fs.cc",
48         "memfs/mem_fs_node.cc",
49         "nacl_io.cc",
50         "node.cc",
51         "passthroughfs/passthrough_fs.cc",
52         "passthroughfs/real_node.cc",
53         "path.cc",
54         "pepper_interface.cc",
55         "pepper_interface_delegate.cc",
56         "pipe/pipe_event_emitter.cc",
57         "pipe/pipe_node.cc",
58         "real_pepper_interface.cc",
59         "socket/fifo_packet.cc",
60         "socket/packet.cc",
61         "socket/socket_node.cc",
62         "socket/tcp_event_emitter.cc",
63         "socket/tcp_node.cc",
64         "socket/udp_event_emitter.cc",
65         "socket/udp_node.cc",
66         "stream/stream_event_emitter.cc",
67         "stream/stream_fs.cc",
68         "stream/stream_node.cc",
69         "syscalls/access.c",
70         "syscalls/chown.c",
71         "syscalls/fchown.c",
72         "syscalls/fcntl.c",
73         "syscalls/ftruncate.c",
74         "syscalls/futimes.c",
75         "syscalls/getwd.c",
76         "syscalls/ioctl.c",
77         "syscalls/isatty.c",
78         "syscalls/kill.c",
79         "syscalls/killpg.c",
80         "syscalls/lchown.c",
81         "syscalls/mount.c",
82         "syscalls/pipe.c",
83         "syscalls/poll.c",
84         "syscalls/realpath.c",
85         "syscalls/select.c",
86         "syscalls/sigaction.c",
87         "syscalls/signal.c",
88         "syscalls/sigpause.c",
89         "syscalls/sigpending.c",
90         "syscalls/sigset.c",
91         "syscalls/sigsuspend.c",
92         "syscalls/socket/accept.c",
93         "syscalls/socket/bind.c",
94         "syscalls/socket/connect.c",
95         "syscalls/socket/freeaddrinfo.c",
96         "syscalls/socket/gai_strerror.c",
97         "syscalls/socket/getaddrinfo.c",
98         "syscalls/socket/gethostbyname.c",
99         "syscalls/socket/getnameinfo.c",
100         "syscalls/socket/getpeername.c",
101         "syscalls/socket/getsockname.c",
102         "syscalls/socket/getsockopt.c",
103         "syscalls/socket/herror.c",
104         "syscalls/socket/hstrerror.c",
105         "syscalls/socket/htonl.c",
106         "syscalls/socket/htons.c",
107         "syscalls/socket/inet_addr.c",
108         "syscalls/socket/inet_aton.c",
109         "syscalls/socket/inet_ntoa.c",
110         "syscalls/socket/inet_ntop.cc",
111         "syscalls/socket/inet_pton.c",
112         "syscalls/socket/listen.c",
113         "syscalls/socket/ntohl.c",
114         "syscalls/socket/ntohs.c",
115         "syscalls/socket/recv.c",
116         "syscalls/socket/recvfrom.c",
117         "syscalls/socket/recvmsg.c",
118         "syscalls/socket/send.c",
119         "syscalls/socket/sendmsg.c",
120         "syscalls/socket/sendto.c",
121         "syscalls/socket/setsockopt.c",
122         "syscalls/socket/shutdown.c",
123         "syscalls/socket/socket.c",
124         "syscalls/socket/socketpair.c",
125         "syscalls/termios/cfgetispeed.c",
126         "syscalls/termios/cfgetospeed.c",
127         "syscalls/termios/cfsetispeed.c",
128         "syscalls/termios/cfsetospeed.c",
129         "syscalls/termios/cfsetspeed.c",
130         "syscalls/termios/tcflow.c",
131         "syscalls/termios/tcflush.c",
132         "syscalls/termios/tcdrain.c",
133         "syscalls/termios/tcgetattr.c",
134         "syscalls/termios/tcsendbreak.c",
135         "syscalls/termios/tcsetattr.c",
136         "syscalls/symlink.c",
137         "syscalls/truncate.c",
138         "syscalls/umask.c",
139         "syscalls/umount.c",
140         "syscalls/uname.c",
141         "syscalls/utime.c",
142       ],
143     }
144   ],
145   'HEADERS': [
146     {
147       'FILES': [
148         "char_node.h",
149         "devfs/dev_fs.h",
150         "devfs/jspipe_event_emitter.h",
151         "devfs/jspipe_node.h",
152         "devfs/tty_node.h",
153         "dir_node.h",
154         "error.h",
155         "event_emitter.h",
156         "event_listener.h",
157         "fifo_char.h",
158         "fifo_interface.h",
159         "filesystem.h",
160         "fs_factory.h",
161         "fusefs/fuse_fs_factory.h",
162         "fusefs/fuse_fs.h",
163         "fuse.h",
164         "getdents_helper.h",
165         "host_resolver.h",
166         "html5fs/html5_fs.h",
167         "html5fs/html5_fs_node.h",
168         "httpfs/http_fs.h",
169         "httpfs/http_fs_node.h",
170         "inode_pool.h",
171         "ioctl.h",
172         "jsfs/js_fs.h",
173         "jsfs/js_fs_node.h",
174         "nacl_abi_types.h",
175         "kernel_handle.h",
176         "kernel_intercept.h",
177         "kernel_object.h",
178         "kernel_proxy.h",
179         "kernel_wrap.h",
180         "kernel_wrap_real.h",
181         "log.h",
182         "memfs/mem_fs.h",
183         "memfs/mem_fs_node.h",
184         "nacl_io.h",
185         "node.h",
186         "osdirent.h",
187         "osinttypes.h",
188         "osmman.h",
189         "ossignal.h",
190         "ossocket.h",
191         "osstat.h",
192         "ostermios.h",
193         "ostime.h",
194         "ostypes.h",
195         "osunistd.h",
196         "osutime.h",
197         "passthroughfs/passthrough_fs.h",
198         "passthroughfs/real_node.h",
199         "path.h",
200         "pepper_interface_delegate.h",
201         "pepper_interface_dummy.h",
202         "pepper_interface.h",
203         "pipe/pipe_event_emitter.h",
204         "pipe/pipe_node.h",
205         "real_pepper_interface.h",
206         "socket/fifo_packet.h",
207         "socket/packet.h",
208         "socket/socket_node.h",
209         "socket/tcp_event_emitter.h",
210         "socket/tcp_node.h",
211         "socket/udp_event_emitter.h",
212         "socket/udp_node.h",
213         "stream/stream_event_emitter.h",
214         "stream/stream_fs.h",
215         "stream/stream_node.h",
216         "typed_fs_factory.h",
217       ],
218       'DEST': 'include/nacl_io',
219     },
220     {
221       'FILES': [
222         "arpa/inet.h",
223         "memory.h",
224         "netdb.h",
225         "netinet/in.h",
226         "netinet/tcp.h",
227         "netinet6/in6.h",
228         "poll.h",
229         "sys/ioctl.h",
230         "sys/mount.h",
231         "sys/poll.h",
232         "sys/select.h",
233         "sys/socket.h",
234         "sys/termios.h",
235         "sys/time.h",
236         "sys/utsname.h",
237         "utime.h",
238       ],
239       'DEST': 'include/newlib',
240     },
241     {
242       'FILES': [
243         "bits/ioctls.h",
244         "rpc/netdb.h",
245         "sys/mount.h",
246       ],
247       'DEST': 'include/glibc',
248     },
249     {
250       'FILES': [
251         "arpa/inet.h",
252         "memory.h",
253         "netdb.h",
254         "netinet/in.h",
255         "netinet/tcp.h",
256         "netinet6/in6.h",
257         "poll.h",
258         "sys/ioctl.h",
259         "sys/mount.h",
260         "sys/poll.h",
261         "sys/select.h",
262         "sys/socket.h",
263         "sys/termios.h",
264         "sys/time.h",
265         "sys/utsname.h",
266         "utime.h",
267       ],
268       'DEST': 'include/pnacl',
269     },
270     {
271       'FILES': [
272         "sys/mount.h",
273       ],
274       'DEST': 'include/mac',
275     },
276     {
277       'FILES': [
278         "poll.h",
279         "sys/poll.h",
280       ],
281       'DEST': 'include/win',
282     },
283     {
284       'FILES': [
285         "all_interfaces.h",
286         "define_empty_macros.h",
287         "undef_macros.h",
288       ],
289       'DEST': 'include/nacl_io/pepper',
290     }
291   ],
292   'DEST': 'src',
293   'NAME': 'nacl_io',