diff seobeo/BUILD @ 119:c39582f937e5

[Seobeo Client] Added client side logic which will be used for all my other calls instead of curl.
author June Park <parkjune1995@gmail.com>
date Wed, 07 Jan 2026 16:05:57 -0800
parents 70401cf61e97
children cbbf78b17cfa
line wrap: on
line diff
--- a/seobeo/BUILD	Wed Jan 07 13:24:38 2026 -0800
+++ b/seobeo/BUILD	Wed Jan 07 16:05:57 2026 -0800
@@ -13,7 +13,6 @@
   visibility = ["//visibility:public"],
 )
 
-# Server-only target (no SSL, no OpenSSL dependency) - Production
 alias(
   name = "seobeo_server",
   actual = select({
@@ -24,7 +23,6 @@
   visibility = ["//visibility:public"],
 )
 
-# Server-only target (no SSL, no OpenSSL dependency) - Development with Debug Logs
 alias(
   name = "seobeo_server_dev",
   actual = select({
@@ -38,7 +36,7 @@
 cc_library(
   name = "seobeo_server_macos",
   srcs = [
-    "s_linux_network.c",
+    "s__network.c",
     "s_web.c",
     "s_ssl.c",
     "os/s_macos_edge.c",
@@ -57,7 +55,7 @@
 cc_library(
   name = "seobeo_server_macos_dev",
   srcs = [
-    "s_linux_network.c",
+    "s_network.c",
     "s_web.c",
     "s_ssl.c",
     "os/s_macos_edge.c",
@@ -76,7 +74,7 @@
 cc_library(
   name = "seobeo_server_linux",
   srcs = [
-    "s_linux_network.c",
+    "s_network.c",
     "s_web.c",
     "s_ssl.c",
     "os/s_linux_edge.c",
@@ -95,7 +93,7 @@
 cc_library(
   name = "seobeo_server_linux_dev",
   srcs = [
-    "s_linux_network.c",
+    "s_network.c",
     "s_web.c",
     "s_ssl.c",
     "os/s_linux_edge.c",
@@ -125,9 +123,10 @@
 cc_library(
   name = "seobeo_client_macos",
   srcs = [
-    "s_linux_network.c",
+    "s_network.c",
     "s_web.c",
     "s_ssl.c",
+    "s_http_client.c",
     "snapshot_creator.c",
     "os/s_macos_edge.c",
   ],
@@ -145,9 +144,10 @@
 cc_library(
   name = "seobeo_client_linux",
   srcs = [
-    "s_linux_network.c",
+    "s_network.c",
     "s_web.c",
     "s_ssl.c",
+    "s_http_client.c",
     "snapshot_creator.c",
     "os/s_linux_edge.c",
   ],
@@ -178,3 +178,11 @@
   timeout = "short",
 )
 
+# Examples
+cc_test(
+  name = "seobeo_client_test",
+  srcs = ["tests/seobeo_client_test.c"],
+  deps = [":seobeo_client"],
+  visibility = ["//visibility:public"],
+)
+