From 2bc5e3ac40fc1b6f7d329a1727c78e8a820d5cf6 Mon Sep 17 00:00:00 2001 From: "Nicolas \"Pixel\" Noble" Date: Tue, 15 Aug 2017 22:32:52 +0200 Subject: Moving visibility and package creation to the build system. --- test/core/bad_client/BUILD | 9 ++------- 1 file changed, 2 insertions(+), 7 deletions(-) (limited to 'test/core/bad_client') diff --git a/test/core/bad_client/BUILD b/test/core/bad_client/BUILD index 8cc9dfa77a..caf2210dca 100644 --- a/test/core/bad_client/BUILD +++ b/test/core/bad_client/BUILD @@ -12,14 +12,9 @@ # See the License for the specific language governing permissions and # limitations under the License. -load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_test", "grpc_cc_binary") +load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_test", "grpc_cc_binary", "grpc_package") -package( - features = [ - "-layering_check", - "-parse_headers", - ], -) +grpc_package(name = "bad_client") licenses(["notice"]) # Apache v2 -- cgit v1.2.3 From b98bf8c165e7dd6903d531e72e77503a86b2a5ba Mon Sep 17 00:00:00 2001 From: yang-g Date: Thu, 31 Aug 2017 09:12:51 -0700 Subject: Make package names consistent under test/core --- test/core/bad_client/BUILD | 2 +- test/core/bad_ssl/BUILD | 2 +- test/core/census/BUILD | 2 +- test/core/channel/BUILD | 2 +- test/core/client_channel/BUILD | 2 +- test/core/end2end/BUILD | 2 +- test/core/end2end/fuzzers/BUILD | 2 +- test/core/util/BUILD | 2 +- 8 files changed, 8 insertions(+), 8 deletions(-) (limited to 'test/core/bad_client') diff --git a/test/core/bad_client/BUILD b/test/core/bad_client/BUILD index caf2210dca..99593dc5f3 100644 --- a/test/core/bad_client/BUILD +++ b/test/core/bad_client/BUILD @@ -14,7 +14,7 @@ load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_test", "grpc_cc_binary", "grpc_package") -grpc_package(name = "bad_client") +grpc_package(name = "test/core/bad_client") licenses(["notice"]) # Apache v2 diff --git a/test/core/bad_ssl/BUILD b/test/core/bad_ssl/BUILD index 51210b6dd5..0ea1520213 100644 --- a/test/core/bad_ssl/BUILD +++ b/test/core/bad_ssl/BUILD @@ -14,7 +14,7 @@ load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_test", "grpc_cc_binary", "grpc_package") -grpc_package(name = "bad_ssl") +grpc_package(name = "test/core/bad_ssl") licenses(["notice"]) # Apache v2 diff --git a/test/core/census/BUILD b/test/core/census/BUILD index a22ffd1946..24fd2807d0 100644 --- a/test/core/census/BUILD +++ b/test/core/census/BUILD @@ -14,7 +14,7 @@ load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_test", "grpc_cc_binary", "grpc_package") -grpc_package(name = "census") +grpc_package(name = "test/core/census") licenses(["notice"]) # Apache v2 diff --git a/test/core/channel/BUILD b/test/core/channel/BUILD index d6b1e11cb2..ef861cc5e7 100644 --- a/test/core/channel/BUILD +++ b/test/core/channel/BUILD @@ -14,7 +14,7 @@ load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_test", "grpc_cc_binary", "grpc_package") -grpc_package(name = "core_test_channel") +grpc_package(name = "test/core/channel") licenses(["notice"]) # Apache v2 diff --git a/test/core/client_channel/BUILD b/test/core/client_channel/BUILD index 23e258b1f3..c4a93238f2 100644 --- a/test/core/client_channel/BUILD +++ b/test/core/client_channel/BUILD @@ -14,7 +14,7 @@ load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_test", "grpc_cc_binary", "grpc_package") -grpc_package(name = "core_test_client_channel") +grpc_package(name = "test/core/client_channel") licenses(["notice"]) # Apache v2 diff --git a/test/core/end2end/BUILD b/test/core/end2end/BUILD index f1ea4f5b49..49bfc43646 100644 --- a/test/core/end2end/BUILD +++ b/test/core/end2end/BUILD @@ -16,7 +16,7 @@ load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_test", "grpc_c licenses(["notice"]) # Apache v2 -grpc_package(name = "core_end2end", visibility = "private") +grpc_package(name = "test/core/end2end") load(":generate_tests.bzl", "grpc_end2end_tests") diff --git a/test/core/end2end/fuzzers/BUILD b/test/core/end2end/fuzzers/BUILD index c480131497..4ed9a70578 100644 --- a/test/core/end2end/fuzzers/BUILD +++ b/test/core/end2end/fuzzers/BUILD @@ -14,7 +14,7 @@ load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_test", "grpc_cc_binary", "grpc_package") -grpc_package(name = "core_end2end_fuzzers") +grpc_package(name = "test/core/end2end/fuzzers") licenses(["notice"]) # Apache v2 diff --git a/test/core/util/BUILD b/test/core/util/BUILD index 09c006dba8..10eefe159a 100644 --- a/test/core/util/BUILD +++ b/test/core/util/BUILD @@ -16,7 +16,7 @@ load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_cc_test", "grpc_c licenses(["notice"]) # Apache v2 -grpc_package(name = "core_test_util", visibility = "public") +grpc_package(name = "test/core/util", visibility = "public") grpc_cc_library( name = "gpr_test_util", -- cgit v1.2.3