Jan Tattermusch | 7897ae9 | 2017-06-07 22:57:36 +0200 | [diff] [blame^] | 1 | # Copyright 2017 gRPC authors. |
David Garcia Quintas | eb4c47e | 2017-02-17 15:41:20 -0800 | [diff] [blame] | 2 | # |
Jan Tattermusch | 7897ae9 | 2017-06-07 22:57:36 +0200 | [diff] [blame^] | 3 | # Licensed under the Apache License, Version 2.0 (the "License"); |
| 4 | # you may not use this file except in compliance with the License. |
| 5 | # You may obtain a copy of the License at |
David Garcia Quintas | eb4c47e | 2017-02-17 15:41:20 -0800 | [diff] [blame] | 6 | # |
Jan Tattermusch | 7897ae9 | 2017-06-07 22:57:36 +0200 | [diff] [blame^] | 7 | # http://www.apache.org/licenses/LICENSE-2.0 |
David Garcia Quintas | eb4c47e | 2017-02-17 15:41:20 -0800 | [diff] [blame] | 8 | # |
Jan Tattermusch | 7897ae9 | 2017-06-07 22:57:36 +0200 | [diff] [blame^] | 9 | # Unless required by applicable law or agreed to in writing, software |
| 10 | # distributed under the License is distributed on an "AS IS" BASIS, |
| 11 | # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. |
| 12 | # See the License for the specific language governing permissions and |
| 13 | # limitations under the License. |
David Garcia Quintas | eb4c47e | 2017-02-17 15:41:20 -0800 | [diff] [blame] | 14 | |
| 15 | licenses(["notice"]) # 3-clause BSD |
| 16 | |
Nicolas "Pixel" Noble | 7c26eed | 2017-04-13 01:40:54 +0200 | [diff] [blame] | 17 | load("//bazel:grpc_build_system.bzl", "grpc_cc_test") |
| 18 | |
| 19 | grpc_cc_test( |
David Garcia Quintas | eb4c47e | 2017-02-17 15:41:20 -0800 | [diff] [blame] | 20 | name = "codegen_test_full", |
| 21 | srcs = ["codegen_test_full.cc"], |
| 22 | deps = [ |
| 23 | "//:grpc++", |
David Garcia Quintas | eb4c47e | 2017-02-17 15:41:20 -0800 | [diff] [blame] | 24 | "//test/core/util:gpr_test_util", |
| 25 | ], |
Nicolas "Pixel" Noble | 7c26eed | 2017-04-13 01:40:54 +0200 | [diff] [blame] | 26 | external_deps = [ |
| 27 | "gtest", |
| 28 | ], |
David Garcia Quintas | eb4c47e | 2017-02-17 15:41:20 -0800 | [diff] [blame] | 29 | ) |
| 30 | |
Nicolas "Pixel" Noble | 7c26eed | 2017-04-13 01:40:54 +0200 | [diff] [blame] | 31 | grpc_cc_test( |
David Garcia Quintas | eb4c47e | 2017-02-17 15:41:20 -0800 | [diff] [blame] | 32 | name = "codegen_test_minimal", |
| 33 | srcs = ["codegen_test_minimal.cc"], |
| 34 | deps = [ |
| 35 | "//:grpc++", |
David Garcia Quintas | eb4c47e | 2017-02-17 15:41:20 -0800 | [diff] [blame] | 36 | "//test/core/util:gpr_test_util", |
| 37 | ], |
Nicolas "Pixel" Noble | 7c26eed | 2017-04-13 01:40:54 +0200 | [diff] [blame] | 38 | external_deps = [ |
| 39 | "gtest", |
| 40 | ], |
David Garcia Quintas | eb4c47e | 2017-02-17 15:41:20 -0800 | [diff] [blame] | 41 | ) |
| 42 | |
Nicolas "Pixel" Noble | 7c26eed | 2017-04-13 01:40:54 +0200 | [diff] [blame] | 43 | grpc_cc_test( |
David Garcia Quintas | eb4c47e | 2017-02-17 15:41:20 -0800 | [diff] [blame] | 44 | name = "proto_utils_test", |
| 45 | srcs = ["proto_utils_test.cc"], |
| 46 | deps = [ |
| 47 | "//:grpc++", |
David Garcia Quintas | eb4c47e | 2017-02-17 15:41:20 -0800 | [diff] [blame] | 48 | "//test/core/util:gpr_test_util", |
| 49 | ], |
Nicolas "Pixel" Noble | 7c26eed | 2017-04-13 01:40:54 +0200 | [diff] [blame] | 50 | external_deps = [ |
| 51 | "gtest", |
| 52 | ], |
David Garcia Quintas | eb4c47e | 2017-02-17 15:41:20 -0800 | [diff] [blame] | 53 | ) |
David Garcia Quintas | e854357 | 2017-02-21 10:44:02 -0800 | [diff] [blame] | 54 | |
Nicolas "Pixel" Noble | 7c26eed | 2017-04-13 01:40:54 +0200 | [diff] [blame] | 55 | grpc_cc_test( |
David Garcia Quintas | e854357 | 2017-02-21 10:44:02 -0800 | [diff] [blame] | 56 | name = "golden_file_test", |
| 57 | srcs = ["golden_file_test.cc"], |
Mahak Mukhi | 443a75d | 2017-04-14 15:33:55 -0700 | [diff] [blame] | 58 | args = ["--generated_file_path=$(GENDIR)/src/proto/grpc/testing/"], |
David Garcia Quintas | e854357 | 2017-02-21 10:44:02 -0800 | [diff] [blame] | 59 | data = [ |
| 60 | ":compiler_test_golden", |
| 61 | "//src/proto/grpc/testing:_compiler_test_proto_grpc_codegen", |
| 62 | ], |
| 63 | deps = [ |
| 64 | "//:grpc++", |
David Garcia Quintas | e854357 | 2017-02-21 10:44:02 -0800 | [diff] [blame] | 65 | "//src/proto/grpc/testing:compiler_test_proto", |
| 66 | "//test/core/util:gpr_test_util", |
| 67 | ], |
Nicolas "Pixel" Noble | 7c26eed | 2017-04-13 01:40:54 +0200 | [diff] [blame] | 68 | external_deps = [ |
| 69 | "gtest", |
| 70 | "gflags", |
| 71 | ], |
David Garcia Quintas | e854357 | 2017-02-21 10:44:02 -0800 | [diff] [blame] | 72 | ) |