Merge pull request #518 from fowles/main

Fix missing build deps
pull/13171/head
Matt Fowles Kulukundis 3 years ago committed by GitHub
commit 0a927a7697
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 4
      BUILD
  2. 3
      cmake/CMakeLists.txt
  3. 17
      upb/util/BUILD

@ -77,7 +77,7 @@ cc_library(
"upb/port_def.inc", "upb/port_def.inc",
"upb/port_undef.inc", "upb/port_undef.inc",
], ],
visibility = ["//tests:__pkg__"], visibility = ["//:__subpackages__"],
) )
cc_library( cc_library(
@ -200,6 +200,7 @@ cc_library(
deps = [ deps = [
":port", ":port",
":reflection", ":reflection",
":table",
], ],
) )
@ -232,6 +233,7 @@ cc_test(
":empty_upbdefs_proto", ":empty_upbdefs_proto",
":test_messages_proto3_proto_upb", ":test_messages_proto3_proto_upb",
":test_upb_proto", ":test_upb_proto",
":upb",
"@com_google_googletest//:gtest_main", "@com_google_googletest//:gtest_main",
], ],
) )

@ -116,7 +116,8 @@ add_library(textformat
../upb/text_encode.h) ../upb/text_encode.h)
target_link_libraries(textformat target_link_libraries(textformat
port port
reflection) reflection
table)
add_library(json add_library(json
../upb/json_decode.c ../upb/json_decode.c
../upb/json_encode.c ../upb/json_encode.c

@ -13,7 +13,10 @@ cc_library(
srcs = ["def_to_proto.c"], srcs = ["def_to_proto.c"],
hdrs = ["def_to_proto.h"], hdrs = ["def_to_proto.h"],
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = ["//:reflection"], deps = [
"//:port",
"//:reflection",
],
) )
proto_library( proto_library(
@ -57,7 +60,10 @@ cc_library(
srcs = ["required_fields.c"], srcs = ["required_fields.c"],
hdrs = ["required_fields.h"], hdrs = ["required_fields.h"],
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = ["//:reflection"], deps = [
"//:port",
"//:reflection",
],
) )
proto_library( proto_library(
@ -83,6 +89,8 @@ cc_test(
":required_fields_test_upb_proto", ":required_fields_test_upb_proto",
":required_fields_test_upb_proto_reflection", ":required_fields_test_upb_proto_reflection",
"//:json", "//:json",
"//:reflection",
"//:upb",
"@com_google_absl//absl/strings", "@com_google_absl//absl/strings",
"@com_google_googletest//:gtest_main", "@com_google_googletest//:gtest_main",
], ],
@ -95,7 +103,10 @@ cc_library(
srcs = ["compare.c"], srcs = ["compare.c"],
hdrs = ["compare.h"], hdrs = ["compare.h"],
visibility = ["//visibility:public"], visibility = ["//visibility:public"],
deps = ["//:reflection"], deps = [
"//:port",
"//:reflection",
],
) )
cc_test( cc_test(

Loading…
Cancel
Save