-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathBUILD
34 lines (34 loc) · 951 Bytes
/
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
cc_library(
name = "prometheus_cpp",
srcs = [
"lib/check_names.cc",
"lib/counter.cc",
"lib/counter_builder.cc",
"lib/exposer.cc",
"lib/gauge.cc",
"lib/gauge_builder.cc",
"lib/handler.cc",
"lib/handler.h",
"lib/histogram.cc",
"lib/histogram_builder.cc",
"lib/json_serializer.cc",
"lib/json_serializer.h",
"lib/protobuf_delimited_serializer.cc",
"lib/protobuf_delimited_serializer.h",
"lib/registry.cc",
"lib/serializer.h",
"lib/text_serializer.cc",
"lib/text_serializer.h",
],
hdrs = glob(
["include/prometheus/*.h"],
),
linkstatic = 1,
strip_include_prefix = "include",
visibility = ["//visibility:public"],
deps = [
"@civetweb//:civetweb",
"@com_google_protobuf//:protobuf",
"@prometheus_client_model//:prometheus_client_model",
],
)