forked from prometheus/common
-
Notifications
You must be signed in to change notification settings - Fork 5
/
BUILD.bazel
37 lines (34 loc) · 913 Bytes
/
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
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "config",
srcs = [
"config.go",
"http_config.go",
],
importpath = "github.com/prometheus/common/config",
visibility = ["//visibility:public"],
deps = [
"@com_github_mwitkow_go_conntrack//:go-conntrack",
"@in_gopkg_yaml_v2//:yaml_v2",
"@org_golang_x_net//http/httpproxy",
"@org_golang_x_net//http2",
"@org_golang_x_oauth2//:oauth2",
"@org_golang_x_oauth2//clientcredentials",
],
)
alias(
name = "go_default_library",
actual = ":config",
visibility = ["//visibility:public"],
)
go_test(
name = "config_test",
srcs = [
"config_test.go",
"http_config_test.go",
"tls_config_test.go",
],
data = glob(["testdata/**"]),
embed = [":config"],
deps = ["@in_gopkg_yaml_v2//:yaml_v2"],
)