summaryrefslogtreecommitdiff
path: root/BUILD
diff options
context:
space:
mode:
authorJoshua Haberman <jhaberman@gmail.com>2018-12-16 14:32:14 -0800
committerJoshua Haberman <jhaberman@gmail.com>2018-12-16 14:32:14 -0800
commit377871f10403c7b4e1cc6f769b9443b5197aecc8 (patch)
tree7c97aac20d9ecddf69d5a213d958c9bdfc123646 /BUILD
parent380558922b661499f4eb43b0463b5a73e5fe87b7 (diff)
Got test_decoder working!
Diffstat (limited to 'BUILD')
-rw-r--r--BUILD15
1 files changed, 15 insertions, 0 deletions
diff --git a/BUILD b/BUILD
index 9b8513d..b3f397a 100644
--- a/BUILD
+++ b/BUILD
@@ -8,6 +8,7 @@ load(
"make_shell_script",
"upb_amalgamation",
"upb_proto_library",
+ "upb_proto_reflection_library",
)
# C/C++ rules ##################################################################
@@ -167,10 +168,24 @@ cc_test(
],
)
+proto_library(
+ name = "test_decoder_proto",
+ srcs = [
+ "tests/pb/test_decoder.proto"
+ ]
+)
+
+upb_proto_reflection_library(
+ name = "test_decoder_upbproto",
+ deps = ["test_decoder_proto"],
+ upbc = ":protoc-gen-upb",
+)
+
cc_test(
name = "test_decoder",
srcs = ["tests/pb/test_decoder.cc"],
deps = [
+ ":test_decoder_upbproto",
":upb_pb",
":upb_test",
],
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback