blob: bf13dbe114651adb3514d977329fe5289c1deca3 [file] [log] [blame]
package(default_visibility = ["//visibility:public"])
load("@io_bazel_rules_go//go:def.bzl", "go_prefix")
go_prefix("github.com/googleapis/googleapis")
load("@org_pubref_rules_protobuf//gogo:rules.bzl", "gogoslick_proto_library")
gogoslick_proto_library(
name = "google/rpc",
protos = [
"google/rpc/code.proto",
"google/rpc/error_details.proto",
"google/rpc/status.proto",
],
importmap = {
"google/protobuf/any.proto": "github.com/gogo/protobuf/types",
"google/protobuf/duration.proto": "github.com/gogo/protobuf/types",
},
imports = [
"../../external/com_github_google_protobuf/src",
],
inputs = [
"@com_github_google_protobuf//:well_known_protos",
],
deps = [
"@com_github_gogo_protobuf//types:go_default_library",
],
verbose = 0,
)
load("@org_pubref_rules_protobuf//cpp:rules.bzl", "cc_proto_library")
cc_proto_library(
name = "cc_status_proto",
protos = [
"google/rpc/status.proto",
],
imports = [
"../../external/com_github_google_protobuf/src",
],
verbose = 0,
)
filegroup(
name = "status_proto",
srcs = [ "google/rpc/status.proto" ],
)
filegroup(
name = "code_proto",
srcs = [ "google/rpc/code.proto" ],
)