diff --git a/bazel/api_build_system.bzl b/bazel/api_build_system.bzl index c68ccbdf..4a42d40e 100644 --- a/bazel/api_build_system.bzl +++ b/bazel/api_build_system.bzl @@ -47,11 +47,11 @@ def api_go_proto_library(name, proto, deps = []): visibility = ["//visibility:public"], deps = deps + [ "@com_github_gogo_protobuf//:gogo_proto_go", - "@com_github_golang_protobuf//ptypes/duration:go_default_library", - "@com_github_golang_protobuf//ptypes/struct:go_default_library", - "@com_github_golang_protobuf//ptypes/timestamp:go_default_library", - "@com_github_golang_protobuf//ptypes/wrappers:go_default_library", - "@com_github_golang_protobuf//ptypes/any: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", "@com_lyft_protoc_gen_validate//validate:go_default_library", "@googleapis//:rpc_status_go_proto", ], @@ -65,10 +65,10 @@ def api_go_grpc_library(name, proto, deps = []): visibility = ["//visibility:public"], deps = deps + [ "@com_github_gogo_protobuf//:gogo_proto_go", - "@com_github_golang_protobuf//ptypes/duration:go_default_library", - "@com_github_golang_protobuf//ptypes/struct:go_default_library", - "@com_github_golang_protobuf//ptypes/wrappers:go_default_library", - "@com_github_golang_protobuf//ptypes/any: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:wrappers_go_proto", "@com_lyft_protoc_gen_validate//validate:go_default_library", "@googleapis//:http_api_go_proto", ], diff --git a/bazel/repositories.bzl b/bazel/repositories.bzl index 724718f7..7262f795 100644 --- a/bazel/repositories.bzl +++ b/bazel/repositories.bzl @@ -180,7 +180,7 @@ go_proto_library( proto = ":rpc_status_protos_lib", visibility = ["//visibility:public"], deps = [ - "@com_github_golang_protobuf//ptypes/any:go_default_library", + "@io_bazel_rules_go//proto/wkt:any_go_proto", ], )