From dd032ca516d2d630d9d05d0dc4ae4329a535737c Mon Sep 17 00:00:00 2001 From: Abdulla Alwabel Date: Thu, 17 Oct 2024 23:00:21 +0000 Subject: [PATCH] Change the visibility to agent and syslogd. syslogd and agent binary riles are included as a dependencies to a tar rule used to build our system image. Bug: b/344012112 Change-Id: Icdc582e996a35b1741c8264a52ccebfada951466 --- oak_containers/agent/BUILD | 1 + oak_containers/syslogd/BUILD | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/oak_containers/agent/BUILD b/oak_containers/agent/BUILD index 94c2ce0ba9..5b0a8922a3 100644 --- a/oak_containers/agent/BUILD +++ b/oak_containers/agent/BUILD @@ -50,6 +50,7 @@ rust_binary( name = "oak_containers_agent", srcs = ["src/main.rs"], compile_data = [":README.md"], + visibility = ["//:default_visibility"], deps = [ ":lib", "@oak_crates_index//:anyhow", diff --git a/oak_containers/syslogd/BUILD b/oak_containers/syslogd/BUILD index e95322bfd8..cb65790bde 100644 --- a/oak_containers/syslogd/BUILD +++ b/oak_containers/syslogd/BUILD @@ -17,7 +17,7 @@ load("@rules_rust//rust:defs.bzl", "rust_binary") package( - default_visibility = ["//:internal"], + default_visibility = ["//:default_visibility"], licenses = ["notice"], ) @@ -29,7 +29,7 @@ rust_binary( tags = ["noci"], target_compatible_with = ["@platforms//:incompatible"], deps = [ - "//oak_containers_orchestrator:lib", + "//oak_containers/orchestrator:lib", "@oak_crates_index//:anyhow", "@oak_crates_index//:bitflags", "@oak_crates_index//:clap",