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

Unified Diff: src/untrusted/nacl/nacl.scons

Issue 22923022: Make libnosys function stubs part of libnacl (Closed) Base URL: svn://svn.chromium.org/native_client/trunk/src/native_client
Patch Set: Code review feedback Created 7 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 | « src/untrusted/nacl/nacl.gyp ('k') | src/untrusted/nacl/stubs/_execve.c » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/untrusted/nacl/nacl.scons
diff --git a/src/untrusted/nacl/nacl.scons b/src/untrusted/nacl/nacl.scons
index 5bf698dc10ff492aa4a369f921cef4a8e19bd548..97116f3f491a8ec0a8cd7eb664978b34497ebfa6 100644
--- a/src/untrusted/nacl/nacl.scons
+++ b/src/untrusted/nacl/nacl.scons
@@ -57,6 +57,81 @@ SRCS_NEWLIB_SYSCALL = [
'write.c',
]
+SRCS_NEWLIB_STUBS = [
+ 'stubs/access.c',
+ 'stubs/chmod.c',
+ 'stubs/chown.c',
+ 'stubs/endpwent.c',
+ 'stubs/environ.c',
+ 'stubs/execle.c',
+ 'stubs/execvp.c',
+ 'stubs/execl.c',
+ 'stubs/execv.c',
+ 'stubs/execlp.c',
+ 'stubs/execve.c',
+ 'stubs/_execve.c',
+ 'stubs/fcntl.c',
+ 'stubs/fchdir.c',
+ 'stubs/fchmod.c',
+ 'stubs/fchown.c',
+ 'stubs/fdatasync.c',
+ 'stubs/fork.c',
+ 'stubs/fsync.c',
+ 'stubs/ftruncate.c',
+ 'stubs/get_current_dir_name.c',
+ 'stubs/getegid.c',
+ 'stubs/geteuid.c',
+ 'stubs/getgid.c',
+ 'stubs/getlogin.c',
+ 'stubs/getrusage.c',
+ 'stubs/getppid.c',
+ 'stubs/getpwent.c',
+ 'stubs/getpwnam.c',
+ 'stubs/getpwnam_r.c',
+ 'stubs/getpwuid.c',
+ 'stubs/getpwuid_r.c',
+ 'stubs/getuid.c',
+ 'stubs/getwd.c',
+ 'stubs/ioctl.c',
+ 'stubs/isatty.c',
+ 'stubs/issetugid.c',
+ 'stubs/kill.c',
+ 'stubs/lchown.c',
+ 'stubs/link.c',
+ 'stubs/llseek.c',
+ 'stubs/lstat.c',
+ 'stubs/pclose.c',
+ 'stubs/pipe.c',
+ 'stubs/popen.c',
+ 'stubs/pselect.c',
+ 'stubs/raise.c',
+ 'stubs/readlink.c',
+ 'stubs/remove.c',
+ 'stubs/rename.c',
+ 'stubs/select.c',
+ 'stubs/setegid.c',
+ 'stubs/seteuid.c',
+ 'stubs/setgid.c',
+ 'stubs/setpwent.c',
+ 'stubs/settimeofday.c',
+ 'stubs/setuid.c',
+ 'stubs/signal.c',
+ 'stubs/sigprocmask.c',
+ 'stubs/symlink.c',
+ 'stubs/system.c',
+ 'stubs/times.c',
+ 'stubs/tmpfile.c',
+ 'stubs/truncate.c',
+ 'stubs/ttyname.c',
+ 'stubs/ttyname_r.c',
+ 'stubs/umask.c',
+ 'stubs/utime.c',
+ 'stubs/utimes.c',
+ 'stubs/vfork.c',
+ 'stubs/wait.c',
+ 'stubs/waitpid.c',
+]
+
SRCS_NEWLIB_MISC = [
'malloc.c', # malloc wrapper
'stacktrace.c', # stack tracing for use with "-finstrument"
@@ -82,7 +157,10 @@ if env.Bit('nacl_glibc'):
# we do not build them here.
sources = SRCS_NACL_EXTENSIONS
else:
- sources = SRCS_NACL_EXTENSIONS + SRCS_NEWLIB_SYSCALL + SRCS_NEWLIB_MISC
+ sources = (SRCS_NACL_EXTENSIONS +
+ SRCS_NEWLIB_SYSCALL +
+ SRCS_NEWLIB_STUBS +
+ SRCS_NEWLIB_MISC)
if env.Bit('target_arm') and not env.Bit('bitcode'):
sources.append('aeabi_read_tp.S')
« no previous file with comments | « src/untrusted/nacl/nacl.gyp ('k') | src/untrusted/nacl/stubs/_execve.c » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698