From c6dea730caf06699019ebe2765ce56bcff02449d Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Thu, 25 May 2017 02:19:29 +0200 Subject: [PATCH] Realized that the interop BUILD file still uses cc_library and stuff. --- test/cpp/interop/BUILD | 24 ++++++++++++++++++------ 1 file changed, 18 insertions(+), 6 deletions(-) diff --git a/test/cpp/interop/BUILD b/test/cpp/interop/BUILD index f12395ef44f..55775654856 100644 --- a/test/cpp/interop/BUILD +++ b/test/cpp/interop/BUILD @@ -29,6 +29,8 @@ licenses(["notice"]) # 3-clause BSD +load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_test", "grpc_cc_binary") + package( features = [ "-layering_check", @@ -36,7 +38,7 @@ package( ], ) -cc_library( +grpc_cc_library( name = "server_helper_lib", srcs = [ "server_helper.cc", @@ -50,15 +52,25 @@ cc_library( ], ) -cc_binary( +grpc_cc_binary( name = "interop_server", srcs = [ - "interop_server.cc", "interop_server_bootstrap.cc", ], + language = "C++", deps = [ - ":server_helper_lib", "//:grpc++", + ], +) + +grpc_cc_library( + name = "interop_server_lib", + srcs = [ + "interop_server.cc", + ], + language = "C++", + deps = [ + ":server_helper_lib", "//src/proto/grpc/testing:empty_proto", "//src/proto/grpc/testing:messages_proto", "//src/proto/grpc/testing:test_proto", @@ -66,7 +78,7 @@ cc_binary( ], ) -cc_library( +grpc_cc_library( name = "client_helper_lib", srcs = [ "client_helper.cc", @@ -86,7 +98,7 @@ cc_library( ], ) -cc_binary( +grpc_cc_binary( name = "interop_client", srcs = [ "client.cc",