From ede86f90557330405159e58a57e9655ff663e0c0 Mon Sep 17 00:00:00 2001 From: Marco Hofstetter Date: Wed, 15 Jan 2025 09:13:02 +0100 Subject: [PATCH 1/3] bazel: move policy_id.h into network_policy_lib Signed-off-by: Marco Hofstetter --- cilium/BUILD | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/cilium/BUILD b/cilium/BUILD index 7921bf0bc..b99cf33c7 100644 --- a/cilium/BUILD +++ b/cilium/BUILD @@ -36,6 +36,7 @@ envoy_cc_library( ], hdrs = [ "network_policy.h", + "policy_id.h", ], repository = "@envoy", deps = [ @@ -86,7 +87,6 @@ envoy_cc_library( ], hdrs = [ "filter_state_cilium_policy.h", - "policy_id.h", ], repository = "@envoy", deps = [ @@ -321,7 +321,6 @@ envoy_cc_library( hdrs = [ "bpf_metadata.h", "host_map.h", - "policy_id.h", ], repository = "@envoy", deps = [ From 4b2dc6fa9fa5a7aedaf280be13add2b43ab6dfe6 Mon Sep 17 00:00:00 2001 From: Marco Hofstetter Date: Wed, 15 Jan 2025 09:17:51 +0100 Subject: [PATCH 2/3] bazel: filter_state_lib: remove unused deps Signed-off-by: Marco Hofstetter --- cilium/BUILD | 2 -- 1 file changed, 2 deletions(-) diff --git a/cilium/BUILD b/cilium/BUILD index b99cf33c7..ca80f4d2d 100644 --- a/cilium/BUILD +++ b/cilium/BUILD @@ -90,10 +90,8 @@ envoy_cc_library( ], repository = "@envoy", deps = [ - "//cilium:conntrack_lib", "//cilium:network_policy_lib", "@envoy//source/common/common:logger_lib", - "@envoy_api//envoy/config/core/v3:pkg_cc_proto", ], ) From a43cfb8fc8a64bbda9f28c2500c8c820ca9bd140 Mon Sep 17 00:00:00 2001 From: Marco Hofstetter Date: Wed, 15 Jan 2025 09:23:16 +0100 Subject: [PATCH 3/3] bazel: socket_option_lib: remove unused deps Signed-off-by: Marco Hofstetter --- cilium/BUILD | 7 ------- 1 file changed, 7 deletions(-) diff --git a/cilium/BUILD b/cilium/BUILD index ca80f4d2d..7da72c261 100644 --- a/cilium/BUILD +++ b/cilium/BUILD @@ -71,13 +71,6 @@ envoy_cc_library( "socket_option_source_address.h", ], repository = "@envoy", - deps = [ - "//cilium:conntrack_lib", - "//cilium:network_policy_lib", - "@envoy//envoy/network:listen_socket_interface", - "@envoy//source/common/common:logger_lib", - "@envoy_api//envoy/config/core/v3:pkg_cc_proto", - ], ) envoy_cc_library(