GFN build: vendored mtu with a versioned Android target for bindgen

cargo-ndk sets bindgen's per-target clang arguments itself, so the environment
workaround never reached the mtu build script. mtu 0.3.0 is vendored with one
build.rs change and patched in for the GFN crate and the OpenNOW workspace.
This commit is contained in:
The412Banner committed 2026-10-26 18:25:14 +00:00
1 parent 57578501e5
commit 510c7e35e6
18 files changed
+2314 -2

No files matched your search

-2
View File
@@ -983,8 +983,6 @@ dependencies = [
[[package]]
name = "mtu"
version = "0.3.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "f6915088ba81d679b0a07ecc674f31d66af5e7edaeb0c34782669be38cdf67b5"
dependencies = [
"bindgen",
"cfg_aliases",
+2
View File
@@ -21,6 +21,8 @@ opennow-streamer-platform = { path = "../../../../../external/opennow/native/ope
opennow-streamer-protocol = { path = "../../../../../external/opennow/native/opennow-streamer/crates/opennow-streamer-protocol" }
[patch.crates-io]
# DroidDeck: mtu 0.3.0 with a versioned Android target for bindgen (vendor/mtu/build.rs).
mtu = { path = "../../../../../external/opennow/native/opennow-streamer/vendor/mtu" }
str0m = { path = "../../../../../external/opennow/native/opennow-streamer/vendor/str0m" }
audiopus_sys = { path = "../../../../../external/opennow/native/opennow-streamer/vendor/audiopus-sys" }