- add sources.
[platform/framework/web/crosswalk.git] / src / native_client_sdk / src / libraries / nacl_io / library.dsc
1 {
2   'TOOLS': ['newlib', 'glibc', 'pnacl'],
3   'SEARCH': [
4     '.',
5     'pepper',
6     '../third_party/newlib-extras',
7     'include',
8   ],
9   'TARGETS': [
10     {
11       'NAME' : 'nacl_io',
12       'TYPE' : 'lib',
13       'SOURCES' : [
14         'dbgprint.c',
15         "event_emitter.cc",
16         "event_emitter_pipe.cc",
17         "event_emitter_stream.cc",
18         "event_emitter_tcp.cc",
19         "event_emitter_udp.cc",
20         "event_listener.cc",
21         "fifo_char.cc",
22         "fifo_packet.cc",
23         "getdents_helper.cc",
24         "h_errno.cc",
25         "host_resolver.cc",
26         "kernel_handle.cc",
27         "kernel_intercept.cc",
28         "kernel_object.cc",
29         "kernel_proxy.cc",
30         "kernel_wrap_glibc.cc",
31         "kernel_wrap_newlib.cc",
32         "kernel_wrap_win.cc",
33         "mount.cc",
34         "mount_dev.cc",
35         "mount_html5fs.cc",
36         "mount_http.cc",
37         "mount_mem.cc",
38         "mount_node.cc",
39         "mount_node_dir.cc",
40         "mount_node_html5fs.cc",
41         "mount_node_http.cc",
42         "mount_node_mem.cc",
43         "mount_node_pipe.cc",
44         "mount_node_socket.cc",
45         "mount_node_stream.cc",
46         "mount_node_tcp.cc",
47         "mount_node_tty.cc",
48         "mount_node_udp.cc",
49         "mount_passthrough.cc",
50         "mount_stream.cc",
51         "nacl_io.cc",
52         "packet.cc",
53         "path.cc",
54         "pepper_interface.cc",
55         "pepper_interface_delegate.cc",
56         "real_pepper_interface.cc",
57         "syscalls/accept.c",
58         "syscalls/access.c",
59         "syscalls/bind.c",
60         "syscalls/cfgetispeed.c",
61         "syscalls/cfgetospeed.c",
62         "syscalls/cfsetspeed.c",
63         "syscalls/cfsetispeed.c",
64         "syscalls/cfsetospeed.c",
65         "syscalls/chdir.c",
66         "syscalls/chmod.c",
67         "syscalls/chown.c",
68         "syscalls/connect.c",
69         "syscalls/fchdir.c",
70         "syscalls/fchmod.c",
71         "syscalls/fchown.c",
72         "syscalls/fcntl.c",
73         "syscalls/fdatasync.c",
74         "syscalls/fdopen.c",
75         "syscalls/fsync.c",
76         "syscalls/ftruncate.c",
77         "syscalls/getcwd.c",
78         "syscalls/gethostbyname.c",
79         "syscalls/getpeername.c",
80         "syscalls/getsockname.c",
81         "syscalls/getsockopt.c",
82         "syscalls/getwd.c",
83         "syscalls/herror.c",
84         "syscalls/hstrerror.cc",
85         "syscalls/htonl.c",
86         "syscalls/htons.c",
87         "syscalls/inet_ntoa.cc",
88         "syscalls/inet_ntop.cc",
89         "syscalls/ioctl.c",
90         "syscalls/isatty.c",
91         "syscalls/kill.c",
92         "syscalls/killpg.c",
93         "syscalls/lchown.c",
94         "syscalls/link.c",
95         "syscalls/listen.c",
96         "syscalls/lstat.c",
97         "syscalls/mkdir.c",
98         "syscalls/mount.c",
99         "syscalls/ntohl.c",
100         "syscalls/ntohs.c",
101         "syscalls/pipe.c",
102         "syscalls/poll.c",
103         "syscalls/readlink.c",
104         "syscalls/rmdir.c",
105         "syscalls/recv.c",
106         "syscalls/recvfrom.c",
107         "syscalls/recvmsg.c",
108         "syscalls/remove.c",
109         "syscalls/rename.c",
110         "syscalls/tcdrain.c",
111         "syscalls/tcflow.c",
112         "syscalls/tcflush.c",
113         "syscalls/tcgetattr.c",
114         "syscalls/tcsendbreak.c",
115         "syscalls/tcsetattr.c",
116         "syscalls/truncate.c",
117         "syscalls/select.c",
118         "syscalls/send.c",
119         "syscalls/sendmsg.c",
120         "syscalls/sendto.c",
121         "syscalls/setsockopt.c",
122         "syscalls/shutdown.c",
123         "syscalls/sigaction.c",
124         "syscalls/sigaddset.c",
125         "syscalls/sigdelset.c",
126         "syscalls/sigemptyset.c",
127         "syscalls/sigfillset.c",
128         "syscalls/sigismember.c",
129         "syscalls/signal.c",
130         "syscalls/sigpause.c",
131         "syscalls/sigpending.c",
132         "syscalls/sigset.c",
133         "syscalls/sigsuspend.c",
134         "syscalls/socket.c",
135         "syscalls/socketpair.c",
136         "syscalls/symlink.c",
137         "syscalls/unlink.c",
138         "syscalls/umount.c",
139         "syscalls/uname.c",
140         "syscalls/utime.c",
141         "syscalls/utimes.c",
142       ],
143     }
144   ],
145   'HEADERS': [
146     {
147       'FILES': [
148         "dbgprint.h",
149         "error.h",
150         "event_emitter.h",
151         "event_listener.h",
152         "event_emitter_pipe.h",
153         "event_emitter_stream.h",
154         "event_emitter_tcp.h",
155         "event_emitter_udp.h",
156         "fifo_char.h",
157         "fifo_interface.h",
158         "fifo_null.h",
159         "fifo_packet.h",
160         "getdents_helper.h",
161         "host_resolver.h",
162         "inode_pool.h",
163         "ioctl.h",
164         "kernel_handle.h",
165         "kernel_intercept.h",
166         "kernel_object.h",
167         "kernel_proxy.h",
168         "kernel_wrap.h",
169         "kernel_wrap_real.h",
170         "mount_dev.h",
171         "mount_factory.h",
172         "mount.h",
173         "mount_html5fs.h",
174         "mount_http.h",
175         "mount_mem.h",
176         "mount_node.h",
177         "mount_node_char.h",
178         "mount_node_dir.h",
179         "mount_node_html5fs.h",
180         "mount_node_http.h",
181         "mount_node_mem.h",
182         "mount_node_pipe.h",
183         "mount_node_socket.h",
184         "mount_node_stream.h",
185         "mount_node_tcp.h",
186         "mount_node_tty.h",
187         "mount_node_udp.h",
188         "mount_passthrough.h",
189         "mount_stream.h",
190         "nacl_io.h",
191         "osdirent.h",
192         "osinttypes.h",
193         "osmman.h",
194         "ossignal.h",
195         "ossocket.h",
196         "osstat.h",
197         "ostime.h",
198         "ostypes.h",
199         "osunistd.h",
200         "osutime.h",
201         "ostermios.h",
202         "packet.h",
203         "path.h",
204         "pepper_interface_delegate.h",
205         "pepper_interface_dummy.h",
206         "pepper_interface.h",
207         "real_pepper_interface.h",
208         "typed_mount_factory.h",
209       ],
210       'DEST': 'include/nacl_io',
211     },
212     {
213       'FILES': [
214         "arpa/inet.h",
215         "netdb.h",
216         "netinet/in.h",
217         "netinet/tcp.h",
218         "netinet6/in6.h",
219         "poll.h",
220         "sys/ioctl.h",
221         "sys/mount.h",
222         "sys/poll.h",
223         "sys/select.h",
224         "sys/signal.h",
225         "sys/socket.h",
226         "sys/termios.h",
227         "sys/utsname.h",
228       ],
229       'DEST': 'include/newlib',
230     },
231     {
232       'FILES': [
233         "arpa/inet.h",
234         "netdb.h",
235         "netinet/in.h",
236         "netinet/tcp.h",
237         "netinet6/in6.h",
238         "poll.h",
239         "sys/ioctl.h",
240         "sys/mount.h",
241         "sys/poll.h",
242         "sys/select.h",
243         "sys/signal.h",
244         "sys/socket.h",
245         "sys/termios.h",
246         "sys/utsname.h",
247       ],
248       'DEST': 'include/pnacl',
249     },
250     {
251       'FILES': [
252         "poll.h",
253         "sys/poll.h",
254       ],
255       'DEST': 'include/win',
256     },
257     {
258       'FILES': [
259         "all_interfaces.h",
260         "define_empty_macros.h",
261         "undef_macros.h",
262       ],
263       'DEST': 'include/nacl_io/pepper',
264     }
265   ],
266   'DEST': 'src',
267   'NAME': 'nacl_io',
268 }