Imported Upstream version 1.23.0
[platform/upstream/grpc.git] / test / core / gpr / BUILD
1 # Copyright 2016 gRPC authors.
2 #
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
6 #
7 #     http://www.apache.org/licenses/LICENSE-2.0
8 #
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.
14
15 load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_test", "grpc_cc_binary", "grpc_package")
16
17 licenses(["notice"])  # Apache v2
18
19 grpc_package(name = "test/core/gpr")
20
21 grpc_cc_test(
22     name = "alloc_test",
23     srcs = ["alloc_test.cc"],
24     language = "C++",
25     deps = [
26         "//:gpr",
27         "//test/core/util:grpc_test_util",
28     ],
29 )
30
31 grpc_cc_test(
32     name = "arena_test",
33     srcs = ["arena_test.cc"],
34     language = "C++",
35     deps = [
36         "//:gpr",
37         "//test/core/util:grpc_test_util",
38     ],
39 )
40
41 grpc_cc_test(
42     name = "cpu_test",
43     srcs = ["cpu_test.cc"],
44     language = "C++",
45     deps = [
46         "//:gpr",
47         "//test/core/util:grpc_test_util",
48     ],
49 )
50
51 grpc_cc_test(
52     name = "env_test",
53     srcs = ["env_test.cc"],
54     language = "C++",
55     deps = [
56         "//:gpr",
57         "//test/core/util:grpc_test_util",
58     ],
59 )
60
61 grpc_cc_test(
62     name = "log_test",
63     srcs = ["log_test.cc"],
64     language = "C++",
65     deps = [
66         "//:gpr",
67         "//test/core/util:grpc_test_util",
68     ],
69 )
70
71 grpc_cc_test(
72     name = "mpscq_test",
73     srcs = ["mpscq_test.cc"],
74     exec_compatible_with = ["//third_party/toolchains/machine_size:large"],
75     language = "C++",
76     deps = [
77         "//:gpr",
78         "//test/core/util:grpc_test_util",
79     ],
80 )
81
82 grpc_cc_test(
83     name = "murmur_hash_test",
84     srcs = ["murmur_hash_test.cc"],
85     language = "C++",
86     deps = [
87         "//:gpr",
88         "//test/core/util:grpc_test_util",
89     ],
90 )
91
92 grpc_cc_test(
93     name = "string_test",
94     srcs = ["string_test.cc"],
95     language = "C++",
96     deps = [
97         "//:gpr",
98         "//test/core/util:grpc_test_util",
99     ],
100 )
101
102 grpc_cc_test(
103     name = "spinlock_test",
104     srcs = ["spinlock_test.cc"],
105     language = "C++",
106     deps = [
107         "//:gpr",
108         "//test/core/util:grpc_test_util",
109     ],
110 )
111
112 grpc_cc_test(
113     name = "sync_test",
114     srcs = ["sync_test.cc"],
115     language = "C++",
116     deps = [
117         "//:gpr",
118         "//test/core/util:grpc_test_util",
119     ],
120 )
121
122 grpc_cc_test(
123     name = "time_test",
124     srcs = ["time_test.cc"],
125     language = "C++",
126     deps = [
127         "//:gpr",
128         "//test/core/util:grpc_test_util",
129     ],
130 )
131
132 grpc_cc_test(
133     name = "tls_test",
134     srcs = ["tls_test.cc"],
135     language = "C++",
136     deps = [
137         "//:gpr",
138         "//test/core/util:grpc_test_util",
139     ],
140 )
141
142 grpc_cc_test(
143     name = "useful_test",
144     srcs = ["useful_test.cc"],
145     language = "C++",
146     deps = [
147         "//:gpr",
148         "//test/core/util:grpc_test_util",
149     ],
150 )