aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Yash Tibrewal <yashkt@google.com>2017-10-31 11:11:18 -0700
committerGravatar Yash Tibrewal <yashkt@google.com>2017-10-31 11:11:18 -0700
commit77532036b65bc3130c232effb882dc99c302a64a (patch)
treed3b150ca96462eac5909f5caf12c91a4542e5ebc
parent8e1a163a9716cb7c7205dd66d889772317bc79f0 (diff)
BUILD changes. test languauge to C++
-rw-r--r--Makefile14
-rw-r--r--grpc.gyp14
-rw-r--r--test/core/backoff/BUILD2
-rw-r--r--test/core/census/BUILD8
-rw-r--r--test/core/channel/BUILD6
-rw-r--r--test/core/client_channel/BUILD4
-rw-r--r--test/core/client_channel/resolvers/BUILD8
-rw-r--r--test/core/compression/BUILD6
-rw-r--r--test/core/end2end/BUILD8
-rw-r--r--test/core/end2end/fuzzers/BUILD6
-rwxr-xr-xtest/core/end2end/generate_tests.bzl4
-rw-r--r--test/core/fling/BUILD4
-rw-r--r--test/core/handshake/BUILD4
-rw-r--r--test/core/http/BUILD10
-rw-r--r--test/core/iomgr/BUILD42
-rw-r--r--test/core/json/BUILD10
-rw-r--r--test/core/nanopb/BUILD4
-rw-r--r--test/core/network_benchmarks/BUILD2
-rw-r--r--test/core/security/BUILD20
-rw-r--r--test/core/slice/BUILD16
-rw-r--r--test/core/support/BUILD36
-rw-r--r--test/core/surface/BUILD24
-rw-r--r--test/core/transport/BUILD12
-rw-r--r--test/core/transport/chttp2/BUILD16
-rw-r--r--test/core/tsi/BUILD6
-rw-r--r--test/core/util/BUILD6
-rw-r--r--tools/run_tests/generated/sources_and_headers.json23
27 files changed, 133 insertions, 182 deletions
diff --git a/Makefile b/Makefile
index af1df7e57b..0e3e9a2e77 100644
--- a/Makefile
+++ b/Makefile
@@ -8300,20 +8300,6 @@ endif
LIBBENCHMARK_SRC = \
- third_party/benchmark/src/benchmark.cc \
- third_party/benchmark/src/benchmark_register.cc \
- third_party/benchmark/src/colorprint.cc \
- third_party/benchmark/src/commandlineflags.cc \
- third_party/benchmark/src/complexity.cc \
- third_party/benchmark/src/console_reporter.cc \
- third_party/benchmark/src/counter.cc \
- third_party/benchmark/src/csv_reporter.cc \
- third_party/benchmark/src/json_reporter.cc \
- third_party/benchmark/src/reporter.cc \
- third_party/benchmark/src/sleep.cc \
- third_party/benchmark/src/string_util.cc \
- third_party/benchmark/src/sysinfo.cc \
- third_party/benchmark/src/timers.cc \
PUBLIC_HEADERS_CXX += \
diff --git a/grpc.gyp b/grpc.gyp
index ef7410d60b..2295ebc9c4 100644
--- a/grpc.gyp
+++ b/grpc.gyp
@@ -2316,20 +2316,6 @@
'dependencies': [
],
'sources': [
- 'third_party/benchmark/src/benchmark.cc',
- 'third_party/benchmark/src/benchmark_register.cc',
- 'third_party/benchmark/src/colorprint.cc',
- 'third_party/benchmark/src/commandlineflags.cc',
- 'third_party/benchmark/src/complexity.cc',
- 'third_party/benchmark/src/console_reporter.cc',
- 'third_party/benchmark/src/counter.cc',
- 'third_party/benchmark/src/csv_reporter.cc',
- 'third_party/benchmark/src/json_reporter.cc',
- 'third_party/benchmark/src/reporter.cc',
- 'third_party/benchmark/src/sleep.cc',
- 'third_party/benchmark/src/string_util.cc',
- 'third_party/benchmark/src/sysinfo.cc',
- 'third_party/benchmark/src/timers.cc',
],
},
{
diff --git a/test/core/backoff/BUILD b/test/core/backoff/BUILD
index 97a08aecd0..4cd7acf066 100644
--- a/test/core/backoff/BUILD
+++ b/test/core/backoff/BUILD
@@ -26,7 +26,7 @@ package(
grpc_cc_test(
name = "backoff_test",
srcs = ["backoff_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:grpc",
"//test/core/util:grpc_test_util",
diff --git a/test/core/census/BUILD b/test/core/census/BUILD
index 52d0b772d1..70a0e79932 100644
--- a/test/core/census/BUILD
+++ b/test/core/census/BUILD
@@ -21,7 +21,7 @@ licenses(["notice"]) # Apache v2
grpc_cc_test(
name = "context_test",
srcs = ["context_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -33,7 +33,7 @@ grpc_cc_test(
grpc_cc_test(
name = "mlog_test",
srcs = ["mlog_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -45,7 +45,7 @@ grpc_cc_test(
grpc_cc_test(
name = "resource_test",
srcs = ["resource_test.cc"],
- language = "C",
+ language = "C++",
data = [
":data/resource_empty_name.pb",
":data/resource_full.pb",
@@ -65,7 +65,7 @@ grpc_cc_test(
grpc_cc_test(
name = "trace_context_test",
srcs = ["trace_context_test.cc"],
- language = "C",
+ language = "C++",
data = [
":data/context_empty.pb",
":data/context_full.pb",
diff --git a/test/core/channel/BUILD b/test/core/channel/BUILD
index 14e45bf3c7..92f5907aac 100644
--- a/test/core/channel/BUILD
+++ b/test/core/channel/BUILD
@@ -21,7 +21,7 @@ licenses(["notice"]) # Apache v2
grpc_cc_test(
name = "channel_args_test",
srcs = ["channel_args_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -33,7 +33,7 @@ grpc_cc_test(
grpc_cc_test(
name = "channel_stack_test",
srcs = ["channel_stack_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -45,7 +45,7 @@ grpc_cc_test(
grpc_cc_test(
name = "channel_stack_builder_test",
srcs = ["channel_stack_builder_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
diff --git a/test/core/client_channel/BUILD b/test/core/client_channel/BUILD
index 75628413c5..ec72e0ea72 100644
--- a/test/core/client_channel/BUILD
+++ b/test/core/client_channel/BUILD
@@ -23,7 +23,7 @@ load("//test/core/util:grpc_fuzzer.bzl", "grpc_fuzzer")
grpc_fuzzer(
name = "uri_fuzzer_test",
srcs = ["uri_fuzzer_test.cc"],
- language = "C",
+ language = "C++",
corpus = "uri_corpus",
deps = [
"//:gpr",
@@ -35,7 +35,7 @@ grpc_fuzzer(
grpc_cc_test(
name = "lb_policies_test",
srcs = ["lb_policies_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
diff --git a/test/core/client_channel/resolvers/BUILD b/test/core/client_channel/resolvers/BUILD
index ae3ce0b257..b5269c7ef0 100644
--- a/test/core/client_channel/resolvers/BUILD
+++ b/test/core/client_channel/resolvers/BUILD
@@ -21,7 +21,7 @@ licenses(["notice"]) # Apache v2
grpc_cc_test(
name = "dns_resolver_connectivity_test",
srcs = ["dns_resolver_connectivity_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -33,7 +33,7 @@ grpc_cc_test(
grpc_cc_test(
name = "dns_resolver_test",
srcs = ["dns_resolver_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -45,7 +45,7 @@ grpc_cc_test(
grpc_cc_test(
name = "sockaddr_resolver_test",
srcs = ["sockaddr_resolver_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -57,7 +57,7 @@ grpc_cc_test(
grpc_cc_test(
name = "fake_resolver_test",
srcs = ["fake_resolver_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
diff --git a/test/core/compression/BUILD b/test/core/compression/BUILD
index 60453fc036..ee71eecfeb 100644
--- a/test/core/compression/BUILD
+++ b/test/core/compression/BUILD
@@ -21,7 +21,7 @@ licenses(["notice"]) # Apache v2
grpc_cc_test(
name = "algorithm_test",
srcs = ["algorithm_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -33,7 +33,7 @@ grpc_cc_test(
grpc_cc_test(
name = "compression_test",
srcs = ["compression_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -45,7 +45,7 @@ grpc_cc_test(
grpc_cc_test(
name = "message_compress_test",
srcs = ["message_compress_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
diff --git a/test/core/end2end/BUILD b/test/core/end2end/BUILD
index 831ba7611d..f8281bfe6f 100644
--- a/test/core/end2end/BUILD
+++ b/test/core/end2end/BUILD
@@ -24,7 +24,7 @@ grpc_cc_library(
name = "cq_verifier",
srcs = ["cq_verifier.cc"],
hdrs = ["cq_verifier.h"],
- language = "C",
+ language = "C++",
visibility = ["//test:__subpackages__"],
deps = [
"//:gpr",
@@ -42,7 +42,7 @@ grpc_cc_library(
"data/test_root_cert.cc",
],
hdrs = ["data/ssl_test_data.h"],
- language = "C",
+ language = "C++",
visibility = ["//test:__subpackages__"],
)
@@ -51,7 +51,7 @@ grpc_cc_library(
name = "http_proxy",
srcs = ["fixtures/http_proxy_fixture.cc"],
hdrs = ["fixtures/http_proxy_fixture.h"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -63,7 +63,7 @@ grpc_cc_library(
name = "proxy",
srcs = ["fixtures/proxy.cc"],
hdrs = ["fixtures/proxy.h"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
diff --git a/test/core/end2end/fuzzers/BUILD b/test/core/end2end/fuzzers/BUILD
index 09c175e8d2..d33e2b0ff4 100644
--- a/test/core/end2end/fuzzers/BUILD
+++ b/test/core/end2end/fuzzers/BUILD
@@ -23,7 +23,7 @@ load("//test/core/util:grpc_fuzzer.bzl", "grpc_fuzzer")
grpc_fuzzer(
name = "api_fuzzer",
srcs = ["api_fuzzer.cc"],
- language = "C",
+ language = "C++",
corpus = "api_fuzzer_corpus",
deps = [
"//:gpr",
@@ -36,7 +36,7 @@ grpc_fuzzer(
grpc_fuzzer(
name = "client_fuzzer",
srcs = ["client_fuzzer.cc"],
- language = "C",
+ language = "C++",
corpus = "client_fuzzer_corpus",
deps = [
"//:gpr",
@@ -48,7 +48,7 @@ grpc_fuzzer(
grpc_fuzzer(
name = "server_fuzzer",
srcs = ["server_fuzzer.cc"],
- language = "C",
+ language = "C++",
corpus = "server_fuzzer_corpus",
deps = [
"//:gpr",
diff --git a/test/core/end2end/generate_tests.bzl b/test/core/end2end/generate_tests.bzl
index 94f9f98a2a..b9a42bdb88 100755
--- a/test/core/end2end/generate_tests.bzl
+++ b/test/core/end2end/generate_tests.bzl
@@ -193,7 +193,7 @@ def grpc_end2end_tests():
'tests/cancel_test_helpers.h',
'end2end_tests.h'
],
- language = "C",
+ language = "C++",
deps = [
':cq_verifier',
':ssl_test_data',
@@ -206,7 +206,7 @@ def grpc_end2end_tests():
grpc_cc_binary(
name = '%s_test' % f,
srcs = ['fixtures/%s.cc' % f],
- language = "C",
+ language = "C++",
deps = [
':end2end_tests',
'//test/core/util:grpc_test_util',
diff --git a/test/core/fling/BUILD b/test/core/fling/BUILD
index beacae7a75..268e94aacc 100644
--- a/test/core/fling/BUILD
+++ b/test/core/fling/BUILD
@@ -24,7 +24,7 @@ grpc_cc_binary(
name = "client",
testonly = 1,
srcs = ["client.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -38,7 +38,7 @@ grpc_cc_binary(
name = "server",
testonly = 1,
srcs = ["server.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
diff --git a/test/core/handshake/BUILD b/test/core/handshake/BUILD
index a2ac501927..aea4a27e99 100644
--- a/test/core/handshake/BUILD
+++ b/test/core/handshake/BUILD
@@ -21,7 +21,7 @@ licenses(["notice"]) # Apache v2
grpc_cc_test(
name = "client_ssl",
srcs = ["client_ssl.cc"],
- language = "C",
+ language = "C++",
data = [
"//src/core/tsi/test_creds:ca.pem",
"//src/core/tsi/test_creds:server1.key",
@@ -38,7 +38,7 @@ grpc_cc_test(
grpc_cc_test(
name = "server_ssl",
srcs = ["server_ssl.cc"],
- language = "C",
+ language = "C++",
data = [
"//src/core/tsi/test_creds:ca.pem",
"//src/core/tsi/test_creds:server1.key",
diff --git a/test/core/http/BUILD b/test/core/http/BUILD
index 4dbba73f31..a5ae6272db 100644
--- a/test/core/http/BUILD
+++ b/test/core/http/BUILD
@@ -23,7 +23,7 @@ load("//test/core/util:grpc_fuzzer.bzl", "grpc_fuzzer")
grpc_fuzzer(
name = "response_fuzzer",
srcs = ["response_fuzzer.cc"],
- language = "C",
+ language = "C++",
corpus = "response_corpus",
deps = [
"//:gpr",
@@ -35,7 +35,7 @@ grpc_fuzzer(
grpc_fuzzer(
name = "request_fuzzer",
srcs = ["request_fuzzer.cc"],
- language = "C",
+ language = "C++",
corpus = "request_corpus",
deps = [
"//:gpr",
@@ -65,7 +65,7 @@ load("//test/core/util:grpc_fuzzer.bzl", "grpc_fuzzer")
grpc_cc_test(
name = "httpcli_test",
srcs = ["httpcli_test.cc"],
- language = "C",
+ language = "C++",
data = ["test_server.py"],
deps = [
"//:gpr",
@@ -79,7 +79,7 @@ grpc_cc_test(
grpc_cc_test(
name = "httpscli_test",
srcs = ["httpscli_test.cc"],
- language = "C",
+ language = "C++",
data = ["test_server.py"],
deps = [
"//:gpr",
@@ -93,7 +93,7 @@ grpc_cc_test(
grpc_cc_test(
name = "parser_test",
srcs = ["parser_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
diff --git a/test/core/iomgr/BUILD b/test/core/iomgr/BUILD
index b4490e7a5f..41e2607646 100644
--- a/test/core/iomgr/BUILD
+++ b/test/core/iomgr/BUILD
@@ -24,7 +24,7 @@ grpc_cc_library(
name = "endpoint_tests",
srcs = ["endpoint_tests.cc"],
hdrs = ["endpoint_tests.h"],
- language = "C",
+ language = "C++",
visibility = ["//test:__subpackages__"],
deps = [
"//:gpr",
@@ -37,7 +37,7 @@ grpc_cc_library(
grpc_cc_test(
name = "combiner_test",
srcs = ["combiner_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -49,7 +49,7 @@ grpc_cc_test(
grpc_cc_test(
name = "endpoint_pair_test",
srcs = ["endpoint_pair_test.cc"],
- language = "C",
+ language = "C++",
deps = [
":endpoint_tests",
"//:gpr",
@@ -68,13 +68,13 @@ grpc_cc_test(
"//test/core/util:gpr_test_util",
"//test/core/util:grpc_test_util",
],
- language = "C",
+ language = "C++",
)
grpc_cc_test(
name = "fd_conservation_posix_test",
srcs = ["fd_conservation_posix_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -86,7 +86,7 @@ grpc_cc_test(
grpc_cc_test(
name = "fd_posix_test",
srcs = ["fd_posix_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -98,7 +98,7 @@ grpc_cc_test(
grpc_cc_test(
name = "load_file_test",
srcs = ["load_file_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -110,7 +110,7 @@ grpc_cc_test(
grpc_cc_test(
name = "pollset_set_test",
srcs = ["pollset_set_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -122,7 +122,7 @@ grpc_cc_test(
grpc_cc_test(
name = "resolve_address_posix_test",
srcs = ["resolve_address_posix_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -134,7 +134,7 @@ grpc_cc_test(
grpc_cc_test(
name = "resolve_address_test",
srcs = ["resolve_address_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -146,7 +146,7 @@ grpc_cc_test(
grpc_cc_test(
name = "resource_quota_test",
srcs = ["resource_quota_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -158,7 +158,7 @@ grpc_cc_test(
grpc_cc_test(
name = "sockaddr_utils_test",
srcs = ["sockaddr_utils_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -170,7 +170,7 @@ grpc_cc_test(
grpc_cc_test(
name = "socket_utils_test",
srcs = ["socket_utils_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -182,7 +182,7 @@ grpc_cc_test(
grpc_cc_test(
name = "tcp_client_posix_test",
srcs = ["tcp_client_posix_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -194,7 +194,7 @@ grpc_cc_test(
grpc_cc_test(
name = "tcp_posix_test",
srcs = ["tcp_posix_test.cc"],
- language = "C",
+ language = "C++",
deps = [
":endpoint_tests",
"//:gpr",
@@ -207,7 +207,7 @@ grpc_cc_test(
grpc_cc_test(
name = "tcp_server_posix_test",
srcs = ["tcp_server_posix_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -219,7 +219,7 @@ grpc_cc_test(
grpc_cc_test(
name = "time_averaged_stats_test",
srcs = ["time_averaged_stats_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -231,7 +231,7 @@ grpc_cc_test(
grpc_cc_test(
name = "timer_heap_test",
srcs = ["timer_heap_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -243,7 +243,7 @@ grpc_cc_test(
grpc_cc_test(
name = "timer_list_test",
srcs = ["timer_list_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -255,7 +255,7 @@ grpc_cc_test(
grpc_cc_test(
name = "udp_server_test",
srcs = ["udp_server_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -267,7 +267,7 @@ grpc_cc_test(
grpc_cc_test(
name = "wakeup_fd_cv_test",
srcs = ["wakeup_fd_cv_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
diff --git a/test/core/json/BUILD b/test/core/json/BUILD
index 6e92fdc069..b8b36c0652 100644
--- a/test/core/json/BUILD
+++ b/test/core/json/BUILD
@@ -23,7 +23,7 @@ load("//test/core/util:grpc_fuzzer.bzl", "grpc_fuzzer")
grpc_fuzzer(
name = "json_fuzzer",
srcs = ["fuzzer.cc"],
- language = "C",
+ language = "C++",
corpus = "corpus",
deps = [
"//:gpr",
@@ -36,7 +36,7 @@ grpc_cc_binary(
name = "json_rewrite",
testonly = 1,
srcs = ["json_rewrite.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -48,7 +48,7 @@ grpc_cc_binary(
grpc_cc_test(
name = "json_rewrite_test",
srcs = ["json_rewrite_test.cc"],
- language = "C",
+ language = "C++",
data = [
"rewrite_test_input.json",
"rewrite_test_output_condensed.json",
@@ -66,7 +66,7 @@ grpc_cc_test(
grpc_cc_test(
name = "json_stream_error_test",
srcs = ["json_stream_error_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -78,7 +78,7 @@ grpc_cc_test(
grpc_cc_test(
name = "json_test",
srcs = ["json_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
diff --git a/test/core/nanopb/BUILD b/test/core/nanopb/BUILD
index a814cd3411..1497f829ab 100644
--- a/test/core/nanopb/BUILD
+++ b/test/core/nanopb/BUILD
@@ -23,7 +23,7 @@ load("//test/core/util:grpc_fuzzer.bzl", "grpc_fuzzer")
grpc_fuzzer(
name = "fuzzer_response",
srcs = ["fuzzer_response.cc"],
- language = "C",
+ language = "C++",
corpus = "corpus_response",
deps = [
"//:gpr",
@@ -35,7 +35,7 @@ grpc_fuzzer(
grpc_fuzzer(
name = "fuzzer_serverlist",
srcs = ["fuzzer_serverlist.cc"],
- language = "C",
+ language = "C++",
corpus = "corpus_serverlist",
deps = [
"//:gpr",
diff --git a/test/core/network_benchmarks/BUILD b/test/core/network_benchmarks/BUILD
index 0db3ad7940..e1b4953608 100644
--- a/test/core/network_benchmarks/BUILD
+++ b/test/core/network_benchmarks/BUILD
@@ -23,7 +23,7 @@ licenses(["notice"]) # Apache v2
grpc_cc_binary(
name = "low_level_ping_pong",
srcs = ["low_level_ping_pong.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
diff --git a/test/core/security/BUILD b/test/core/security/BUILD
index e771465be2..7cd3ae58da 100644
--- a/test/core/security/BUILD
+++ b/test/core/security/BUILD
@@ -23,7 +23,7 @@ load("//test/core/util:grpc_fuzzer.bzl", "grpc_fuzzer")
grpc_fuzzer(
name = "ssl_server_fuzzer",
srcs = ["ssl_server_fuzzer.cc"],
- language = "C",
+ language = "C++",
corpus = "corpus",
deps = [
"//:gpr",
@@ -37,7 +37,7 @@ grpc_cc_library(
name = "oauth2_utils",
srcs = ["oauth2_utils.cc"],
hdrs = ["oauth2_utils.h"],
- language = "C",
+ language = "C++",
deps = ["//:grpc"],
visibility = ["//test/cpp:__subpackages__"],
)
@@ -45,7 +45,7 @@ grpc_cc_library(
grpc_cc_test(
name = "auth_context_test",
srcs = ["auth_context_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -57,7 +57,7 @@ grpc_cc_test(
grpc_cc_test(
name = "credentials_test",
srcs = ["credentials_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -69,7 +69,7 @@ grpc_cc_test(
grpc_cc_test(
name = "secure_endpoint_test",
srcs = ["secure_endpoint_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -82,7 +82,7 @@ grpc_cc_test(
grpc_cc_test(
name = "security_connector_test",
srcs = ["security_connector_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -94,7 +94,7 @@ grpc_cc_test(
grpc_cc_test(
name = "ssl_credentials_test",
srcs = ["ssl_credentials_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -106,7 +106,7 @@ grpc_cc_test(
grpc_cc_binary(
name = "create_jwt",
srcs = ["create_jwt.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -116,7 +116,7 @@ grpc_cc_binary(
grpc_cc_binary(
name = "fetch_oauth2",
srcs = ["fetch_oauth2.cc"],
- language = "C",
+ language = "C++",
deps = [
":oauth2_utils",
"//:gpr",
@@ -127,7 +127,7 @@ grpc_cc_binary(
grpc_cc_binary(
name = "verify_jwt",
srcs = ["verify_jwt.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
diff --git a/test/core/slice/BUILD b/test/core/slice/BUILD
index d7bcc37f6b..ba2b553e0b 100644
--- a/test/core/slice/BUILD
+++ b/test/core/slice/BUILD
@@ -23,7 +23,7 @@ load("//test/core/util:grpc_fuzzer.bzl", "grpc_fuzzer")
grpc_fuzzer(
name = "percent_encode_fuzzer",
srcs = ["percent_encode_fuzzer.cc"],
- language = "C",
+ language = "C++",
corpus = "percent_encode_corpus",
deps = [
"//:gpr",
@@ -35,7 +35,7 @@ grpc_fuzzer(
grpc_fuzzer(
name = "percent_decode_fuzzer",
srcs = ["percent_decode_fuzzer.cc"],
- language = "C",
+ language = "C++",
corpus = "percent_decode_corpus",
deps = [
"//:gpr",
@@ -47,7 +47,7 @@ grpc_fuzzer(
grpc_cc_test(
name = "percent_encoding_test",
srcs = ["percent_encoding_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -60,13 +60,13 @@ grpc_cc_test(
name = "slice_test",
srcs = ["slice_test.cc"],
deps = ["//:grpc", "//test/core/util:grpc_test_util", "//:gpr", "//test/core/util:gpr_test_util"],
- language = "C",
+ language = "C++",
)
grpc_cc_test(
name = "slice_string_helpers_test",
srcs = ["slice_string_helpers_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -79,20 +79,20 @@ grpc_cc_test(
name = "slice_buffer_test",
srcs = ["slice_buffer_test.cc"],
deps = ["//:grpc", "//test/core/util:grpc_test_util", "//:gpr", "//test/core/util:gpr_test_util"],
- language = "C",
+ language = "C++",
)
grpc_cc_test(
name = "slice_hash_table_test",
srcs = ["slice_hash_table_test.cc"],
deps = ["//:grpc", "//test/core/util:grpc_test_util", "//:gpr", "//test/core/util:gpr_test_util"],
- language = "C",
+ language = "C++",
)
grpc_cc_test(
name = "b64_test",
srcs = ["b64_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
diff --git a/test/core/support/BUILD b/test/core/support/BUILD
index c1edb7ee8a..9d042fdc9f 100644
--- a/test/core/support/BUILD
+++ b/test/core/support/BUILD
@@ -21,7 +21,7 @@ grpc_package(name = "test/core/support")
grpc_cc_test(
name = "alloc_test",
srcs = ["alloc_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//test/core/util:gpr_test_util",
@@ -31,7 +31,7 @@ grpc_cc_test(
grpc_cc_test(
name = "avl_test",
srcs = ["avl_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//test/core/util:gpr_test_util",
@@ -41,7 +41,7 @@ grpc_cc_test(
grpc_cc_test(
name = "cmdline_test",
srcs = ["cmdline_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//test/core/util:gpr_test_util",
@@ -51,7 +51,7 @@ grpc_cc_test(
grpc_cc_test(
name = "cpu_test",
srcs = ["cpu_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//test/core/util:gpr_test_util",
@@ -61,7 +61,7 @@ grpc_cc_test(
grpc_cc_test(
name = "env_test",
srcs = ["env_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//test/core/util:gpr_test_util",
@@ -71,7 +71,7 @@ grpc_cc_test(
grpc_cc_test(
name = "histogram_test",
srcs = ["histogram_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//test/core/util:gpr_test_util",
@@ -81,7 +81,7 @@ grpc_cc_test(
grpc_cc_test(
name = "host_port_test",
srcs = ["host_port_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//test/core/util:gpr_test_util",
@@ -91,7 +91,7 @@ grpc_cc_test(
grpc_cc_test(
name = "log_test",
srcs = ["log_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//test/core/util:gpr_test_util",
@@ -101,7 +101,7 @@ grpc_cc_test(
grpc_cc_test(
name = "mpscq_test",
srcs = ["mpscq_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//test/core/util:gpr_test_util",
@@ -111,7 +111,7 @@ grpc_cc_test(
grpc_cc_test(
name = "murmur_hash_test",
srcs = ["murmur_hash_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//test/core/util:gpr_test_util",
@@ -121,7 +121,7 @@ grpc_cc_test(
grpc_cc_test(
name = "stack_lockfree_test",
srcs = ["stack_lockfree_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//test/core/util:gpr_test_util",
@@ -131,7 +131,7 @@ grpc_cc_test(
grpc_cc_test(
name = "string_test",
srcs = ["string_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//test/core/util:gpr_test_util",
@@ -141,7 +141,7 @@ grpc_cc_test(
grpc_cc_test(
name = "spinlock_test",
srcs = ["spinlock_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//test/core/util:gpr_test_util",
@@ -151,7 +151,7 @@ grpc_cc_test(
grpc_cc_test(
name = "sync_test",
srcs = ["sync_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//test/core/util:gpr_test_util",
@@ -161,7 +161,7 @@ grpc_cc_test(
grpc_cc_test(
name = "thd_test",
srcs = ["thd_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//test/core/util:gpr_test_util",
@@ -171,7 +171,7 @@ grpc_cc_test(
grpc_cc_test(
name = "time_test",
srcs = ["time_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//test/core/util:gpr_test_util",
@@ -181,7 +181,7 @@ grpc_cc_test(
grpc_cc_test(
name = "tls_test",
srcs = ["tls_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//test/core/util:gpr_test_util",
@@ -191,7 +191,7 @@ grpc_cc_test(
grpc_cc_test(
name = "useful_test",
srcs = ["useful_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//test/core/util:gpr_test_util",
diff --git a/test/core/surface/BUILD b/test/core/surface/BUILD
index 3514278113..6cec7feabc 100644
--- a/test/core/surface/BUILD
+++ b/test/core/surface/BUILD
@@ -21,7 +21,7 @@ grpc_package(name = "test/core/surface")
grpc_cc_test(
name = "alarm_test",
srcs = ["alarm_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -33,7 +33,7 @@ grpc_cc_test(
grpc_cc_test(
name = "grpc_byte_buffer_reader_test",
srcs = ["byte_buffer_reader_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -45,7 +45,7 @@ grpc_cc_test(
grpc_cc_test(
name = "channel_create_test",
srcs = ["channel_create_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -57,7 +57,7 @@ grpc_cc_test(
grpc_cc_test(
name = "grpc_completion_queue_test",
srcs = ["completion_queue_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -69,7 +69,7 @@ grpc_cc_test(
grpc_cc_test(
name = "concurrent_connectivity_test",
srcs = ["concurrent_connectivity_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -81,7 +81,7 @@ grpc_cc_test(
grpc_cc_test(
name = "init_test",
srcs = ["init_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -93,7 +93,7 @@ grpc_cc_test(
grpc_cc_test(
name = "grpc_invalid_channel_args_test",
srcs = ["invalid_channel_args_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -105,7 +105,7 @@ grpc_cc_test(
grpc_cc_test(
name = "lame_client_test",
srcs = ["lame_client_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -130,7 +130,7 @@ grpc_cc_test(
grpc_cc_test(
name = "secure_channel_create_test",
srcs = ["secure_channel_create_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -142,7 +142,7 @@ grpc_cc_test(
grpc_cc_test(
name = "sequential_connectivity_test",
srcs = ["sequential_connectivity_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -155,7 +155,7 @@ grpc_cc_test(
grpc_cc_test(
name = "server_chttp2_test",
srcs = ["server_chttp2_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -167,7 +167,7 @@ grpc_cc_test(
grpc_cc_test(
name = "server_test",
srcs = ["server_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
diff --git a/test/core/transport/BUILD b/test/core/transport/BUILD
index d49731a765..b31d4ff899 100644
--- a/test/core/transport/BUILD
+++ b/test/core/transport/BUILD
@@ -36,7 +36,7 @@ grpc_cc_test(
grpc_cc_test(
name = "byte_stream_test",
srcs = ["byte_stream_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -48,7 +48,7 @@ grpc_cc_test(
grpc_cc_test(
name = "connectivity_state_test",
srcs = ["connectivity_state_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -60,7 +60,7 @@ grpc_cc_test(
grpc_cc_test(
name = "metadata_test",
srcs = ["metadata_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -87,7 +87,7 @@ grpc_cc_test(
grpc_cc_test(
name = "status_conversion_test",
srcs = ["status_conversion_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -99,7 +99,7 @@ grpc_cc_test(
grpc_cc_test(
name = "stream_owned_slice_test",
srcs = ["stream_owned_slice_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -111,7 +111,7 @@ grpc_cc_test(
grpc_cc_test(
name = "timeout_encoding_test",
srcs = ["timeout_encoding_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
diff --git a/test/core/transport/chttp2/BUILD b/test/core/transport/chttp2/BUILD
index dbb3670856..1ea7d0341d 100644
--- a/test/core/transport/chttp2/BUILD
+++ b/test/core/transport/chttp2/BUILD
@@ -33,7 +33,7 @@ grpc_fuzzer(
grpc_cc_test(
name = "alpn_test",
srcs = ["alpn_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -45,7 +45,7 @@ grpc_cc_test(
grpc_cc_test(
name = "bin_decoder_test",
srcs = ["bin_decoder_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -57,7 +57,7 @@ grpc_cc_test(
grpc_cc_test(
name = "bin_encoder_test",
srcs = ["bin_encoder_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -69,7 +69,7 @@ grpc_cc_test(
grpc_cc_test(
name = "hpack_encoder_test",
srcs = ["hpack_encoder_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -81,7 +81,7 @@ grpc_cc_test(
grpc_cc_test(
name = "hpack_parser_test",
srcs = ["hpack_parser_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -93,7 +93,7 @@ grpc_cc_test(
grpc_cc_test(
name = "hpack_table_test",
srcs = ["hpack_table_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -105,7 +105,7 @@ grpc_cc_test(
grpc_cc_test(
name = "stream_map_test",
srcs = ["stream_map_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
@@ -117,7 +117,7 @@ grpc_cc_test(
grpc_cc_test(
name = "varint_test",
srcs = ["varint_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:gpr",
"//:grpc",
diff --git a/test/core/tsi/BUILD b/test/core/tsi/BUILD
index 84878be0dc..e28c0b5f84 100644
--- a/test/core/tsi/BUILD
+++ b/test/core/tsi/BUILD
@@ -31,7 +31,7 @@ grpc_cc_library(
grpc_cc_test(
name = "fake_transport_security_test",
srcs = ["fake_transport_security_test.cc"],
- language = "C",
+ language = "C++",
deps = [
":transport_security_test_lib",
"//:grpc",
@@ -58,7 +58,7 @@ grpc_cc_test(
"//src/core/tsi/test_creds:server1.key",
"//src/core/tsi/test_creds:server1.pem",
],
- language = "C",
+ language = "C++",
deps = [
":transport_security_test_lib",
"//:grpc",
@@ -71,7 +71,7 @@ grpc_cc_test(
grpc_cc_test(
name = "transport_security_test",
srcs = ["transport_security_test.cc"],
- language = "C",
+ language = "C++",
deps = [
"//:grpc",
"//:gpr",
diff --git a/test/core/util/BUILD b/test/core/util/BUILD
index 7d8d7ded75..bc6fe9dd64 100644
--- a/test/core/util/BUILD
+++ b/test/core/util/BUILD
@@ -71,7 +71,7 @@ grpc_cc_library(
"test_tcp_server.h",
"trickle_endpoint.h",
],
- language = "C",
+ language = "C++",
deps = [
":gpr_test_util",
"//:grpc_common",
@@ -83,7 +83,7 @@ grpc_cc_library(
name = "grpc_test_util",
srcs = [],
hdrs = [],
- language = "C",
+ language = "C++",
deps = [
":grpc_test_util_base",
"//:grpc",
@@ -94,7 +94,7 @@ grpc_cc_library(
name = "grpc_test_util_unsecure",
srcs = [],
hdrs = [],
- language = "C",
+ language = "C++",
deps = [
":grpc_test_util_base",
"//:grpc_unsecure",
diff --git a/tools/run_tests/generated/sources_and_headers.json b/tools/run_tests/generated/sources_and_headers.json
index 7067fdf350..41bccc1d41 100644
--- a/tools/run_tests/generated/sources_and_headers.json
+++ b/tools/run_tests/generated/sources_and_headers.json
@@ -7450,28 +7450,7 @@
},
{
"deps": [],
- "headers": [
- "third_party/benchmark/include/benchmark/benchmark.h",
- "third_party/benchmark/include/benchmark/benchmark_api.h",
- "third_party/benchmark/include/benchmark/reporter.h",
- "third_party/benchmark/src/arraysize.h",
- "third_party/benchmark/src/benchmark_api_internal.h",
- "third_party/benchmark/src/check.h",
- "third_party/benchmark/src/colorprint.h",
- "third_party/benchmark/src/commandlineflags.h",
- "third_party/benchmark/src/complexity.h",
- "third_party/benchmark/src/counter.h",
- "third_party/benchmark/src/cycleclock.h",
- "third_party/benchmark/src/internal_macros.h",
- "third_party/benchmark/src/log.h",
- "third_party/benchmark/src/mutex.h",
- "third_party/benchmark/src/re.h",
- "third_party/benchmark/src/sleep.h",
- "third_party/benchmark/src/stat.h",
- "third_party/benchmark/src/string_util.h",
- "third_party/benchmark/src/sysinfo.h",
- "third_party/benchmark/src/timers.h"
- ],
+ "headers": [],
"is_filegroup": false,
"language": "c++",
"name": "benchmark",