load("//:defs.bzl", "MACOS_WEBRTC_RUSTC_LINK_FLAGS", "codex_rust_crate") codex_rust_crate( name = "tui", binaries_with_build_commit = ["codex-tui"], compile_data = glob([ "assets/**", "frames/**", ]), crate_name = "codex_tui", extra_binaries = [ "//codex-rs/cli:codex", ], integration_compile_data_extra = ["src/test_backend.rs"], rustc_flags_extra = MACOS_WEBRTC_RUSTC_LINK_FLAGS, test_data_extra = glob([ "src/**/*.rs", "src/**/snapshots/**", "tests/fixtures/**", ]), test_shard_counts = { "tui-unit-tests": 8, }, # The startup symlink test applies its own Seatbelt policy, which cannot be nested. test_tags = ["no-sandbox"], )