1load("@rules_cc//cc:defs.bzl", "cc_test") 2 3cc_test( 4 name = "grpc_test", 5 srcs = [ 6 "grpctest.cpp", 7 "message_builder_test.cpp", 8 ], 9 copts = ["-Itests"], 10 # This is required. 11 linkstatic = 1, 12 deps = [ 13 "//tests:monster_test_cc_fbs", 14 "//tests:monster_test_grpc", 15 "//tests:test_assert", 16 "//tests:test_builder", 17 "@com_github_grpc_grpc//:grpc++", 18 ], 19) 20