-
Notifications
You must be signed in to change notification settings - Fork 88
/
BUILD
89 lines (87 loc) · 3.08 KB
/
BUILD
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
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "buildbuddy_server",
srcs = ["buildbuddy_server.go"],
importpath = "github.com/buildbuddy-io/buildbuddy/server/buildbuddy_server",
visibility = ["//visibility:public"],
deps = [
"//proto:api_key_go_proto",
"//proto:auditlog_go_proto",
"//proto:bazel_config_go_proto",
"//proto:cache_go_proto",
"//proto:encryption_go_proto",
"//proto:eventlog_go_proto",
"//proto:execution_stats_go_proto",
"//proto:gcp_go_proto",
"//proto:github_go_proto",
"//proto:group_go_proto",
"//proto:invocation_go_proto",
"//proto:iprules_go_proto",
"//proto:quota_go_proto",
"//proto:repo_go_proto",
"//proto:runner_go_proto",
"//proto:scheduler_go_proto",
"//proto:search_go_proto",
"//proto:secrets_go_proto",
"//proto:stats_go_proto",
"//proto:suggestion_go_proto",
"//proto:target_go_proto",
"//proto:usage_go_proto",
"//proto:user_go_proto",
"//proto:user_id_go_proto",
"//proto:workflow_go_proto",
"//proto:zip_go_proto",
"//server/backends/chunkstore",
"//server/build_event_protocol/build_event_handler",
"//server/build_event_protocol/event_index",
"//server/capabilities_filter",
"//server/endpoint_urls/build_buddy_url",
"//server/endpoint_urls/cache_api_url",
"//server/endpoint_urls/events_api_url",
"//server/endpoint_urls/remote_exec_api_url",
"//server/environment",
"//server/eventlog",
"//server/interfaces",
"//server/real_environment",
"//server/remote_cache/directory_size",
"//server/remote_cache/scorecard",
"//server/remote_execution/config",
"//server/tables",
"//server/target",
"//server/util/authutil",
"//server/util/capabilities",
"//server/util/flagutil",
"//server/util/log",
"//server/util/perms",
"//server/util/prefix",
"//server/util/proto",
"//server/util/request_context",
"//server/util/role",
"//server/util/status",
"//server/util/subdomain",
"@org_golang_google_grpc//metadata",
"@org_golang_google_protobuf//encoding/protojson",
],
)
go_test(
name = "buildbuddy_server_test",
size = "small",
srcs = ["buildbuddy_server_test.go"],
deps = [
":buildbuddy_server",
"//proto:acl_go_proto",
"//proto:build_event_stream_go_proto",
"//proto:build_events_go_proto",
"//proto:invocation_go_proto",
"//proto:publish_build_event_go_proto",
"//proto:user_id_go_proto",
"//server/build_event_protocol/build_event_handler",
"//server/environment",
"//server/tables",
"//server/testutil/testauth",
"//server/testutil/testenv",
"@com_github_google_uuid//:uuid",
"@com_github_stretchr_testify//require",
"@org_golang_google_protobuf//types/known/anypb",
],
)