Commit 4431790b authored by Adam Harrison's avatar Adam Harrison
Browse files

Don't depend on protoc just because some .proto files are vendored

parent 4a3f6e95
......@@ -4,3 +4,5 @@ gazelle(
name = "gazelle",
prefix = "github.com/weaveworks/kured",
)
# gazelle:proto disable_global
......@@ -8,6 +8,6 @@ go_library(
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/golang/protobuf/proto:go_default_library",
"@io_bazel_rules_go//proto/wkt:descriptor_go_proto",
"//vendor/github.com/golang/protobuf/protoc-gen-go/descriptor:go_default_library",
],
)
......@@ -11,10 +11,10 @@ go_library(
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/golang/protobuf/proto:go_default_library",
"@io_bazel_rules_go//proto/wkt:any_go_proto",
"@io_bazel_rules_go//proto/wkt:duration_go_proto",
"@io_bazel_rules_go//proto/wkt:struct_go_proto",
"@io_bazel_rules_go//proto/wkt:timestamp_go_proto",
"@io_bazel_rules_go//proto/wkt:wrappers_go_proto",
"//vendor/github.com/golang/protobuf/ptypes/any:go_default_library",
"//vendor/github.com/golang/protobuf/ptypes/duration:go_default_library",
"//vendor/github.com/golang/protobuf/ptypes/struct:go_default_library",
"//vendor/github.com/golang/protobuf/ptypes/timestamp:go_default_library",
"//vendor/github.com/golang/protobuf/ptypes/wrappers:go_default_library",
],
)
......@@ -9,6 +9,6 @@ go_library(
deps = [
"//vendor/github.com/golang/protobuf/proto:go_default_library",
"//vendor/github.com/golang/protobuf/proto/testdata:go_default_library",
"@io_bazel_rules_go//proto/wkt:any_go_proto",
"//vendor/github.com/golang/protobuf/ptypes/any:go_default_library",
],
)
......@@ -8,7 +8,7 @@ go_library(
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/golang/protobuf/proto:go_default_library",
"@io_bazel_rules_go//proto/wkt:compiler_plugin_go_proto",
"@io_bazel_rules_go//proto/wkt:descriptor_go_proto",
"//vendor/github.com/golang/protobuf/protoc-gen-go/descriptor:go_default_library",
"//vendor/github.com/golang/protobuf/protoc-gen-go/plugin:go_default_library",
],
)
......@@ -7,7 +7,7 @@ go_library(
importpath = "github.com/golang/protobuf/protoc-gen-go/grpc",
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/golang/protobuf/protoc-gen-go/descriptor:go_default_library",
"//vendor/github.com/golang/protobuf/protoc-gen-go/generator:go_default_library",
"@io_bazel_rules_go//proto/wkt:descriptor_go_proto",
],
)
......@@ -8,6 +8,6 @@ go_library(
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/golang/protobuf/proto:go_default_library",
"@io_bazel_rules_go//proto/wkt:descriptor_go_proto",
"//vendor/github.com/golang/protobuf/protoc-gen-go/descriptor:go_default_library",
],
)
......@@ -13,8 +13,8 @@ go_library(
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/golang/protobuf/proto:go_default_library",
"@io_bazel_rules_go//proto/wkt:any_go_proto",
"@io_bazel_rules_go//proto/wkt:duration_go_proto",
"@io_bazel_rules_go//proto/wkt:timestamp_go_proto",
"//vendor/github.com/golang/protobuf/ptypes/any:go_default_library",
"//vendor/github.com/golang/protobuf/ptypes/duration:go_default_library",
"//vendor/github.com/golang/protobuf/ptypes/timestamp:go_default_library",
],
)
......@@ -11,8 +11,8 @@ go_library(
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/golang/protobuf/proto:go_default_library",
"//vendor/github.com/golang/protobuf/ptypes/any:go_default_library",
"//vendor/github.com/googleapis/gnostic/compiler:go_default_library",
"//vendor/gopkg.in/yaml.v2:go_default_library",
"@io_bazel_rules_go//proto/wkt:any_go_proto",
],
)
......@@ -11,8 +11,8 @@ go_library(
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/golang/protobuf/proto:go_default_library",
"//vendor/github.com/golang/protobuf/ptypes/any:go_default_library",
"//vendor/github.com/googleapis/gnostic/compiler:go_default_library",
"//vendor/gopkg.in/yaml.v2:go_default_library",
"@io_bazel_rules_go//proto/wkt:any_go_proto",
],
)
......@@ -15,8 +15,8 @@ go_library(
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/golang/protobuf/proto:go_default_library",
"//vendor/github.com/golang/protobuf/ptypes/any:go_default_library",
"//vendor/github.com/googleapis/gnostic/extensions:go_default_library",
"//vendor/gopkg.in/yaml.v2:go_default_library",
"@io_bazel_rules_go//proto/wkt:any_go_proto",
],
)
......@@ -11,8 +11,8 @@ go_library(
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/golang/protobuf/proto:go_default_library",
"//vendor/github.com/golang/protobuf/ptypes/any:go_default_library",
"//vendor/github.com/googleapis/gnostic/compiler:go_default_library",
"//vendor/gopkg.in/yaml.v2:go_default_library",
"@io_bazel_rules_go//proto/wkt:any_go_proto",
],
)
......@@ -11,7 +11,7 @@ go_library(
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/golang/protobuf/proto:go_default_library",
"@com_github_golang_protobuf//ptypes:go_default_library_gen",
"@io_bazel_rules_go//proto/wkt:any_go_proto",
"//vendor/github.com/golang/protobuf/ptypes:go_default_library",
"//vendor/github.com/golang/protobuf/ptypes/any:go_default_library",
],
)
......@@ -11,10 +11,10 @@ go_library(
visibility = ["//visibility:public"],
deps = [
"//vendor/github.com/golang/protobuf/proto:go_default_library",
"//vendor/github.com/golang/protobuf/ptypes/any:go_default_library",
"//vendor/github.com/googleapis/gnostic/OpenAPIv2:go_default_library",
"//vendor/github.com/googleapis/gnostic/OpenAPIv3:go_default_library",
"//vendor/github.com/googleapis/gnostic/discovery:go_default_library",
"//vendor/github.com/googleapis/gnostic/surface:go_default_library",
"@io_bazel_rules_go//proto/wkt:any_go_proto",
],
)
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment