Adding grpc_generate_one_off_targets target.
diff --git a/BUILD b/BUILD
index 24c5ae6..942f287 100644
--- a/BUILD
+++ b/BUILD
@@ -33,9 +33,15 @@
exports_files(["LICENSE"])
-package(default_visibility = ["//visibility:public"])
+package(
+ default_visibility = ["//visibility:public"],
+ features = [
+ "-layering_check",
+ "-parse_headers",
+ ],
+)
-load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_proto_plugin")
+load("//bazel:grpc_build_system.bzl", "grpc_cc_library", "grpc_proto_plugin", "grpc_generate_one_off_targets")
g_stands_for = "green"
@@ -1354,3 +1360,5 @@
"//src/proto/grpc/reflection/v1alpha:reflection_proto",
],
)
+
+grpc_generate_one_off_targets()
diff --git a/bazel/grpc_build_system.bzl b/bazel/grpc_build_system.bzl
index 66f6d91..b202493 100644
--- a/bazel/grpc_build_system.bzl
+++ b/bazel/grpc_build_system.bzl
@@ -97,3 +97,6 @@
copts = copts,
linkopts = ["-pthread"],
)
+
+def grpc_generate_one_off_targets():
+ pass