-
Notifications
You must be signed in to change notification settings - Fork 40
/
BUILD.bazel
80 lines (78 loc) · 2.08 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
cc_library(
name = "dd_opentracing_cpp",
srcs = [
"src/bool.cpp",
"src/bool.h",
"src/clock.h",
"src/encoder.cpp",
"src/encoder.h",
"src/glob.cpp",
"src/glob.h",
"src/limiter.cpp",
"src/limiter.h",
"src/logger.cpp",
"src/logger.h",
"src/opentracing_external.cpp",
"src/parse_util.cpp",
"src/parse_util.h",
"src/pending_trace.cpp",
"src/pending_trace.h",
"src/sample.cpp",
"src/sample.h",
"src/sampling_mechanism.cpp",
"src/sampling_mechanism.h",
"src/sampling_priority.cpp",
"src/sampling_priority.h",
"src/span.cpp",
"src/span.h",
"src/span_buffer.cpp",
"src/span_buffer.h",
"src/span_context.cpp",
"src/span_context.h",
"src/tag_propagation.cpp",
"src/tag_propagation.h",
"src/tags.cpp",
"src/trace_data.cpp",
"src/trace_data.h",
"src/tracer.cpp",
"src/tracer.h",
"src/tracer_options.cpp",
"src/tracer_options.h",
"src/version.cpp",
"src/writer.cpp",
"src/writer.h",
],
hdrs = [
"include/datadog/version.h",
"include/datadog/opentracing.h",
"include/datadog/tags.h",
],
copts = [
"-Wall",
"-Wextra",
"-Werror",
"-Wnon-virtual-dtor",
"-Woverloaded-virtual",
"-Wold-style-cast",
"-std=c++14",
],
strip_include_prefix = "include",
visibility = ["//visibility:public"],
deps = [
"//:3rd_party_nlohmann",
"@com_github_msgpack_msgpack_c//:msgpack",
"@io_opentracing_cpp//:opentracing",
],
)
cc_library(
name = "3rd_party_nlohmann",
hdrs = ["3rd_party/include/nlohmann/json.hpp"],
strip_include_prefix = "3rd_party/include",
visibility = ["//visibility:public"],
)
cc_library(
name = "3rd_party_catch2",
hdrs = ["3rd_party/include/catch2/catch.hpp"],
strip_include_prefix = "3rd_party/include",
visibility = ["//visibility:public"],
)