Chromium Code Reviews| OLD | NEW |
|---|---|
| 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 141 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 152 "sysdeps/ieee754/flt-32/e_atanhf.c", | 152 "sysdeps/ieee754/flt-32/e_atanhf.c", |
| 153 "sysdeps/ieee754/flt-32/s_asinhf.c", | 153 "sysdeps/ieee754/flt-32/s_asinhf.c", |
| 154 "sysdeps/ieee754/flt-32/s_copysignf.c", | 154 "sysdeps/ieee754/flt-32/s_copysignf.c", |
| 155 "sysdeps/ieee754/flt-32/s_llrintf.c", | 155 "sysdeps/ieee754/flt-32/s_llrintf.c", |
| 156 "sysdeps/ieee754/flt-32/s_lrintf.c", | 156 "sysdeps/ieee754/flt-32/s_lrintf.c", |
| 157 "sysdeps/ieee754/ldbl-96/e_atanhl.c", | 157 "sysdeps/ieee754/ldbl-96/e_atanhl.c", |
| 158 "sysdeps/ieee754/ldbl-96/s_asinhl.c", | 158 "sysdeps/ieee754/ldbl-96/s_asinhl.c", |
| 159 "sysdeps/ieee754/ldbl-96/s_logbl.c", | 159 "sysdeps/ieee754/ldbl-96/s_logbl.c", |
| 160 "sysdeps/ieee754/ldbl-96/s_rintl.c", | 160 "sysdeps/ieee754/ldbl-96/s_rintl.c", |
| 161 "sysdeps/nacl/umount.c", | 161 "sysdeps/nacl/umount.c", |
| 162 "sysdeps/nacl/start.c", | |
|
Mark Seaborn
2011/06/30 18:06:19
Please keep this list sorted (or at least locally
| |
| 162 "sysdeps/posix/libc_fatal.c", | 163 "sysdeps/posix/libc_fatal.c", |
| 163 "sysdeps/posix/posix_fallocate.c", | 164 "sysdeps/posix/posix_fallocate.c", |
| 164 "sysdeps/posix/writev.c", | 165 "sysdeps/posix/writev.c", |
| 165 "sysdeps/unix/readdir_r.c", | 166 "sysdeps/unix/readdir_r.c", |
| 166 "sysdeps/unix/sysv/linux/epoll_pwait.c", | 167 "sysdeps/unix/sysv/linux/epoll_pwait.c", |
| 167 "sysdeps/unix/sysv/linux/fstatvfs.c", | 168 "sysdeps/unix/sysv/linux/fstatvfs.c", |
| 168 "sysdeps/unix/sysv/linux/getdirentries.c", | 169 "sysdeps/unix/sysv/linux/getdirentries.c", |
| 169 "sysdeps/unix/sysv/linux/openat.c", | 170 "sysdeps/unix/sysv/linux/openat.c", |
| 170 "sysdeps/unix/sysv/linux/sched_getcpu.c", | 171 "sysdeps/unix/sysv/linux/sched_getcpu.c", |
| 171 "sysdeps/unix/sysv/linux/statvfs.c", | 172 "sysdeps/unix/sysv/linux/statvfs.c", |
| (...skipping 97 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 269 | 270 |
| 270 def main(args): | 271 def main(args): |
| 271 generator = RuleGenerator(args) | 272 generator = RuleGenerator(args) |
| 272 generator.scan_sysdirs() | 273 generator.scan_sysdirs() |
| 273 generator.put_override_warnings(sys.stdout) | 274 generator.put_override_warnings(sys.stdout) |
| 274 generator.put_rules(sys.stdout) | 275 generator.put_rules(sys.stdout) |
| 275 | 276 |
| 276 | 277 |
| 277 if __name__ == "__main__": | 278 if __name__ == "__main__": |
| 278 main(sys.argv[1:]) | 279 main(sys.argv[1:]) |
| OLD | NEW |