mirror of
https://github.com/edgelesssys/constellation.git
synced 2025-01-23 05:41:19 -05:00
bazel: trim path to *.pb.go files embedded in go libraries
See https://github.com/bazelbuild/rules_go/issues/3581 for context.
This commit is contained in:
parent
4908b5f63c
commit
537cdbcfad
@ -12,6 +12,7 @@ proto_library(
|
||||
go_proto_library(
|
||||
name = "initproto_go_proto",
|
||||
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
|
||||
gc_goopts = ["-trimpath=$(BINDIR)=>."],
|
||||
importpath = "github.com/edgelesssys/constellation/v2/bootstrapper/initproto",
|
||||
proto = ":initproto_proto",
|
||||
visibility = ["//visibility:public"],
|
||||
|
@ -12,6 +12,7 @@ proto_library(
|
||||
go_proto_library(
|
||||
name = "service_go_proto",
|
||||
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
|
||||
gc_goopts = ["-trimpath=$(BINDIR)=>."],
|
||||
importpath = "github.com/edgelesssys/constellation/v2/debugd/service",
|
||||
proto = ":service_proto",
|
||||
visibility = ["//visibility:public"],
|
||||
|
@ -12,6 +12,7 @@ proto_library(
|
||||
go_proto_library(
|
||||
name = "recoverproto_go_proto",
|
||||
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
|
||||
gc_goopts = ["-trimpath=$(BINDIR)=>."],
|
||||
importpath = "github.com/edgelesssys/constellation/v2/disk-mapper/recoverproto",
|
||||
proto = ":recoverproto_proto",
|
||||
visibility = ["//visibility:public"],
|
||||
|
@ -12,6 +12,7 @@ proto_library(
|
||||
go_proto_library(
|
||||
name = "joinproto_go_proto",
|
||||
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
|
||||
gc_goopts = ["-trimpath=$(BINDIR)=>."],
|
||||
importpath = "github.com/edgelesssys/constellation/v2/joinservice/joinproto",
|
||||
proto = ":joinproto_proto",
|
||||
visibility = ["//visibility:public"],
|
||||
|
@ -12,6 +12,7 @@ proto_library(
|
||||
go_proto_library(
|
||||
name = "keyserviceproto_go_proto",
|
||||
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
|
||||
gc_goopts = ["-trimpath=$(BINDIR)=>."],
|
||||
importpath = "github.com/edgelesssys/constellation/v2/keyservice/keyserviceproto",
|
||||
proto = ":keyserviceproto_proto",
|
||||
visibility = ["//visibility:public"],
|
||||
|
@ -12,6 +12,7 @@ proto_library(
|
||||
go_proto_library(
|
||||
name = "upgradeproto_go_proto",
|
||||
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
|
||||
gc_goopts = ["-trimpath=$(BINDIR)=>."],
|
||||
importpath = "github.com/edgelesssys/constellation/v2/upgrade-agent/upgradeproto",
|
||||
proto = ":upgradeproto_proto",
|
||||
visibility = ["//visibility:public"],
|
||||
|
@ -12,6 +12,7 @@ proto_library(
|
||||
go_proto_library(
|
||||
name = "verifyproto_go_proto",
|
||||
compilers = ["@io_bazel_rules_go//proto:go_grpc"],
|
||||
gc_goopts = ["-trimpath=$(BINDIR)=>."],
|
||||
importpath = "github.com/edgelesssys/constellation/v2/verify/verifyproto",
|
||||
proto = ":verifyproto_proto",
|
||||
visibility = ["//visibility:public"],
|
||||
|
Loading…
Reference in New Issue
Block a user