Files
codex/codex-rs/app-server-protocol/BUILD.bazel
Charlie Marsh b21f2e3081 Add a cacheable Bazel app-server schema bundle (#42174)
## What changed

- Add a `schema_bundle` rule that generates stable and experimental app-server
  schema directories as declared Bazel actions.
- Include the pinned `zstd` executable in the bundle so consumers can normalize
  generated JSON without a separate `bazel run` invocation.
- Expose the app-server protocol test binary as the schema generator and add the
  manual `//bazel/schema:public-schema-bundle` target.

GitOrigin-RevId: 0a7ce47258d297dbf20db78626f2843145ee1b49
2026-09-02 02:00:18 +00:00

20 lines
461 B
Python

load("//:defs.bzl", "codex_rust_crate")
codex_rust_crate(
name = "app-server-protocol",
compile_data = glob(["schema/precomputed/**"]),
crate_name = "codex_app_server_protocol",
test_data_extra = glob(
["schema/**"],
allow_empty = True,
),
)
alias(
name = "schema-generator",
testonly = True,
actual = ":app-server-protocol-unit-tests-bin",
tags = ["manual"],
visibility = ["//bazel/schema:__pkg__"],
)