@@ -90,6 +90,10 @@ proto_library(
9090 name = "editions_test_proto" ,
9191 testonly = 1 ,
9292 srcs = ["editions_test.proto" ],
93+ option_deps = [
94+ ":custom_options_proto" ,
95+ ":custom_options_unlinked_proto" ,
96+ ],
9397)
9498
9599upb_c_proto_library (
@@ -192,11 +196,18 @@ cc_test(
192196 srcs = ["editions_test.cc" ],
193197 copts = UPB_DEFAULT_CPPOPTS ,
194198 deps = [
199+ ":custom_options_upb_c_proto" ,
200+ ":custom_options_upb_minitable_proto" ,
201+ ":custom_options_upb_proto_reflection" ,
195202 ":editions_test_upb_c_proto" ,
196203 ":editions_test_upb_proto_reflection" ,
197204 "//upb/base" ,
198205 "//upb/mem" ,
206+ "//upb/message" ,
207+ "//upb/mini_table" ,
208+ "//upb/port" ,
199209 "//upb/reflection" ,
210+ "//upb/reflection:descriptor_upb_proto" ,
200211 "@googletest//:gtest" ,
201212 "@googletest//:gtest_main" ,
202213 ],
@@ -305,6 +316,38 @@ proto_library(
305316 deps = [":empty_srcs_3_proto" ],
306317)
307318
319+ proto_library (
320+ name = "custom_options_unlinked_proto" ,
321+ testonly = 1 ,
322+ srcs = ["custom_options_unlinked.proto" ],
323+ deps = ["//:descriptor_proto" ],
324+ )
325+
326+ proto_library (
327+ name = "custom_options_proto" ,
328+ testonly = 1 ,
329+ srcs = ["custom_options.proto" ],
330+ deps = ["//:descriptor_proto" ],
331+ )
332+
333+ upb_c_proto_library (
334+ name = "custom_options_upb_c_proto" ,
335+ testonly = 1 ,
336+ deps = [":custom_options_proto" ],
337+ )
338+
339+ upb_minitable_proto_library (
340+ name = "custom_options_upb_minitable_proto" ,
341+ testonly = 1 ,
342+ deps = [":custom_options_proto" ],
343+ )
344+
345+ upb_proto_reflection_library (
346+ name = "custom_options_upb_proto_reflection" ,
347+ testonly = 1 ,
348+ deps = [":custom_options_proto" ],
349+ )
350+
308351upb_minitable_proto_library (
309352 name = "test_import_empty_srcs_upb_minitable_proto" ,
310353 testonly = 1 ,
0 commit comments