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

Side by Side 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, 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 | Annotate | Revision Log
OLDNEW
1 # -*- python -*- 1 # -*- python -*-
2 # Copyright (c) 2012 The Native Client Authors. All rights reserved. 2 # Copyright (c) 2012 The Native Client Authors. All rights reserved.
3 # Use of this source code is governed by a BSD-style license that can be 3 # Use of this source code is governed by a BSD-style license that can be
4 # found in the LICENSE file. 4 # found in the LICENSE file.
5 5
6 Import('env') 6 Import('env')
7 7
8 sources = ['access.c', 8 # The libnosys is kept for the backward compatibility and is to be removed
9 'chmod.c', 9 # eventually once all the clients get updated. Although it is technically
10 'chown.c', 10 # an empty library, we need to build it with some dummy content as PNaCl
11 'endpwent.c', 11 # 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
12 'environ.c', 12 # dummy content once the scripts are updated to remove this restriction.
13 'execle.c',
14 'execvp.c',
15 'execl.c',
16 'execv.c',
17 'execlp.c',
18 'execve.c',
19 '_execve.c',
20 'fcntl.c',
21 'fchdir.c',
22 'fchmod.c',
23 'fchown.c',
24 'fdatasync.c',
25 'fork.c',
26 'fsync.c',
27 'ftruncate.c',
28 'get_current_dir_name.c',
29 'getegid.c',
30 'geteuid.c',
31 'getgid.c',
32 'getlogin.c',
33 'getrusage.c',
34 'getppid.c',
35 'getpwent.c',
36 'getpwnam.c',
37 'getpwnam_r.c',
38 'getpwuid.c',
39 'getpwuid_r.c',
40 'getuid.c',
41 'getwd.c',
42 'ioctl.c',
43 'isatty.c',
44 'issetugid.c',
45 'kill.c',
46 'lchown.c',
47 'link.c',
48 'llseek.c',
49 'lstat.c',
50 'pclose.c',
51 'pipe.c',
52 'popen.c',
53 'pselect.c',
54 'raise.c',
55 'readlink.c',
56 'remove.c',
57 'rename.c',
58 'select.c',
59 'setegid.c',
60 'seteuid.c',
61 'setgid.c',
62 'setpwent.c',
63 'settimeofday.c',
64 'setuid.c',
65 'signal.c',
66 'sigprocmask.c',
67 'symlink.c',
68 'system.c',
69 'times.c',
70 'tmpfile.c',
71 'truncate.c',
72 'ttyname.c',
73 'ttyname_r.c',
74 'umask.c',
75 'utime.c',
76 'utimes.c',
77 'vfork.c',
78 'wait.c',
79 'waitpid.c',
80 ]
81 13
82 libnosys = env.ComponentLibrary('libnosys', sources) 14 libnosys = env.ComponentLibrary('libnosys', ['_dummy.c'])
83 env.AddLibraryToSdk(libnosys) 15 env.AddLibraryToSdk(libnosys)
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698