forked from googleapis/gapic-generator-go
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD.bazel
94 lines (92 loc) · 3.4 KB
/
BUILD.bazel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "gengapic",
srcs = [
"client_init.go",
"custom_operation.go",
"doc_file.go",
"example.go",
"generator.go",
"gengapic.go",
"gengrpc.go",
"genrest.go",
"helpers.go",
"imports.go",
"lro.go",
"markdown.go",
"metadata.go",
"mixins.go",
"options.go",
"paging.go",
"stream.go",
"test_utils.go",
],
importpath = "github.com/googleapis/gapic-generator-go/internal/gengapic",
visibility = ["//:__subpackages__"],
deps = [
"//internal/errors",
"//internal/grpc_service_config",
"//internal/license",
"//internal/pbinfo",
"//internal/printer",
"@com_gitlab_golang_commonmark_markdown//:markdown",
"@go_googleapis//google/api:annotations_go_proto",
"@go_googleapis//google/api:serviceconfig_go_proto",
"@go_googleapis//google/cloud/location:location_go_proto",
"@go_googleapis//google/iam/v1:iam_go_proto",
"@go_googleapis//google/longrunning:longrunning_go_proto",
"@go_googleapis//google/rpc:code_go_proto",
"@in_gopkg_yaml_v2//:yaml_v2",
"@io_bazel_rules_go//proto/wkt:compiler_plugin_go_proto",
"@io_bazel_rules_go//proto/wkt:descriptor_go_proto",
"@org_golang_google_genproto//googleapis/cloud/extendedops",
"@org_golang_google_genproto//googleapis/gapic/metadata",
"@org_golang_google_protobuf//encoding/protojson",
"@org_golang_google_protobuf//proto",
"@org_golang_google_protobuf//reflect/protodesc",
"@org_golang_google_protobuf//runtime/protoiface",
],
)
go_test(
name = "gengapic_test",
srcs = [
"client_init_test.go",
"custom_operation_test.go",
"doc_file_test.go",
"example_test.go",
"gengapic_test.go",
"genrest_test.go",
"helpers_test.go",
"markdown_test.go",
"metadata_test.go",
"mixins_test.go",
"options_test.go",
"paging_test.go",
],
data = glob(["testdata/**"]),
embed = [":gengapic"],
deps = [
"//internal/grpc_service_config",
"//internal/pbinfo",
"//internal/txtdiff",
"@com_github_google_go_cmp//cmp",
"@go_googleapis//google/api:annotations_go_proto",
"@go_googleapis//google/api:serviceconfig_go_proto",
"@go_googleapis//google/longrunning:longrunning_go_proto",
"@go_googleapis//google/rpc:code_go_proto",
"@io_bazel_rules_go//proto/wkt:compiler_plugin_go_proto",
"@io_bazel_rules_go//proto/wkt:descriptor_go_proto",
"@org_golang_google_genproto//googleapis/cloud/extendedops",
"@org_golang_google_genproto//googleapis/gapic/metadata",
"@org_golang_google_protobuf//encoding/protojson",
"@org_golang_google_protobuf//proto",
"@org_golang_google_protobuf//reflect/protodesc",
"@org_golang_google_protobuf//runtime/protoiface",
"@org_golang_google_protobuf//types/descriptorpb",
"@org_golang_google_protobuf//types/known/apipb",
"@org_golang_google_protobuf//types/known/durationpb",
"@org_golang_google_protobuf//types/known/emptypb",
"@org_golang_google_protobuf//types/known/wrapperspb",
"@org_golang_google_protobuf//types/pluginpb",
],
)