aboutsummaryrefslogtreecommitdiffhomepage
path: root/test/cpp
diff options
context:
space:
mode:
authorGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2017-05-19 00:38:10 +0200
committerGravatar Nicolas "Pixel" Noble <pixel@nobis-crew.org>2017-05-19 01:53:56 +0200
commitaf6c83f9e141aa1ae32398f1f9b1f152a248a8f0 (patch)
tree8df2a59e1c97577160b555fc0e54a2d3d52cba4d /test/cpp
parent3f8b3977bd22e5d01c287dd70dcb6aefbea5b503 (diff)
Adding dummy layering check option.
Diffstat (limited to 'test/cpp')
-rw-r--r--test/cpp/codegen/BUILD7
-rw-r--r--test/cpp/common/BUILD7
-rw-r--r--test/cpp/end2end/BUILD8
-rw-r--r--test/cpp/interop/BUILD7
-rw-r--r--test/cpp/microbenchmarks/BUILD7
-rw-r--r--test/cpp/qps/BUILD7
-rw-r--r--test/cpp/util/BUILD8
7 files changed, 49 insertions, 2 deletions
diff --git a/test/cpp/codegen/BUILD b/test/cpp/codegen/BUILD
index f974e63eb4..c6825afeec 100644
--- a/test/cpp/codegen/BUILD
+++ b/test/cpp/codegen/BUILD
@@ -31,6 +31,13 @@ licenses(["notice"]) # 3-clause BSD
load("//bazel:grpc_build_system.bzl", "grpc_cc_test")
+package(
+ features = [
+ "-layering_check",
+ "-parse_headers",
+ ],
+)
+
grpc_cc_test(
name = "codegen_test_full",
srcs = ["codegen_test_full.cc"],
diff --git a/test/cpp/common/BUILD b/test/cpp/common/BUILD
index c8b3e46f5f..76e3c0ff85 100644
--- a/test/cpp/common/BUILD
+++ b/test/cpp/common/BUILD
@@ -31,6 +31,13 @@ licenses(["notice"]) # 3-clause BSD
load("//bazel:grpc_build_system.bzl", "grpc_cc_test")
+package(
+ features = [
+ "-layering_check",
+ "-parse_headers",
+ ],
+)
+
grpc_cc_test(
name = "alarm_cpp_test",
srcs = ["alarm_cpp_test.cc"],
diff --git a/test/cpp/end2end/BUILD b/test/cpp/end2end/BUILD
index 9b691a83e0..459a960736 100644
--- a/test/cpp/end2end/BUILD
+++ b/test/cpp/end2end/BUILD
@@ -31,7 +31,13 @@ licenses(["notice"]) # 3-clause BSD
load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_test")
-package(default_visibility=["//visibility:public"]) # Allows external users to implement end2end tests.
+package(
+ default_visibility=["//visibility:public"], # Allows external users to implement end2end tests.
+ features = [
+ "-layering_check",
+ "-parse_headers",
+ ],
+)
grpc_cc_library(
name = "test_service_impl",
diff --git a/test/cpp/interop/BUILD b/test/cpp/interop/BUILD
index 1a3e8d916f..187addcdcd 100644
--- a/test/cpp/interop/BUILD
+++ b/test/cpp/interop/BUILD
@@ -29,6 +29,13 @@
licenses(["notice"]) # 3-clause BSD
+package(
+ features = [
+ "-layering_check",
+ "-parse_headers",
+ ],
+)
+
cc_library(
name = "server_helper_lib",
srcs = [
diff --git a/test/cpp/microbenchmarks/BUILD b/test/cpp/microbenchmarks/BUILD
index 3a968a020a..8eb813f3d5 100644
--- a/test/cpp/microbenchmarks/BUILD
+++ b/test/cpp/microbenchmarks/BUILD
@@ -31,6 +31,13 @@ licenses(["notice"]) # 3-clause BSD
load("//bazel:grpc_build_system.bzl", "grpc_cc_test", "grpc_cc_library")
+package(
+ features = [
+ "-layering_check",
+ "-parse_headers",
+ ],
+)
+
grpc_cc_test(
name = "noop-benchmark",
srcs = ["noop-benchmark.cc"],
diff --git a/test/cpp/qps/BUILD b/test/cpp/qps/BUILD
index c6a1fd2fce..389ed7ba7d 100644
--- a/test/cpp/qps/BUILD
+++ b/test/cpp/qps/BUILD
@@ -31,6 +31,13 @@ licenses(["notice"]) # 3-clause BSD
load("//bazel:grpc_build_system.bzl", "grpc_cc_test", "grpc_cc_library", "grpc_cc_binary")
+package(
+ features = [
+ "-layering_check",
+ "-parse_headers",
+ ],
+)
+
grpc_cc_library(
name = "parse_json",
srcs = ["parse_json.cc"],
diff --git a/test/cpp/util/BUILD b/test/cpp/util/BUILD
index 453e9b6c0f..b77eb60ee9 100644
--- a/test/cpp/util/BUILD
+++ b/test/cpp/util/BUILD
@@ -31,7 +31,13 @@ licenses(["notice"]) # 3-clause BSD
load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_binary")
-package(default_visibility = ["//visibility:public"])
+package(
+ default_visibility = ["//visibility:public"],
+ features = [
+ "-layering_check",
+ "-parse_headers",
+ ],
+)
# The following builds a shared-object to confirm that grpc++_unsecure
# builds properly. Build-only is sufficient here