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

Side by Side Diff: make_sysd_rules.py

Issue 9969049: added several system call hooks for future sockets implementation (Closed) Base URL: http://git.chromium.org/native_client/nacl-glibc.git@master
Patch Set: fixed warnings Created 8 years, 8 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 | « elf/Versions ('k') | sysdeps/nacl/irt_syscalls.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 # Generates the makefile "sysd-rules" given a list of sysdeps 2 # Generates the makefile "sysd-rules" given a list of sysdeps
3 # subdirectories (the sysdirs search path). For every basename that 3 # subdirectories (the sysdirs search path). For every basename that
4 # appears in the search path, e.g. "vfork", it picks the source file 4 # appears in the search path, e.g. "vfork", it picks the source file
5 # that appears first, e.g. "sysdeps/unix/sysv/linux/i386/vfork.S". 5 # that appears first, e.g. "sysdeps/unix/sysv/linux/i386/vfork.S".
6 6
7 # TODO(mseaborn): Handle check-inhibit-asm 7 # TODO(mseaborn): Handle check-inhibit-asm
8 # TODO(mseaborn): Handle rule for installing .h files 8 # TODO(mseaborn): Handle rule for installing .h files
9 9
10 import os 10 import os
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 "posix/alarm.c", 84 "posix/alarm.c",
85 "posix/getpid.c", 85 "posix/getpid.c",
86 "posix/glob.c", 86 "posix/glob.c",
87 "posix/pread.c", 87 "posix/pread.c",
88 "posix/pwrite.c", 88 "posix/pwrite.c",
89 "posix/vfork.c", 89 "posix/vfork.c",
90 "posix/wait.c", 90 "posix/wait.c",
91 "posix/waitid.c", 91 "posix/waitid.c",
92 "posix/waitpid.c", 92 "posix/waitpid.c",
93 "signal/sigaction.c", 93 "signal/sigaction.c",
94 "socket/accept.c",
95 "socket/bind.c",
96 "socket/connect.c",
97 "socket/getpeername.c",
98 "socket/getsockname.c",
99 "socket/getsockopt.c",
100 "socket/listen.c",
101 "socket/recv.c",
102 "socket/recvfrom.c",
103 "socket/recvmsg.c",
104 "socket/send.c",
105 "socket/sendmsg.c",
106 "socket/sendto.c",
107 "socket/setsockopt.c",
108 "socket/shutdown.c",
109 "socket/socket.c",
110 "socket/socketpair.c",
111 "stdio-common/tmpfile.c", 94 "stdio-common/tmpfile.c",
112 "stdlib/add_n.c", 95 "stdlib/add_n.c",
113 "stdlib/addmul_1.c", 96 "stdlib/addmul_1.c",
114 "stdlib/getcontext.c", 97 "stdlib/getcontext.c",
115 "stdlib/lshift.c", 98 "stdlib/lshift.c",
116 "stdlib/makecontext.c", 99 "stdlib/makecontext.c",
117 "stdlib/mul_1.c", 100 "stdlib/mul_1.c",
118 "stdlib/rshift.c", 101 "stdlib/rshift.c",
119 "stdlib/setcontext.c", 102 "stdlib/setcontext.c",
120 "stdlib/sub_n.c", 103 "stdlib/sub_n.c",
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after
271 254
272 def main(args): 255 def main(args):
273 generator = RuleGenerator(args) 256 generator = RuleGenerator(args)
274 generator.scan_sysdirs() 257 generator.scan_sysdirs()
275 generator.put_override_warnings(sys.stdout) 258 generator.put_override_warnings(sys.stdout)
276 generator.put_rules(sys.stdout) 259 generator.put_rules(sys.stdout)
277 260
278 261
279 if __name__ == "__main__": 262 if __name__ == "__main__":
280 main(sys.argv[1:]) 263 main(sys.argv[1:])
OLDNEW
« no previous file with comments | « elf/Versions ('k') | sysdeps/nacl/irt_syscalls.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698