diff infinite_canvas/BUILD @ 281:c57149ad216e default tip

Copilot-Session: f68442b1-fa8f-46a0-9689-81710613bbd4
author MrJuneJune <me@mrjunejune.com>
date Tue, 18 Aug 2026 22:18:15 -0700
parents 49e9e591c9bb
children
line wrap: on
line diff
--- a/infinite_canvas/BUILD	Tue Aug 18 19:14:53 2026 -0700
+++ b/infinite_canvas/BUILD	Tue Aug 18 22:18:15 2026 -0700
@@ -41,12 +41,24 @@
   hdrs = ["dev_ui.h"],
   deps = [
     ":canvas",
+    ":scene_store",
     ":theme",
     "//third_party/raylib:raygui",
   ],
 )
 
 cc_library(
+  name = "scene_store",
+  srcs = ["scene_store.c"],
+  hdrs = ["scene_store.h"],
+  deps = [
+    ":canvas",
+    "//dowa:dowa",
+    "//third_party/raylib:raylib",
+  ],
+)
+
+cc_library(
   name = "web_surface",
   srcs = select({
     "//config:linux": ["web_surface_native.cc"],
@@ -98,6 +110,16 @@
   }),
 )
 
+cc_library(
+  name = "agent_response",
+  srcs = ["agent_response.c"],
+  hdrs = ["agent_response.h"],
+  deps = [
+    ":canvas",
+    "//dowa:dowa",
+  ],
+)
+
 filegroup(
   name = "inter_font",
   srcs = ["assets/Inter-Variable.ttf"],
@@ -147,8 +169,10 @@
     "//conditions:default": [],
   }),
   deps = [
+    ":agent_response",
     ":agent_service",
     ":canvas",
+    ":scene_store",
     ":web_surface",
     "//dowa:dowa",
     "//third_party/raylib:raylib",
@@ -177,9 +201,11 @@
   }),
   defines = ["INFINITE_CANVAS_DEV_UI"],
   deps = [
+    ":agent_response",
     ":agent_service",
     ":canvas",
     ":dev_ui",
+    ":scene_store",
     ":theme",
     ":web_surface",
     "//dowa:dowa",
@@ -258,9 +284,11 @@
   ],
   defines = ["INFINITE_CANVAS_DEV_UI"],
   deps = [
+    ":agent_response",
     ":agent_service",
     ":canvas",
     ":dev_ui",
+    ":scene_store",
     ":web_surface",
     "//dowa:dowa",
     "//third_party/raylib:raylib",
@@ -297,6 +325,12 @@
 )
 
 cc_test(
+  name = "scene_store_test",
+  srcs = ["scene_store_test.c"],
+  deps = [":scene_store"],
+)
+
+cc_test(
   name = "agent_service_test",
   srcs = ["agent_service_test.c"],
   args = [
@@ -316,6 +350,12 @@
   }),
 )
 
+cc_test(
+  name = "agent_response_test",
+  srcs = ["agent_response_test.c"],
+  deps = [":agent_response"],
+)
+
 sh_test(
   name = "dictation_policy_test",
   srcs = ["dictation_policy_test.sh"],