Organize bundled Rust resources under asset directories (#41477)

## Why

The `core` and `tui` Bazel targets treated nearly their entire crate trees as
compile-time data, mixing embedded runtime resources with source files and test
fixtures.

## What changed

- Move embedded resources for `core` and `tui` into dedicated `assets/`
  directories and update their `include_str!` paths.
- Restrict Bazel compile data to explicit asset and frame directories.
- Move test-only prompts into `tests/fixtures`, resolve the core prompt through
  `find_resource!`, and reuse the integration-test file glob when assembling
  Bazel test data.

GitOrigin-RevId: eee9b0e41df77ea2604215a7f7333a6fe8317bfa
This commit is contained in:
Tamir Duberstein authored and copyberry committed 2026-08-29 06:05:28 +00:00
1 parent 9a0d7a7cd0
commit 6478a751fd
29 files changed
+36 -44

No files matched your search

+1 -1
View File
@@ -20,7 +20,7 @@ const OTHER_TOOLTIP_NON_MAC: &str = "*New* Build faster with Codex.";
const FREE_GO_TOOLTIP: &str =
"*New* For a limited time, Codex is included in your plan for free – let’s build together.";
const RAW_TOOLTIPS: &str = include_str!("../tooltips.txt");
const RAW_TOOLTIPS: &str = include_str!("../assets/tooltips.txt");
lazy_static! {
static ref TOOLTIPS: Vec<&'static str> = RAW_TOOLTIPS