mirror of https://github.com/kubernetes/kops.git
39 lines
1.2 KiB
Python
39 lines
1.2 KiB
Python
load("@io_bazel_rules_go//proto:def.bzl", "go_proto_library")
|
|
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
|
|
|
|
go_library(
|
|
name = "go_default_library",
|
|
srcs = [
|
|
"customtype.go",
|
|
"proto.pb.go",
|
|
],
|
|
importpath = "github.com/gogo/protobuf/test/custombytesnonstruct",
|
|
visibility = ["//visibility:public"],
|
|
deps = [
|
|
"//vendor/github.com/gogo/protobuf/gogoproto:go_default_library",
|
|
"//vendor/github.com/gogo/protobuf/proto:go_default_library",
|
|
],
|
|
)
|
|
|
|
go_test(
|
|
name = "go_default_test",
|
|
srcs = ["custombytesnonstruct_test.go"],
|
|
importpath = "github.com/gogo/protobuf/test/custombytesnonstruct",
|
|
library = ":go_default_library",
|
|
)
|
|
|
|
proto_library(
|
|
name = "custombytesnonstruct_proto",
|
|
srcs = ["proto.proto"],
|
|
visibility = ["//visibility:public"],
|
|
deps = ["//github.com/gogo/protobuf/gogoproto:gogoproto_proto"],
|
|
)
|
|
|
|
go_proto_library(
|
|
name = "custombytesnonstruct_go_proto",
|
|
importpath = "github.com/gogo/protobuf/test/custombytesnonstruct",
|
|
proto = ":custombytesnonstruct_proto",
|
|
visibility = ["//visibility:public"],
|
|
deps = ["//vendor/github.com/gogo/protobuf/gogoproto:go_default_library"],
|
|
)
|