Files

502 lines
14 KiB
TOML

[dependencies]
version = "20261106"
bootstrap_version = "20250801"
[ninja]
scope = "toolchain"
name = "Ninja"
version = "113664f80d1a16c30284da8ff0106a121134670f"
url = "https://github.com/frida-forks/ninja.git"
[pkg-config]
scope = "toolchain"
name = "pkg-config"
version = "4696795673d1d3dec46b663df48f8cbf66461d14"
url = "https://github.com/frida-forks/pkg-config.git"
dependencies = [
"glib",
]
[vala]
scope = "toolchain"
name = "Vala"
version = "fb982b3ccfb57bd9b6a833fc1653fbc6b0cd7b53"
url = "https://github.com/frida-forks/vala.git"
dependencies = [
"glib",
]
[picolibc]
# The C library for the bare-metal targets. They are all soft-float, and newlib has
# no soft-float build for arm64, where the flavor is -mabi=aapcs-soft throughout.
when = "machine.is_freestanding"
name = "picolibc"
version = "c0a11fff9b4ffbb8c0c60226c2fee31526e01b8b"
url = "https://github.com/frida-forks/picolibc.git"
options = [
"-Dmultilib=false",
# Nothing here has an entry point: the SDK is linked into a kernel module.
"-Dpicocrt=false",
"-Dsemihost=false",
"-Dspecsdir=none",
"-Dthread-local-storage=false",
"-Dio-pos-args=true",
]
[compiler-rt]
# The compiler runtime to go with it. Under -mabi=aapcs-soft a double is passed in
# x0, so __muldf3 and the rest have to be the soft-float ones; the copies Rust's
# toolchain carries expect d0 and quietly return nonsense.
when = "machine.is_freestanding"
name = "compiler-rt"
version = "1599be663aa01b1d7f59492a29a519cb0a2c329a"
url = "https://github.com/frida-forks/compiler-rt.git"
dependencies = [
"picolibc",
]
[libiconv]
# Needed on non-Windows systems where iconv is not part of the libc.
# On Apple OSes we include it in SDKs to avoid dependencies beyond libSystem.
# We use Apple's implementation in toolchains to make them smaller.
when = """ \
(machine.is_apple and bundle is Bundle.SDK) \
or machine.os in {'android', 'qnx', 'none'} \
or machine.config == 'uclibc' \
"""
name = "libiconv"
version = "2d7dbd28979f0f1ec200d0f23c0c0e403015b160"
url = "https://github.com/frida-forks/libiconv.git"
dependencies = [
{ id = "picolibc", when = "machine.is_freestanding" },
{ id = "compiler-rt", when = "machine.is_freestanding" },
]
[zlib]
name = "zlib"
version = "b910f805561e24a7a25521de438c82942cd7885b"
url = "https://github.com/frida-forks/zlib.git"
dependencies = [
{ id = "picolibc", when = "machine.is_freestanding" },
{ id = "compiler-rt", when = "machine.is_freestanding" },
]
[libffi]
name = "libffi"
version = "5cca756802a5d27988e7f9973e1299f684cfeff7"
url = "https://github.com/frida-forks/libffi.git"
options = [
"-Dexe_static_tramp=false",
"-Dtests=false",
]
dependencies = [
{ id = "picolibc", when = "machine.is_freestanding" },
{ id = "compiler-rt", when = "machine.is_freestanding" },
]
[pcre2]
name = "PCRE2"
version = "683059230e4894342bb19f2776f0e50c757fde17"
url = "https://github.com/frida-forks/pcre2.git"
options = [
"-Dgrep=false",
"-Dtest=false",
]
dependencies = [
{ id = "picolibc", when = "machine.is_freestanding" },
{ id = "compiler-rt", when = "machine.is_freestanding" },
]
[selinux]
when = "machine.os == 'android' and not machine.is_freestanding"
name = "SELinux Userspace"
version = "507985d931eb1f0227218d5d845634e602426c20"
url = "https://github.com/frida-forks/selinux.git"
options = [
"-Dregex=disabled",
]
[glib]
name = "GLib"
version = "f11db6352345ad21deb5f5783bb988bfca2a3d85"
url = "https://github.com/frida-forks/glib.git"
options = [
"-Dcocoa=disabled",
"-Dselinux=disabled",
"-Dxattr=false",
"-Dlibmount=disabled",
"-Dsysprof=disabled",
"-Dtests=false",
"--force-fallback-for=pcre",
{ value = "-Ddiet=true", when = "machine.is_freestanding" },
{ value = "-Diconv=external", when = """ \
machine.is_apple \
or machine.os in {'android', 'qnx', 'none'} \
or machine.config == 'uclibc' \
""" },
{ value = "-Dglib_debug=disabled", when = "machine.config_is_optimized" },
{ value = "-Dglib_assert=false", when = "machine.config_is_optimized" },
{ value = "-Dglib_checks=false", when = "machine.config_is_optimized" },
]
dependencies = [
"pcre2",
"libffi",
"zlib",
{ id = "libiconv", when = """ \
(machine.is_apple and bundle is Bundle.SDK) \
or machine.os in {'android', 'qnx', 'none'} \
or machine.config == 'uclibc' \
""" }
]
[elfutils]
when = "machine.os in {'linux', 'android'} and not machine.is_freestanding"
name = "elfutils"
version = "7436d958b04c34b3ee3baee240a54284ee099630"
url = "https://github.com/frida-forks/elfutils.git"
dependencies = [
"zlib",
]
[libdwarf]
when = "machine.os in {'linux', 'android', 'freebsd', 'qnx'} and not machine.is_freestanding"
name = "libdwarf"
version = "9ac8cc22cab54d72cb355a44e85db716a7006f47"
url = "https://github.com/frida-forks/libdwarf.git"
options = [
"-Ddecompression=false",
]
[libbpf]
when = "machine.os in {'linux', 'android'} and not machine.is_freestanding"
name = "libbpf"
version = "9c4e176810717e27b6990a8722b252fc1967667f"
url = "https://github.com/frida-forks/libbpf.git"
dependencies = [
"elfutils",
"zlib",
]
[xz]
when = "not machine.is_freestanding"
name = "XZ Utils"
version = "68289232393af1ff1756bcf05164cedfd792df59"
url = "https://github.com/frida-forks/xz.git"
options = [
"-Dcli=disabled",
]
[brotli]
when = "not machine.is_freestanding"
name = "Brotli"
version = "dd581fd4fea06096e3949ad6cb16775538d0ef47"
url = "https://github.com/frida-forks/brotli.git"
[lzfse]
name = "LZFSE"
version = "5cfb7c86919d3c2c636d0d7552b51855a611ba1c"
url = "https://github.com/frida-forks/lzfse.git"
dependencies = [
{ id = "picolibc", when = "machine.is_freestanding" },
{ id = "compiler-rt", when = "machine.is_freestanding" },
]
[minizip-ng]
when = "not machine.is_freestanding"
name = "minizip-ng"
version = "6475b3c6f810f00d62bb5ed7ef90d4a985447909"
url = "https://github.com/frida-forks/minizip-ng.git"
options = [
"-Dzlib=enabled",
"-Dlzma=disabled",
]
dependencies = [
"zlib",
{ id = "libiconv", when = """ \
machine.is_apple \
or machine.os in {'android', 'qnx'} \
or machine.config == 'uclibc' \
""" },
]
[sqlite]
when = "not machine.is_freestanding"
name = "SQLite"
version = "2cfd2ffbef3fc25a11542f876a0ff8ecb2d50914"
url = "https://github.com/frida-forks/sqlite.git"
[libunwind]
when = "machine.os in {'linux', 'android', 'freebsd', 'qnx'} and not machine.is_freestanding"
name = "libunwind"
version = "733d7d1c73f3512d2a50add2337157fa385a7e6e"
url = "https://github.com/frida-forks/libunwind.git"
options = [
"-Dcoredump=disabled",
"-Dptrace=disabled",
"-Dnto=disabled",
"-Dsetjmp=disabled",
"-Ddocumentation=disabled",
"-Dmsabi_support=false",
"-Dminidebuginfo=enabled",
"-Dzlibdebuginfo=enabled",
"-Dtests=disabled",
]
dependencies = [
"zlib",
"xz",
]
[glib-networking]
when = "not machine.is_freestanding"
name = "glib-networking"
version = "c8d811a906659f59eabc9f4dc3ad2ba22772bf0f"
url = "https://github.com/frida-forks/glib-networking.git"
options = [
"-Dgnutls=disabled",
"-Dopenssl=enabled",
"-Dlibproxy=disabled",
"-Dgnome_proxy=disabled",
"-Dtests=false",
]
dependencies = [
"glib",
"openssl",
]
[libnice]
when = "not machine.is_freestanding"
name = "libnice"
version = "91e2d02edb2999786d7ac854f99bdfd7832df64f"
url = "https://github.com/frida-forks/libnice.git"
options = [
"-Dgupnp=disabled",
"-Dgstreamer=disabled",
"-Dcrypto-library=auto",
"-Dexamples=disabled",
"-Dtests=disabled",
"-Dintrospection=disabled",
]
dependencies = [
"glib",
"openssl",
]
[libusb]
when = "machine.os in {'windows', 'macos', 'linux'} and not machine.is_freestanding"
name = "libusb"
version = "23d5a2cdc55aa4f0895960d08528e5aa13e7f7e2"
url = "https://github.com/frida-forks/libusb.git"
options = [
"-Dexamples=disabled",
"-Dtests=disabled",
]
[lwip]
when = "not machine.is_freestanding"
name = "lwIP"
version = "6ab74462bd4a5afb13394942ab031d7bee005b4c"
url = "https://github.com/frida-forks/lwip.git"
options = [
"-Dipv4=disabled",
"-Dipv6=enabled",
"-Ddns=disabled",
"-Darp=disabled",
"-Dethernet=enabled",
{ value = "-Dlwip_debug=disabled", when = "machine.config_is_optimized" },
]
dependencies = [
"glib",
]
[usrsctp]
when = "not machine.is_freestanding"
name = "usrsctp"
version = "bfd359be44adc76c55efacce9a2f71ff0a7f8cd4"
url = "https://github.com/frida-forks/usrsctp.git"
options = [
"-Dsctp_inet=false",
"-Dsctp_inet6=false",
"-Dsctp_build_programs=false",
]
[libgee]
when = "not machine.is_freestanding"
name = "libgee"
version = "69621d2c665b75c1e064abdecd540ef1749615ee"
url = "https://github.com/frida-forks/libgee.git"
options = [
"-Ddisable-internal-asserts=true",
"-Ddisable-introspection=true",
]
dependencies = [
"glib",
]
[json-glib]
name = "JSON-GLib"
version = "0242c39f1f60f844c9df41e83434251b06609e82"
url = "https://github.com/frida-forks/json-glib.git"
options = [
"-Dintrospection=disabled",
"-Dgtk_doc=disabled",
"-Dtests=false",
"-Dnls=disabled",
]
dependencies = [
"glib",
]
[libpsl]
when = "not machine.is_freestanding"
name = "libpsl"
version = "5d3e465d00655a23bed31a716c5db318b3a58521"
url = "https://github.com/frida-forks/libpsl.git"
options = [
"-Druntime=no",
"-Dbuiltin=false",
"-Dtests=false",
]
[libxml2]
when = "not machine.is_freestanding"
name = "libxml2"
version = "cc05411555804869bcd28613a37992021b1ca974"
url = "https://github.com/frida-forks/libxml2.git"
options = [
"-Dhttp=disabled",
"-Dzlib=disabled",
]
[ngtcp2]
when = "not machine.is_freestanding and machine.os != 'qnx'"
name = "ngtcp2"
version = "0009518d5ac5e4ce80343fb5f3c719991ffd47af"
url = "https://github.com/frida-forks/ngtcp2.git"
dependencies = [
"openssl",
]
[nghttp2]
when = "not machine.is_freestanding"
name = "nghttp2"
version = "3e516202a0df939d6ab6bab47780fa35c5c4662b"
url = "https://github.com/frida-forks/nghttp2.git"
[libsoup]
when = "not machine.is_freestanding"
name = "libsoup"
version = "2537f36926436ef7ac7e2430c25755216ed54ca5"
url = "https://github.com/frida-forks/libsoup.git"
options = [
"-Dgssapi=disabled",
"-Dntlm=disabled",
"-Dbrotli=disabled",
"-Dzstd=disabled",
"-Dtls_check=false",
"-Dintrospection=disabled",
"-Dvapi=disabled",
"-Ddocs=disabled",
"-Dexamples=disabled",
"-Dtests=false",
"-Dsysprof=disabled",
]
dependencies = [
"glib",
"nghttp2",
"sqlite",
"libpsl",
]
[capstone]
name = "Capstone"
version = "f919a03a5417e1c7ea3af7035225073437030ef2"
url = "https://github.com/frida-forks/capstone.git"
options = [
{ value = "-Darchs=all", when = "not machine.is_freestanding" },
{ value = "-Darchs=arm64", when = "machine.is_freestanding and machine.arch == 'arm64'" },
{ value = "-Darchs=arm", when = "machine.is_freestanding and machine.arch == 'arm'" },
{ value = "-Darchs=x86", when = "machine.is_freestanding and machine.arch in {'x86', 'x86_64'}" },
"-Duse_arch_registration=true",
"-Dx86_att_disable=true",
"-Dcli=disabled",
]
dependencies = [
{ id = "picolibc", when = "machine.is_freestanding" },
{ id = "compiler-rt", when = "machine.is_freestanding" },
]
[quickjs]
name = "QuickJS"
version = "6f3b5b4827d4c81af85627d66fce2ec3c8ab70d0"
url = "https://github.com/frida-forks/quickjs.git"
options = [
"-Dlibc=false",
"-Datomics=disabled",
# Only worth its cost where the host offers the runtime a small stack.
{ value = "-Dstack_check=disabled", when = "not machine.is_freestanding" },
{ value = "-Dstack_check=enabled", when = "machine.os == 'none'" },
{ value = "-Dstack_mode=optimize", when = "machine.os == 'none'" },
]
dependencies = [
{ id = "picolibc", when = "machine.is_freestanding" },
{ id = "compiler-rt", when = "machine.is_freestanding" },
]
[tinycc]
when = """ \
machine.arch in { \
'x86', 'x86_64', \
'arm', 'armbe8', 'armeabi', 'armhf', \
'arm64', 'arm64e', 'arm64eoabi' \
} \
"""
name = "TinyCC"
version = "c0b84021e3e5c8359a469b1af2bf4abd83a7a26a"
url = "https://github.com/frida-forks/tinycc.git"
dependencies = [
{ id = "picolibc", when = "machine.is_freestanding" },
{ id = "compiler-rt", when = "machine.is_freestanding" },
]
[openssl]
when = "not machine.is_freestanding"
name = "OpenSSL"
version = "a94348d1cd4fb009e7c590fe4e193c2ea89f5ab8"
url = "https://github.com/frida-forks/openssl.git"
options = [
"-Dcli=disabled",
{ value = "-Dasm=disabled", when = "machine.config == 'mingw'" }
]
[v8]
when = """ \
machine.config != 'mingw' \
and machine.arch not in {'arm64be', 'arm64beilp32', 'armbe8'} \
and not machine.arch.startswith('mips') \
and not machine.arch.startswith('powerpc') \
and machine.os not in {'none', 'qnx'} \
and machine.config != 'prospero' \
and not machine.is_freestanding \
"""
name = "V8"
version = "f6d7f6610f2f21e2817ed180b72ea750a3f63ce8"
url = "https://github.com/frida-forks/v8.git"
options = [
"-Ddebug=false",
"-Dembedder_string=-frida",
"-Dsnapshot_compression=disabled",
"-Dpointer_compression=disabled",
"-Dcppgc_caged_heap=disabled",
]
job_memory = 4
dependencies = [
"zlib",
{ id = "zlib", for_machine = "build" },
]
[libcxx]
when = "machine.is_apple and not machine.is_freestanding"
name = "libc++"
version = "9301ff05c054596196491a388498c06a71e2a0cd"
url = "https://github.com/frida-forks/libcxx.git"