Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1504)

Side by Side Diff: native_client_sdk/src/libraries/nacl_io/BUILD.gn

Issue 1307693003: Add BUILD.gn for nacl_io (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 # Copyright 2015 The Chromium Authors. All rights reserved.
2 # Use of this source code is governed by a BSD-style license that can be
3 # found in the LICENSE file.
4
5 assert(is_nacl,
6 "These targets must only be built using the untrusted NaCl toolchains.")
7
8 config("nacl_io_config") {
9 cflags = [ "-Wno-sign-compare" ]
10 }
11
12 config("nacl_io_include_dirs") {
13 include_dirs = [
14 "..",
15 "include",
16 "../third_party/newlib-extras",
17 ]
18 }
19
20 source_set("nacl_io") {
21 sources = [
22 "devfs/dev_fs.cc",
binji 2015/08/27 23:29:40 Is it possible to generate this list from python l
Sergey Ulanov 2015/08/28 00:15:54 It is possible, but discouraged. Problem is that i
23 "devfs/jspipe_event_emitter.cc",
24 "devfs/jspipe_node.cc",
25 "devfs/tty_node.cc",
26 "dir_node.cc",
27 "event_emitter.cc",
28 "event_listener.cc",
29 "fifo_char.cc",
30 "filesystem.cc",
31 "fusefs/fuse_fs.cc",
32 "fusefs/fuse_fs_factory.cc",
33 "getdents_helper.cc",
34 "h_errno.c",
35 "host_resolver.cc",
36 "html5fs/html5_fs.cc",
37 "html5fs/html5_fs_node.cc",
38 "httpfs/http_fs.cc",
39 "httpfs/http_fs_node.cc",
40 "in6_addr.c",
41 "jsfs/js_fs.cc",
42 "jsfs/js_fs_node.cc",
43 "kernel_handle.cc",
44 "kernel_intercept.cc",
45 "kernel_object.cc",
46 "kernel_proxy.cc",
47 "kernel_wrap_bionic.cc",
48 "kernel_wrap_dummy.cc",
49 "kernel_wrap_glibc.cc",
50 "kernel_wrap_irt_ext.c",
51 "kernel_wrap_newlib.cc",
52 "kernel_wrap_win.cc",
53 "log.c",
54 "memfs/mem_fs.cc",
55 "memfs/mem_fs_node.cc",
56 "nacl_io.cc",
57 "node.cc",
58 "passthroughfs/passthrough_fs.cc",
59 "passthroughfs/real_node.cc",
60 "path.cc",
61 "pepper_interface.cc",
62 "pepper_interface_delegate.cc",
63 "pipe/pipe_event_emitter.cc",
64 "pipe/pipe_node.cc",
65 "real_pepper_interface.cc",
66 "socket/fifo_packet.cc",
67 "socket/packet.cc",
68 "socket/socket_node.cc",
69 "socket/tcp_event_emitter.cc",
70 "socket/tcp_node.cc",
71 "socket/udp_event_emitter.cc",
72 "socket/udp_node.cc",
73 "stream/stream_event_emitter.cc",
74 "stream/stream_fs.cc",
75 "stream/stream_node.cc",
76 "syscalls/access.c",
77 "syscalls/chown.c",
78 "syscalls/fchown.c",
79 "syscalls/fcntl.c",
80 "syscalls/ftruncate.c",
81 "syscalls/futimes.c",
82 "syscalls/getwd.c",
83 "syscalls/ioctl.c",
84 "syscalls/isatty.c",
85 "syscalls/kill.c",
86 "syscalls/killpg.c",
87 "syscalls/lchown.c",
88 "syscalls/mount.c",
89 "syscalls/pipe.c",
90 "syscalls/poll.c",
91 "syscalls/realpath.c",
92 "syscalls/select.c",
93 "syscalls/sigaction.c",
94 "syscalls/signal.c",
95 "syscalls/sigpause.c",
96 "syscalls/sigpending.c",
97 "syscalls/sigset.c",
98 "syscalls/sigsuspend.c",
99 "syscalls/socket/accept.c",
100 "syscalls/socket/bind.c",
101 "syscalls/socket/connect.c",
102 "syscalls/socket/freeaddrinfo.c",
103 "syscalls/socket/gai_strerror.c",
104 "syscalls/socket/getaddrinfo.c",
105 "syscalls/socket/gethostbyname.c",
106 "syscalls/socket/getnameinfo.c",
107 "syscalls/socket/getpeername.c",
108 "syscalls/socket/getsockname.c",
109 "syscalls/socket/getsockopt.c",
110 "syscalls/socket/herror.c",
111 "syscalls/socket/hstrerror.c",
112 "syscalls/socket/htonl.c",
113 "syscalls/socket/htons.c",
114 "syscalls/socket/inet_addr.c",
115 "syscalls/socket/inet_aton.c",
116 "syscalls/socket/inet_ntoa.c",
117 "syscalls/socket/inet_ntop.cc",
118 "syscalls/socket/inet_pton.c",
119 "syscalls/socket/listen.c",
120 "syscalls/socket/ntohl.c",
121 "syscalls/socket/ntohs.c",
122 "syscalls/socket/recv.c",
123 "syscalls/socket/recvfrom.c",
124 "syscalls/socket/recvmsg.c",
125 "syscalls/socket/send.c",
126 "syscalls/socket/sendmsg.c",
127 "syscalls/socket/sendto.c",
128 "syscalls/socket/setsockopt.c",
129 "syscalls/socket/shutdown.c",
130 "syscalls/socket/socket.c",
131 "syscalls/socket/socketpair.c",
132 "syscalls/symlink.c",
133 "syscalls/termios/cfgetispeed.c",
134 "syscalls/termios/cfgetospeed.c",
135 "syscalls/termios/cfsetispeed.c",
136 "syscalls/termios/cfsetospeed.c",
137 "syscalls/termios/cfsetspeed.c",
138 "syscalls/termios/tcdrain.c",
139 "syscalls/termios/tcflow.c",
140 "syscalls/termios/tcflush.c",
141 "syscalls/termios/tcgetattr.c",
142 "syscalls/termios/tcsendbreak.c",
143 "syscalls/termios/tcsetattr.c",
144 "syscalls/truncate.c",
145 "syscalls/umask.c",
146 "syscalls/umount.c",
147 "syscalls/uname.c",
148 "syscalls/utime.c",
149 ]
150
151 include_dirs = [ ".." ]
152 configs += [ ":nacl_io_config" ]
153
154 public_configs = [ ":nacl_io_include_dirs" ]
155 }
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698