From eb2e9a4ef78adb08d27035ba748252d8a7c68d80 Mon Sep 17 00:00:00 2001 From: Lizan Zhou Date: Tue, 13 Jun 2017 12:05:37 -0700 Subject: [PATCH] Export protobuf sources as filegroup (#77) The source files needed for descriptor generation, at https://github.com/lizan/envoy/blob/aa3aada1fa9e2557e34c1144d91bb2241da84ebf/test/proto/BUILD#L24 in lyft/envoy#1079 --- bazel/repositories.bzl | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index b1276099..d326cd98 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -7,6 +7,15 @@ def api_dependencies(): build_file_content = """ load("@protobuf_bzl//:protobuf.bzl", "cc_proto_library", "py_proto_library") +filegroup( + name = "http_api_protos_src", + srcs = [ + "google/api/annotations.proto", + "google/api/http.proto", + ], + visibility = ["//visibility:public"], +) + cc_proto_library( name = "http_api_protos", srcs = [