Skip to content
Snippets Groups Projects
Commit d196c8ad authored by Craig Tiller's avatar Craig Tiller
Browse files

Fixes

parent 8c17c757
No related branches found
No related tags found
No related merge requests found
...@@ -34,6 +34,7 @@ cc_library( ...@@ -34,6 +34,7 @@ cc_library(
srcs = ['cq_verifier.c'], srcs = ['cq_verifier.c'],
hdrs = ['cq_verifier.h'], hdrs = ['cq_verifier.h'],
deps = ['//:gpr', '//:grpc', '//test/core/util:grpc_test_util'], deps = ['//:gpr', '//:grpc', '//test/core/util:grpc_test_util'],
copts = ['-std=c99'],
visibility = ["//test:__subpackages__"], visibility = ["//test:__subpackages__"],
) )
...@@ -41,6 +42,7 @@ cc_library( ...@@ -41,6 +42,7 @@ cc_library(
name = 'ssl_test_data', name = 'ssl_test_data',
visibility = ["//test:__subpackages__"], visibility = ["//test:__subpackages__"],
hdrs = ['data/ssl_test_data.h'], hdrs = ['data/ssl_test_data.h'],
copts = ['-std=c99'],
srcs = [ srcs = [
"data/client_certs.c", "data/client_certs.c",
"data/server1_cert.c", "data/server1_cert.c",
...@@ -53,6 +55,7 @@ cc_library( ...@@ -53,6 +55,7 @@ cc_library(
name = 'fake_resolver', name = 'fake_resolver',
hdrs = ['fake_resolver.h'], hdrs = ['fake_resolver.h'],
srcs = ['fake_resolver.c'], srcs = ['fake_resolver.c'],
copts = ['-std=c99'],
deps = ['//:gpr', '//:grpc', '//test/core/util:grpc_test_util'] deps = ['//:gpr', '//:grpc', '//test/core/util:grpc_test_util']
) )
...@@ -60,6 +63,7 @@ cc_library( ...@@ -60,6 +63,7 @@ cc_library(
name = 'http_proxy', name = 'http_proxy',
hdrs = ['fixtures/http_proxy.h'], hdrs = ['fixtures/http_proxy.h'],
srcs = ['fixtures/http_proxy.c'], srcs = ['fixtures/http_proxy.c'],
copts = ['-std=c99'],
deps = ['//:gpr', '//:grpc', '//test/core/util:grpc_test_util'] deps = ['//:gpr', '//:grpc', '//test/core/util:grpc_test_util']
) )
...@@ -67,6 +71,7 @@ cc_library( ...@@ -67,6 +71,7 @@ cc_library(
name = 'proxy', name = 'proxy',
hdrs = ['fixtures/proxy.h'], hdrs = ['fixtures/proxy.h'],
srcs = ['fixtures/proxy.c'], srcs = ['fixtures/proxy.c'],
copts = ['-std=c99'],
deps = ['//:gpr', '//:grpc', '//test/core/util:grpc_test_util'] deps = ['//:gpr', '//:grpc', '//test/core/util:grpc_test_util']
) )
......
...@@ -158,6 +158,7 @@ def grpc_end2end_tests(): ...@@ -158,6 +158,7 @@ def grpc_end2end_tests():
'tests/cancel_test_helpers.h', 'tests/cancel_test_helpers.h',
'end2end_tests.h' 'end2end_tests.h'
], ],
copts = ['-std=c99'],
deps = [ deps = [
':cq_verifier', ':cq_verifier',
':ssl_test_data', ':ssl_test_data',
...@@ -175,6 +176,7 @@ def grpc_end2end_tests(): ...@@ -175,6 +176,7 @@ def grpc_end2end_tests():
native.cc_library( native.cc_library(
name = '%s_test_lib' % f, name = '%s_test_lib' % f,
srcs = ['fixtures/%s.c' % f], srcs = ['fixtures/%s.c' % f],
copts = ['-std=c99'],
deps = [':end2end_tests'] deps = [':end2end_tests']
) )
for t, topt in END2END_TESTS.items(): for t, topt in END2END_TESTS.items():
...@@ -183,5 +185,5 @@ def grpc_end2end_tests(): ...@@ -183,5 +185,5 @@ def grpc_end2end_tests():
native.cc_test( native.cc_test(
name = '%s_test@%s' % (f, t), name = '%s_test@%s' % (f, t),
args = [t], args = [t],
deps = [':%s_test_lib' % f] deps = [':%s_test_lib' % f],
) )
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment