From a3bd5f8f5744c3485fbdb78759f1c4847eec65eb Mon Sep 17 00:00:00 2001 From: Matt Kulukundis Date: Mon, 21 Feb 2022 23:47:27 -0500 Subject: [PATCH] fix msg_test to be explicit about its deps --- BUILD | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/BUILD b/BUILD index 0bd74b41c8..aecb5ccfbb 100644 --- a/BUILD +++ b/BUILD @@ -272,7 +272,10 @@ cc_test( srcs = ["upb/msg_test.cc"], deps = [ ":json", + ":msg_test_upb_proto", ":msg_test_upb_proto_reflection", + ":reflection", + ":upb", "@com_google_googletest//:gtest_main", ], ) @@ -284,6 +287,12 @@ proto_library( deps = ["@com_google_protobuf//:test_messages_proto3_proto"], ) +upb_proto_library( + name = "msg_test_upb_proto", + testonly = 1, + deps = [":msg_test_proto"], +) + upb_proto_reflection_library( name = "msg_test_upb_proto_reflection", testonly = 1,