mirror of
https://github.com/google/flatbuffers.git
synced 2026-06-01 19:58:15 +00:00
* grpc callbackService support added Signed-off-by: shankeleven <shashanksati11@gmail.com> * tests: regenerate C++ gRPC golden with --grpc-callback-api (CallbackService & async_ reactor APIs); update formatting and method placement --------- Signed-off-by: shankeleven <shashanksati11@gmail.com> Co-authored-by: Wouter van Oortmerssen <aardappel@gmail.com>
44 lines
1006 B
Python
44 lines
1006 B
Python
load("@rules_cc//cc:defs.bzl", "cc_test")
|
|
|
|
cc_test(
|
|
name = "grpc_test",
|
|
srcs = [
|
|
"grpctest.cpp",
|
|
"message_builder_test.cpp",
|
|
],
|
|
copts = ["-Itests"],
|
|
# This is required.
|
|
linkstatic = 1,
|
|
deps = [
|
|
"//tests:monster_test_cc_fbs",
|
|
"//tests:monster_test_grpc",
|
|
"//tests:test_assert",
|
|
"//tests:test_builder",
|
|
"@com_github_grpc_grpc//:grpc++",
|
|
],
|
|
)
|
|
|
|
cc_test(
|
|
name = "grpc_callback_compile_test",
|
|
srcs = ["grpctest_callback_compile.cpp"],
|
|
copts = ["-Itests"],
|
|
linkstatic = 1,
|
|
deps = [
|
|
"//tests:monster_test_cc_fbs",
|
|
"//tests:monster_test_grpc",
|
|
"@com_github_grpc_grpc//:grpc++",
|
|
],
|
|
)
|
|
|
|
cc_test(
|
|
name = "grpc_callback_client_compile_test",
|
|
srcs = ["grpctest_callback_client_compile.cpp"],
|
|
copts = ["-Itests"],
|
|
linkstatic = 1,
|
|
deps = [
|
|
"//tests:monster_test_cc_fbs",
|
|
"//tests:monster_test_grpc",
|
|
"@com_github_grpc_grpc//:grpc++",
|
|
],
|
|
)
|