diff options
author | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2017-04-18 06:32:11 +0200 |
---|---|---|
committer | Nicolas "Pixel" Noble <pixel@nobis-crew.org> | 2017-04-18 19:53:10 +0200 |
commit | 15cd5ce2ed155646ced3e5eb248a84d122570bde (patch) | |
tree | 13e56efb73a0c00e5311de0e3f8687b62d7ad5ab /test/core/fling/BUILD | |
parent | 7c26eed8388c131dc5833f554414eebb6107b0cd (diff) |
Rewriting core tests BUILD files to use the build system.
Diffstat (limited to 'test/core/fling/BUILD')
-rw-r--r-- | test/core/fling/BUILD | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/test/core/fling/BUILD b/test/core/fling/BUILD index f78ad70bc1..8f17527d44 100644 --- a/test/core/fling/BUILD +++ b/test/core/fling/BUILD @@ -27,15 +27,17 @@ # (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE # OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. +load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_test", "grpc_cc_binary") + licenses(["notice"]) # 3-clause BSD load("//test/core/util:grpc_fuzzer.bzl", "grpc_fuzzer") -cc_binary( +grpc_cc_binary( name = "client", testonly = 1, srcs = ["client.c"], - copts = ["-std=c99"], + language = "C", deps = [ "//:gpr", "//:grpc", @@ -45,11 +47,11 @@ cc_binary( ], ) -cc_binary( +grpc_cc_binary( name = "server", testonly = 1, srcs = ["server.c"], - copts = ["-std=c99"], + language = "C", deps = [ "//:gpr", "//:grpc", @@ -59,7 +61,7 @@ cc_binary( ], ) -cc_test( +grpc_cc_test( name = "fling", srcs = ["fling_test.c"], data = [ @@ -75,7 +77,7 @@ cc_test( ], ) -cc_test( +grpc_cc_test( name = "fling_stream", srcs = ["fling_stream_test.c"], data = [ |