More Blaze fixes.

pull/13171/head
Joshua Haberman 6 years ago
parent 7913bc678a
commit 9b07311c7c
  1. 15
      BUILD
  2. 6
      CMakeLists.txt

15
BUILD

@ -87,6 +87,7 @@ cc_library(
visibility = ["//visibility:public"],
deps = [
":descriptor_upbproto",
":table",
":upb",
],
)
@ -150,6 +151,7 @@ cc_library(
],
copts = COPTS,
deps = [
":descriptor_upbproto",
":handlers",
":table",
":upb",
@ -180,7 +182,11 @@ cc_library(
hdrs = [
"upb/bindings/stdc++/string.h",
],
deps = [":upb"],
deps = [
":descriptor_upbproto",
":handlers",
":upb",
],
)
# upb compiler #################################################################
@ -229,6 +235,7 @@ cc_library(
"tests/upb_test.h",
],
copts = CPPOPTS,
deps = [":handlers"],
)
cc_test(
@ -359,18 +366,19 @@ cc_test(
upb_proto_library(
name = "conformance_proto_upb",
deps = ["@com_google_protobuf//:conformance_proto"],
testonly = 1,
deps = ["@com_google_protobuf//:conformance_proto"],
)
upb_proto_library(
name = "test_messages_proto3_proto_upb",
deps = ["@com_google_protobuf//:test_messages_proto3_proto"],
testonly = 1,
deps = ["@com_google_protobuf//:test_messages_proto3_proto"],
)
cc_binary(
name = "conformance_upb",
testonly = 1,
srcs = [
"tests/conformance_upb.c",
],
@ -380,7 +388,6 @@ cc_binary(
":test_messages_proto3_proto_upb",
":upb",
],
testonly = 1,
)
make_shell_script(

@ -79,6 +79,7 @@ add_library(reflection
upb/msgfactory.h)
target_link_libraries(reflection
descriptor_upbproto
table
upb)
add_library(table INTERFACE)
target_link_libraries(table INTERFACE
@ -110,6 +111,7 @@ add_library(upb_pb
upb/pb/encoder.h
upb/pb/textprinter.h)
target_link_libraries(upb_pb
descriptor_upbproto
handlers
table
upb)
@ -123,10 +125,14 @@ target_link_libraries(upb_json
upb_pb)
add_library(upb_cc_bindings INTERFACE)
target_link_libraries(upb_cc_bindings INTERFACE
descriptor_upbproto
handlers
upb)
add_library(upb_test
tests/testmain.cc
tests/test_util.h
tests/upb_test.h)
target_link_libraries(upb_test
handlers)

Loading…
Cancel
Save