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

27
build/third_party/PY_BRIDGE.gni vendored Normal file
View File

@@ -0,0 +1,27 @@
import("//build/userland/USERLAND_FLAGS.gni")
import("//toolchains/COMPILERS.gni")
if (uland_ld_flags == []) {
port_ld_flags = [ "__EMPTY__" ]
} else {
port_ld_flags = uland_ld_flags
}
py_bridging_args = [
# outpath here is inserted
rebase_path("//", root_build_dir), # rootdir
"$target_arch", # target cpu
"$host", # host compiler
string_join(" ",
[
toolchain_ar,
toolchain_cc,
toolchain_cxx,
toolchain_ld,
toolchain_asm,
toolchain_target,
]), # compiler_toolchain
string_join(" ", uland_c_flags), # c_flags
string_join(" ", uland_cc_flags), # cc_flags
string_join(" ", port_ld_flags), # ld_flags
]