Wire realtime WebRTC native media into Bazel (#17145)

- Builds codex-realtime-webrtc through the normal Bazel Rust macro so
native macOS WebRTC sources are included.\n- Shares the macOS -ObjC link
flag with Bazel targets that can link libwebrtc.

---------

Co-authored-by: Codex <noreply@openai.com>
This commit is contained in:
Ahmed Ibrahim
2026-04-08 15:15:55 -07:00
committed by GitHub
Unverified
parent 56dfe41605
commit 19bd018300
9 changed files with 137 additions and 18 deletions
+2 -1
View File
@@ -1,8 +1,9 @@
load("//:defs.bzl", "codex_rust_crate", "multiplatform_binaries")
load("//:defs.bzl", "MACOS_WEBRTC_RUSTC_LINK_FLAGS", "codex_rust_crate", "multiplatform_binaries")
codex_rust_crate(
name = "cli",
crate_name = "codex_cli",
rustc_flags_extra = MACOS_WEBRTC_RUSTC_LINK_FLAGS,
)
multiplatform_binaries(