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