aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/proto
diff options
context:
space:
mode:
authorGravatar Craig Tiller <ctiller@google.com>2017-09-06 09:42:20 -0700
committerGravatar Craig Tiller <ctiller@google.com>2017-09-06 09:42:20 -0700
commite1101cf09925d23b491c895e2bcf4bae01857504 (patch)
tree9960323572a29433661878db297f58592ddb84b5 /src/proto
parentf4e5802c2ea37ff20d38ff0565befde19db28f1e (diff)
Update Bazel for new systems
Diffstat (limited to 'src/proto')
-rw-r--r--src/proto/grpc/core/BUILD24
-rw-r--r--src/proto/grpc/testing/BUILD3
2 files changed, 27 insertions, 0 deletions
diff --git a/src/proto/grpc/core/BUILD b/src/proto/grpc/core/BUILD
new file mode 100644
index 0000000000..46de9fae18
--- /dev/null
+++ b/src/proto/grpc/core/BUILD
@@ -0,0 +1,24 @@
+# Copyright 2017 gRPC authors.
+#
+# Licensed under the Apache License, Version 2.0 (the "License");
+# you may not use this file except in compliance with the License.
+# You may obtain a copy of the License at
+#
+# http://www.apache.org/licenses/LICENSE-2.0
+#
+# Unless required by applicable law or agreed to in writing, software
+# distributed under the License is distributed on an "AS IS" BASIS,
+# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
+# See the License for the specific language governing permissions and
+# limitations under the License.
+
+licenses(["notice"]) # Apache v2
+
+load("//bazel:grpc_build_system.bzl", "grpc_proto_library", "grpc_package")
+
+grpc_package(name = "core", visibility = "public")
+
+grpc_proto_library(
+ name = "stats_proto",
+ srcs = ["stats.proto"],
+)
diff --git a/src/proto/grpc/testing/BUILD b/src/proto/grpc/testing/BUILD
index 07e08117f0..36d3782262 100644
--- a/src/proto/grpc/testing/BUILD
+++ b/src/proto/grpc/testing/BUILD
@@ -84,6 +84,9 @@ grpc_proto_library(
name = "stats_proto",
srcs = ["stats.proto"],
has_services = False,
+ deps = [
+ "//src/proto/grpc/core:stats_proto",
+ ]
)
grpc_proto_library(