-
Notifications
You must be signed in to change notification settings - Fork 50
/
BUILD.bazel
113 lines (111 loc) · 4.28 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
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "gengapic",
srcs = [
"auxiliary.go",
"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",
"snippets.go",
"stream.go",
"test_utils.go",
"well_known_types.go",
],
importpath = "github.com/googleapis/gapic-generator-go/internal/gengapic",
visibility = ["//:__subpackages__"],
deps = [
"//internal/grpc_service_config",
"//internal/license",
"//internal/pbinfo",
"//internal/printer",
"//internal/snippets",
"@com_github_ghodss_yaml//:yaml",
"@com_gitlab_golang_commonmark_markdown//:markdown",
"@com_google_cloud_go_iam//apiv1/iampb",
"@com_google_cloud_go_longrunning//autogen/longrunningpb",
"@org_golang_google_genproto//googleapis/cloud/extendedops",
"@org_golang_google_genproto//googleapis/cloud/location",
"@org_golang_google_genproto//googleapis/gapic/metadata",
"@org_golang_google_genproto_googleapis_api//annotations",
"@org_golang_google_genproto_googleapis_api//serviceconfig",
"@org_golang_google_genproto_googleapis_rpc//code",
"@org_golang_google_protobuf//encoding/protojson",
"@org_golang_google_protobuf//proto",
"@org_golang_google_protobuf//reflect/protodesc",
"@org_golang_google_protobuf//reflect/protoreflect",
"@org_golang_google_protobuf//runtime/protoiface",
"@org_golang_google_protobuf//types/descriptorpb",
"@org_golang_google_protobuf//types/known/anypb",
"@org_golang_google_protobuf//types/known/durationpb",
"@org_golang_google_protobuf//types/known/emptypb",
"@org_golang_google_protobuf//types/known/fieldmaskpb",
"@org_golang_google_protobuf//types/known/structpb",
"@org_golang_google_protobuf//types/known/timestamppb",
"@org_golang_google_protobuf//types/known/typepb",
"@org_golang_google_protobuf//types/known/wrapperspb",
"@org_golang_google_protobuf//types/pluginpb",
],
)
go_test(
name = "gengapic_test",
srcs = [
"auxiliary_test.go",
"client_init_test.go",
"custom_operation_test.go",
"doc_file_test.go",
"example_test.go",
"generator_test.go",
"gengapic_test.go",
"genrest_test.go",
"helpers_test.go",
"imports_test.go",
"markdown_test.go",
"metadata_test.go",
"mixins_test.go",
"options_test.go",
"paging_test.go",
"snippets_test.go",
],
data = glob(["testdata/**"]),
embed = [":gengapic"],
deps = [
"//internal/grpc_service_config",
"//internal/pbinfo",
"//internal/snippets",
"//internal/testing/sample",
"//internal/txtdiff",
"@com_github_google_go_cmp//cmp",
"@com_google_cloud_go_longrunning//autogen/longrunningpb",
"@org_golang_google_genproto//googleapis/cloud/extendedops",
"@org_golang_google_genproto//googleapis/gapic/metadata",
"@org_golang_google_genproto_googleapis_api//annotations",
"@org_golang_google_genproto_googleapis_api//httpbody",
"@org_golang_google_genproto_googleapis_api//serviceconfig",
"@org_golang_google_genproto_googleapis_rpc//code",
"@org_golang_google_protobuf//encoding/protojson",
"@org_golang_google_protobuf//proto",
"@org_golang_google_protobuf//reflect/protodesc",
"@org_golang_google_protobuf//reflect/protoreflect",
"@org_golang_google_protobuf//runtime/protoiface",
"@org_golang_google_protobuf//testing/protocmp",
"@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",
],
)