diff options
author | Craig Tiller <ctiller@google.com> | 2017-05-16 13:09:33 -0700 |
---|---|---|
committer | Craig Tiller <ctiller@google.com> | 2017-05-16 13:09:33 -0700 |
commit | a753371f05dd116df3f27a18eb6e08e1ed0c1b4f (patch) | |
tree | 7419dc13ad015fd2e2c36a975f9d1e317e5629b0 /test | |
parent | a3eac51e1e8eb9ace390d181d328de8fce009a5b (diff) |
Rework well_known_protos attr, and some other fixes
Diffstat (limited to 'test')
-rw-r--r-- | test/cpp/interop/BUILD | 18 | ||||
-rw-r--r-- | test/cpp/util/BUILD | 14 |
2 files changed, 22 insertions, 10 deletions
diff --git a/test/cpp/interop/BUILD b/test/cpp/interop/BUILD index 1a3e8d916f..04c3489adc 100644 --- a/test/cpp/interop/BUILD +++ b/test/cpp/interop/BUILD @@ -29,8 +29,11 @@ licenses(["notice"]) # 3-clause BSD -cc_library( +load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_test", "grpc_cc_binary") + +grpc_cc_library( name = "server_helper_lib", + language = "c++", srcs = [ "server_helper.cc", ], @@ -39,12 +42,15 @@ cc_library( ], deps = [ "//test/cpp/util:test_util", - "//external:gflags", + ], + external_deps = [ + "gflags", ], ) -cc_binary( +grpc_cc_binary( name = "interop_server", + language = "c++", srcs = [ "interop_server.cc", "interop_server_bootstrap.cc", @@ -59,8 +65,9 @@ cc_binary( ], ) -cc_library( +grpc_cc_library( name = "client_helper_lib", + language = "c++", srcs = [ "client_helper.cc", "interop_client.cc", @@ -79,8 +86,9 @@ cc_library( ], ) -cc_binary( +grpc_cc_binary( name = "interop_client", + language = "c++", srcs = [ "client.cc", ], diff --git a/test/cpp/util/BUILD b/test/cpp/util/BUILD index 453e9b6c0f..9e4701b179 100644 --- a/test/cpp/util/BUILD +++ b/test/cpp/util/BUILD @@ -29,7 +29,7 @@ licenses(["notice"]) # 3-clause BSD -load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_binary") +load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_binary", "grpc_cc_test") package(default_visibility = ["//visibility:public"]) @@ -141,19 +141,21 @@ grpc_cc_library( ], ) -cc_test( +grpc_cc_test( name = "error_details_test", srcs = [ "error_details_test.cc", ], deps = [ "//:grpc++_error_details", - "//external:gtest", "//src/proto/grpc/testing:echo_messages_proto", ], + external_deps = [ + "gtest", + ], ) -cc_binary( +grpc_cc_binary( name = "grpc_cli", srcs = [ "cli_call.cc", @@ -175,7 +177,9 @@ cc_binary( ], deps = [ "//:grpc++", - "//external:gflags", "//src/proto/grpc/reflection/v1alpha:reflection_proto", ], + external_deps = [ + "gflags", + ], ) |