mirror of
https://github.com/openai/codex.git
synced 2026-04-26 07:35:29 +00:00
- 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>
28 lines
809 B
Python
28 lines
809 B
Python
load("//:defs.bzl", "MACOS_WEBRTC_RUSTC_LINK_FLAGS", "codex_rust_crate")
|
|
|
|
codex_rust_crate(
|
|
name = "tui",
|
|
crate_name = "codex_tui",
|
|
compile_data = glob(
|
|
include = ["**"],
|
|
exclude = [
|
|
"**/* *",
|
|
"BUILD.bazel",
|
|
"Cargo.toml",
|
|
],
|
|
allow_empty = True,
|
|
) + [
|
|
"//codex-rs/collaboration-mode-templates:templates/default.md",
|
|
"//codex-rs/collaboration-mode-templates:templates/plan.md",
|
|
],
|
|
test_data_extra = glob([
|
|
"src/**/*.rs",
|
|
"src/**/snapshots/**",
|
|
]) + ["//codex-rs/core:model_availability_nux_fixtures"],
|
|
integration_compile_data_extra = ["src/test_backend.rs"],
|
|
extra_binaries = [
|
|
"//codex-rs/cli:codex",
|
|
],
|
|
rustc_flags_extra = MACOS_WEBRTC_RUSTC_LINK_FLAGS,
|
|
)
|