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

Unified 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, 4 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: native_client_sdk/src/libraries/nacl_io/BUILD.gn
diff --git a/native_client_sdk/src/libraries/nacl_io/BUILD.gn b/native_client_sdk/src/libraries/nacl_io/BUILD.gn
new file mode 100644
index 0000000000000000000000000000000000000000..0cfe8aeea9dcee4200352a4a37c3d4f2d490e0f2
--- /dev/null
+++ b/native_client_sdk/src/libraries/nacl_io/BUILD.gn
@@ -0,0 +1,155 @@
+# Copyright 2015 The Chromium Authors. All rights reserved.
+# Use of this source code is governed by a BSD-style license that can be
+# found in the LICENSE file.
+
+assert(is_nacl,
+ "These targets must only be built using the untrusted NaCl toolchains.")
+
+config("nacl_io_config") {
+ cflags = [ "-Wno-sign-compare" ]
+}
+
+config("nacl_io_include_dirs") {
+ include_dirs = [
+ "..",
+ "include",
+ "../third_party/newlib-extras",
+ ]
+}
+
+source_set("nacl_io") {
+ sources = [
+ "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
+ "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/symlink.c",
+ "syscalls/termios/cfgetispeed.c",
+ "syscalls/termios/cfgetospeed.c",
+ "syscalls/termios/cfsetispeed.c",
+ "syscalls/termios/cfsetospeed.c",
+ "syscalls/termios/cfsetspeed.c",
+ "syscalls/termios/tcdrain.c",
+ "syscalls/termios/tcflow.c",
+ "syscalls/termios/tcflush.c",
+ "syscalls/termios/tcgetattr.c",
+ "syscalls/termios/tcsendbreak.c",
+ "syscalls/termios/tcsetattr.c",
+ "syscalls/truncate.c",
+ "syscalls/umask.c",
+ "syscalls/umount.c",
+ "syscalls/uname.c",
+ "syscalls/utime.c",
+ ]
+
+ include_dirs = [ ".." ]
+ configs += [ ":nacl_io_config" ]
+
+ public_configs = [ ":nacl_io_include_dirs" ]
+}
« 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