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

Unified Diff: src/untrusted/nosys/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: Move all stub source files into stubs folder 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
Index: src/untrusted/nosys/nacl.scons
diff --git a/src/untrusted/nosys/nacl.scons b/src/untrusted/nosys/nacl.scons
index a9d7a76e2408d67c1baa16ada48c7836454f6f4a..7e7c2311090450b06ea3bb68359527b6e3f12437 100644
--- a/src/untrusted/nosys/nacl.scons
+++ b/src/untrusted/nosys/nacl.scons
@@ -5,79 +5,11 @@
Import('env')
-sources = ['access.c',
- 'chmod.c',
- 'chown.c',
- 'endpwent.c',
- 'environ.c',
- 'execle.c',
- 'execvp.c',
- 'execl.c',
- 'execv.c',
- 'execlp.c',
- 'execve.c',
- '_execve.c',
- 'fcntl.c',
- 'fchdir.c',
- 'fchmod.c',
- 'fchown.c',
- 'fdatasync.c',
- 'fork.c',
- 'fsync.c',
- 'ftruncate.c',
- 'get_current_dir_name.c',
- 'getegid.c',
- 'geteuid.c',
- 'getgid.c',
- 'getlogin.c',
- 'getrusage.c',
- 'getppid.c',
- 'getpwent.c',
- 'getpwnam.c',
- 'getpwnam_r.c',
- 'getpwuid.c',
- 'getpwuid_r.c',
- 'getuid.c',
- 'getwd.c',
- 'ioctl.c',
- 'isatty.c',
- 'issetugid.c',
- 'kill.c',
- 'lchown.c',
- 'link.c',
- 'llseek.c',
- 'lstat.c',
- 'pclose.c',
- 'pipe.c',
- 'popen.c',
- 'pselect.c',
- 'raise.c',
- 'readlink.c',
- 'remove.c',
- 'rename.c',
- 'select.c',
- 'setegid.c',
- 'seteuid.c',
- 'setgid.c',
- 'setpwent.c',
- 'settimeofday.c',
- 'setuid.c',
- 'signal.c',
- 'sigprocmask.c',
- 'symlink.c',
- 'system.c',
- 'times.c',
- 'tmpfile.c',
- 'truncate.c',
- 'ttyname.c',
- 'ttyname_r.c',
- 'umask.c',
- 'utime.c',
- 'utimes.c',
- 'vfork.c',
- 'wait.c',
- 'waitpid.c',
- ]
+# The libnosys is kept for the backward compatibility and is to be removed
+# eventually once all the clients get updated. Although it is technically
+# an empty library, we need to build it with some dummy content as PNaCl
+# scripts complain when the archive is really empty. We might remove the
Mark Seaborn 2013/08/23 15:45:22 Can you file a bug about this problem with the PNa
Petr Hosek 2013/08/23 21:35:07 I have already updated the PNaCl toolchain so this
+# dummy content once the scripts are updated to remove this restriction.
-libnosys = env.ComponentLibrary('libnosys', sources)
+libnosys = env.ComponentLibrary('libnosys', ['_dummy.c'])
env.AddLibraryToSdk(libnosys)

Powered by Google App Engine
This is Rietveld 408576698