forked from jupp0r/prometheus-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathBUILD.bazel
More file actions
30 lines (28 loc) · 688 Bytes
/
Copy pathBUILD.bazel
File metadata and controls
30 lines (28 loc) · 688 Bytes
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
load("@rules_cc//cc:cc_library.bzl", "cc_library")
load("//bazel:export_header.bzl", "generate_dummy_export_header")
generate_dummy_export_header(
name = "export_header",
basename = "PROMETHEUS_CPP_PULL",
header = "include/prometheus/detail/pull_export.h",
)
cc_library(
name = "pull",
srcs = glob([
"src/**/*.cc",
"src/**/*.h",
]),
hdrs = glob(
["include/**/*.h"],
) + [":export_header"],
local_defines = [
"HAVE_ZLIB",
],
strip_include_prefix = "include",
visibility = ["//visibility:public"],
deps = [
"//core",
"//util",
"@civetweb//:civetserver",
"@zlib",
],
)