forked from open-telemetry/opentelemetry-cpp
-
Notifications
You must be signed in to change notification settings - Fork 0
/
BUILD
70 lines (65 loc) · 1.56 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
# Copyright The OpenTelemetry Authors
# SPDX-License-Identifier: Apache-2.0
package(default_visibility = ["//visibility:public"])
cc_library(
name = "zipkin_recordable",
srcs = [
"src/recordable.cc",
],
hdrs = [
"include/opentelemetry/exporters/zipkin/recordable.h",
],
strip_include_prefix = "include",
tags = ["zipkin"],
deps = [
"//sdk/src/resource",
"//sdk/src/trace",
"@github_nlohmann_json//:json",
],
)
cc_library(
name = "zipkin_exporter",
srcs = [
"src/zipkin_exporter.cc",
"src/zipkin_exporter_factory.cc",
],
hdrs = [
"include/opentelemetry/exporters/zipkin/zipkin_exporter.h",
"include/opentelemetry/exporters/zipkin/zipkin_exporter_factory.h",
"include/opentelemetry/exporters/zipkin/zipkin_exporter_options.h",
],
copts = [
"-DCURL_STATICLIB",
],
strip_include_prefix = "include",
tags = ["zipkin"],
deps = [
":zipkin_recordable",
"//ext/src/http/client/curl:http_client_curl",
],
)
cc_test(
name = "zipkin_recordable_test",
srcs = ["test/zipkin_recordable_test.cc"],
tags = [
"test",
"zipkin",
],
deps = [
":zipkin_recordable",
"@com_google_googletest//:gtest_main",
],
)
cc_test(
name = "zipkin_exporter_test",
srcs = ["test/zipkin_exporter_test.cc"],
tags = [
"test",
"zipkin",
],
deps = [
":zipkin_exporter",
":zipkin_recordable",
"@com_google_googletest//:gtest_main",
],
)