Squash commits for public release

This commit is contained in:
2025-02-12 09:54:05 -05:00
commit 7118adc514
1108 changed files with 80873 additions and 0 deletions

View File

@@ -0,0 +1,47 @@
import("//build/libs/TEMPLATE.gni")
# LibC and LibCxx are built seperatly while LibCxx uses all LibC base.
# This list contains a shared files which will be used to compile both of libs.
libc_sources = [
"ctype/ctype.c",
"dirent/dirent.c",
"init/_lib.c",
"malloc/malloc.c",
"malloc/slab.c",
"posix/fs.c",
"posix/identity.c",
"posix/sched.c",
"posix/signal.c",
"posix/system.c",
"posix/tasking.c",
"posix/time.c",
"pthread/pthread.c",
"ptrace/ptrace.c",
"pwd/pwd.c",
"pwd/shadow.c",
"setjmp/$target_arch/setjmp.S",
"socket/socket.c",
"stdio/printf.c",
"stdio/scanf.c",
"stdio/stdio.c",
"stdlib/env.c",
"stdlib/exit.c",
"stdlib/pts.c",
"stdlib/tools.c",
"string/string.c",
"sysdeps/xos/generic/shared_buffer.c",
"sysdeps/unix/$target_arch/crt0.S",
"sysdeps/unix/generic/ioctl.c",
"termios/termios.c",
"time/strftime.c",
"time/time.c",
]
libc_sources_for_libcxx = []
foreach(i, libc_sources) {
libc_sources_for_libcxx += [ string_join("",
[
"../libc/",
i,
]) ]
}